Function at 0x4aaf40
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xf40b4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x4abd0a
sub esp, 0xac
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov ebx, dword [esp + 0xb4]
test ebx, ebx
jbe 0x4abd00
mov eax, dword [esp + 0xb0]
mov ebp, eax
cmp ebx, 0x40
jb 0x4ab31a
cmp word [ebp], 0x5a4d
jne 0x4ab251
mov esi, dword [ebp + 0x3c]
lea edi, [esi + 0xf8]
cmp ebx, edi
jb 0x4ab205
lea edi, [ebp + esi]
nop
lea ecx, [ebp + esi]
cmp dword [edi], 0x4550
jne 0x4ab13d
lea edi, [ebp + esi + 4]
cmp word [edi], 0x14c
jne 0x4ab073
mov edi, dword [ebp + esi + 0x38]
test edi, 1
jne 0x4ab027
mov dword [esp + 0x68], ecx
movzx edx, word [ebp + esi + 0x14]
lea ecx, [edx + ecx + 0x18]
test byte [ecx], al
movzx edx, word [ebp + esi + 6]
nop
cmp edx, 0xffff
ja 0x4abcf4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x4ab37d
lea eax, [0x4bdf20]
mov dword [esp], eax
call fcn.0040b7a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x4cfa07]
mov dword [eax], ecx
mov dword [esp + 0xbc], 0
lea ecx, [0xe976a8]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
call fcn.00435900
add esp, 0xac
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
movzx eax, word [ebp + esi + 4]
mov word [esp], ax
call fcn.00409020
mov eax, dword [esp + 4]
lea ecx, [0x4baf60]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea eax, [0x4bac60]
mov dword [esp + 0xa4], eax
lea eax, [0xe97224]
mov dword [esp + 0xa8], eax
lea eax, [0x4d77c4]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call fcn.00435900
add esp, 0xac
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [ebp + esi]
mov dword [esp], eax
call fcn.00409090
mov eax, dword [esp + 4]
lea ecx, [0x4bade0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea eax, [0x4bac60]
mov dword [esp + 0xa4], eax
lea eax, [0xe97220]
mov dword [esp + 0xa8], eax
lea eax, [0x4d7797]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call fcn.00435900
add esp, 0xac
ret
lea eax, [0x4bdf20]
mov dword [esp], eax
call fcn.0040b7a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x4d3628]
mov dword [eax], ecx
mov dword [esp + 0xbc], 0
lea ecx, [0xe976a8]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
call fcn.00435900
add esp, 0xac
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
movzx eax, word [ebp]
mov word [esp], ax
call fcn.00409020
mov eax, dword [esp + 4]
lea ecx, [0x4baf60]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea eax, [0x4bac60]
mov dword [esp + 0xa4], eax
lea eax, [0xe9721c]
mov dword [esp + 0xa8], eax
lea eax, [0x4d8049]
mov dword [esp], eax
mov dword [esp + 4], 0x31
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call fcn.00435900
add esp, 0xac
ret
lea eax, [0x4bdf20]
mov dword [esp], eax
call fcn.0040b7a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x4d360d]
mov dword [eax], ecx
mov dword [esp + 0xbc], 0
lea ecx, [0xe976a8]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
call fcn.00435900
add esp, 0xac
ret
inc eax
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0x28]
cmp eax, edx
jge 0x4ab3b1
lea ebx, [eax + eax*4]
lea ebp, [ecx + ebx*8 + 0x10]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4ab39d
lea ebx, [ecx + ebx*8 + 0xc]
mov ebx, dword [ebx]
add ebx, edi
jmp 0x4ab3a5
lea ebx, [ecx + ebx*8 + 0xc]
mov ebx, dword [ebx]
add ebx, ebp
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
jb 0x4ab366
mov ebx, ebp
jmp 0x4ab366
mov eax, dword [ebp + esi + 0x50]
lea eax, [eax + edi - 1]
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
and eax, edi
mov edx, dword [esp + 0x24]
lea ecx, [edx + ecx - 1]
and ecx, edi
cmp ecx, eax
jne 0x4abca8
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], eax
lea eax, [0x4c6ba0]
mov dword [esp], eax
call fcn.0040b7a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xb0]
movzx ebx, word [edx + ecx + 0x16]
test bx, 0x2000
setne bl
mov byte [eax + 0x15], bl
mov dword [esp + 0xbc], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x4abd20]
mov dword [esp + 0x90], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x94], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00435370
test eax, eax
jne 0x4abc9c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + eax + 0x34]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x3000
mov dword [esp + 0xc], 4
call fcn.004a4d50
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb0]
lea edx, [ecx + eax + 0x34]
mov dword [esp + 0x6c], edx
test ebp, ebp
je 0x4ab5c8
mov dword [esp], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3000
mov dword [esp + 0xc], 4
call fcn.004a4d50
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
test ebp, ebp
je 0x4ab5b9
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4ab55a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x4d2951]
mov dword [esp], eax
mov dword [esp + 4], 0x19
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call fcn.00435900
add esp, 0xac
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov ebx, dword [ecx + eax + 0x54]
mov ebp, dword [esp + 0xb4]
cmp ebp, ebx
jb 0x4abc5b
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call fcn.004a4d50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
test edx, edx
je 0x4ab6b6
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4ab657
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x4d3bf7]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call fcn.00435900
add esp, 0xac
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + eax + 0x54]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, ebx
nop
nop
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov ebx, dword [esp + 0x2c]
mov ebp, ebx
nop
nop
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x88]
cmp ebx, eax
jg 0x4ab742
mov eax, ebx
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x84]
cmp esi, ebx
je 0x4ab774
mov dword [esp + 0x34], edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00463460
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov ebx, dword [0xf40c80]
mov ecx, dword [ecx + 0x3c]
add ecx, edx
test ebx, ebx
je 0x4ab798
call fcn.00462bd0
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
call fcn.004a9600
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
test edx, edx
je 0x4ab86a
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4ab80b
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x4d3028]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call fcn.00435900
add esp, 0xac
ret
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x34]
mov edx, dword [esp + 0x6c]
sub ecx, dword [edx]
test ecx, ecx
jne 0x4ab889
mov byte [eax + 0x16], 1
jmp 0x4ab93f
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004a9f60
mov eax, dword [esp + 0xbc]
movzx ecx, byte [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov byte [eax + 0x16], cl
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
test ebp, ebp
je 0x4ab93f
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4ab8e0
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x4d365e]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call fcn.00435900
add esp, 0xac
ret
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004aa410
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
test edx, edx
je 0x4ab9e9
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4ab98a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x4d4c2a]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call fcn.00435900
add esp, 0xac
ret
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004a9bd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
test edx, edx
je 0x4aba93
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4aba34
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x4d4138]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call fcn.00435900
add esp, 0xac
ret
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004a9b20
lea eax, [0xf40ce0]
mov dword [esp], eax
call fcn.00469c10
mov eax, dword [0xf1bce0]
mov ecx, dword [0xf1bcdc]
inc ecx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 4]
mov ebx, dword [0xf1bcd8]
mov ebp, dword [esp + 0x20]
add ebp, edx
cmp eax, ecx
jae 0x4abb3f
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebp
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4bf600]
mov dword [esp + 0x10], eax
call fcn.0044a590
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0xf1bce0], eax
mov eax, dword [0xf40c80]
test eax, eax
je 0x4abb2d
call fcn.00462bd0
mov dword [edi], ecx
mov eax, dword [0xf1bcd8]
mov dword [edi + 4], eax
mov dword [0xf1bcd8], ecx
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov ecx, edx
mov edx, dword [esp + 0x34]
mov dword [0xf1bcdc], ecx
lea eax, [ebx + ecx*8 - 8]
mov dword [eax], edx
lea eax, [ebx + ecx*8 - 4]
mov dword [eax], ebp
lea eax, [0xf40ce0]
mov dword [esp], eax
call fcn.00469ca0
lea eax, [0xf40be8]
mov dword [esp], eax
lea eax, [0xe7dbd8]
mov dword [esp + 4], eax
call fcn.00468a80
mov eax, dword [0xf1bc48]
mov ecx, dword [0xf1bc4c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
test eax, eax
jne 0x4abc4f
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004a9ed0
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x4abc34
mov edx, dword [eax + 4]
add ecx, edx
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0xbc]
movzx ecx, byte [eax + 0x15]
test cl, cl
je 0x4abc34
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
call fcn.00460bf0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4abc0e
mov eax, dword [esp + 0xbc]
mov byte [eax + 0x14], 1
jmp 0x4abc34
lea eax, [0xe97694]
mov dword [esp + 0xc0], eax
lea eax, [0xe97228]
mov dword [esp + 0xc4], eax
call fcn.00435900
add esp, 0xac
ret
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004aa870
call fcn.00435900
add esp, 0xac
ret
call fcn.00435900
add esp, 0xac
ret
lea eax, [0x4bdf20]
mov dword [esp], eax
call fcn.0040b7a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x4cfe6c]
mov dword [eax], ecx
lea ecx, [0xe976a8]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
call fcn.00435900
add esp, 0xac
ret
call fcn.00435900
add esp, 0xac
ret
lea eax, [0x4bdf20]
mov dword [esp], eax
call fcn.0040b7a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x4d3643]
mov dword [eax], ecx
mov dword [esp + 0xbc], 0
lea ecx, [0xe976a8]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
call fcn.00435900
add esp, 0xac
ret
mov ecx, edx
mov edx, 0xffff
call fcn.00462c40
xor eax, eax
mov ecx, eax
call fcn.00462c20
nop
call fcn.004617c0
jmp fcn.004aaf40