Paste #k21g4ziCQ
RAW

pow:
	push   ebp
	mov    ebp,esp
	sub    esp,0x10
	mov    eax,DWORD PTR [ebp+0x8]
	mov    DWORD PTR [ebp-0x4],eax
	jmp    pow+0x1b
	mov    eax,DWORD PTR [ebp-0x4]
	imul   eax,DWORD PTR [ebp+0x8]
	mov    DWORD PTR [ebp-0x4],eax
	dec    DWORD PTR [ebp+0xc]
	cmp    DWORD PTR [ebp+0xc],0x0
	jg     pow+0xe
	mov    eax,DWORD PTR [ebp-0x4]
	leave  
	ret    

main:
	push   ebp
	mov    ebp,esp
	sub    esp,0x10
	push   0x2
	push   0x1
	call   pow
	add    esp,0x8
	mov    DWORD PTR [ebp-0x4],eax
	mov    eax,DWORD PTR [ebp-0x4]
	leave  
	ret