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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x66ae18
sub esp, 0xb0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov ebx, dword [esp + 0xb8]
test ebx, ebx
jbe 0x66ae0e
mov ebp, dword [esp + 0xb4]
mov esi, ebp
cmp ebx, 0x40
jb 0x66a3fb
cmp word [esi], 0x5a4d
jne 0x66a333
mov edi, dword [esi + 0x3c]
mov eax, ebp
lea ebp, [edi + 0xf8]
cmp ebx, ebp
jb 0x66a2e7
nop
lea ebp, [esi + edi]
mov ecx, ebx
lea ebx, [esi + edi]
cmp dword [ebp], 0x4550
jne 0x66a220
lea ebp, [esi + edi + 4]
cmp word [ebp], 0x14c
jne 0x66a156
mov ebp, dword [esi + edi + 0x38]
test ebp, 1
jne 0x66a10a
mov dword [esp + 0x38], ebp
mov edx, ebx
movzx ebp, word [esi + edi + 0x14]
lea ebx, [ebp + ebx + 0x18]
test byte [ebx], al
nop
movzx ebp, word [esi + edi + 6]
cmp ebp, 0xffff
ja 0x66ae02
mov dword [esp + 0x34], edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x66a463
lea eax, [0x73caa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x76ced7]
mov dword [eax], ecx
mov dword [esp + 0xc0], 0
lea ecx, [0x7ca6cc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
call fcn.0042fda0
add esp, 0xb0
ret
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
movzx eax, word [esi + edi + 4]
mov word [esp], ax
call fcn.00408f20
mov eax, dword [esp + 4]
lea ecx, [0x734720]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x733f60]
mov dword [esp + 0xa8], eax
lea eax, [0x7c9980]
mov dword [esp + 0xac], eax
lea eax, [0x777f86]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
lea eax, [esp + 0xa0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
call fcn.0042fda0
add esp, 0xb0
ret
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov eax, dword [esi + edi]
mov dword [esp], eax
call fcn.00408f90
mov eax, dword [esp + 4]
lea ecx, [0x734760]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x733f60]
mov dword [esp + 0xa8], eax
lea eax, [0x7c997c]
mov dword [esp + 0xac], eax
lea eax, [0x777fb3]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
lea eax, [esp + 0xa0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
call fcn.0042fda0
add esp, 0xb0
ret
lea eax, [0x73caa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x7719c6]
mov dword [eax], ecx
mov dword [esp + 0xc0], 0
lea ecx, [0x7ca6cc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
call fcn.0042fda0
add esp, 0xb0
ret
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
movzx eax, word [esi]
mov word [esp], ax
call fcn.00408f20
mov eax, dword [esp + 4]
lea ecx, [0x734720]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x733f60]
mov dword [esp + 0xa8], eax
lea eax, [0x7c9978]
mov dword [esp + 0xac], eax
lea eax, [0x778ec7]
mov dword [esp], eax
mov dword [esp + 4], 0x31
lea eax, [esp + 0xa0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
call fcn.0042fda0
add esp, 0xb0
ret
lea eax, [0x73caa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x7719ab]
mov dword [eax], ecx
mov dword [esp + 0xc0], 0
lea ecx, [0x7ca6cc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
call fcn.0042fda0
add esp, 0xb0
ret
inc edx
mov edi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0xb4]
mov edx, dword [esp + 0x24]
cmp edx, ebp
jge 0x66a4a9
jae 0x66adf9
lea esi, [edx + edx*4]
lea edi, [ebx + esi*8 + 0x10]
mov edi, dword [edi]
test edi, edi
jne 0x66a48c
lea esi, [ebx + esi*8 + 0xc]
mov esi, dword [esi]
mov edi, dword [esp + 0x38]
add esi, edi
jmp 0x66a49d
lea ebx, [ebx + esi*8 + 0xc]
mov ebx, dword [ebx]
lea esi, [ebx + edi]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
cmp edi, esi
jb 0x66a447
mov esi, edi
jmp 0x66a447
mov dword [esp + 0x30], eax
nop
mov edx, dword [esi + edi + 0x50]
mov ebx, dword [esp + 0x38]
lea edx, [edx + ebx - 1]
mov ebp, ebx
neg ebx
and edx, ebx
mov eax, dword [esp + 0x28]
lea eax, [eax + ebp - 1]
and eax, ebx
cmp eax, edx
jne 0x66adad
mov dword [esp + 0x20], edx
lea eax, [0x756ca0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb4]
movzx edx, word [ecx + eax + 0x16]
test dx, 0x2000
setne dl
mov ebx, dword [esp + 4]
mov byte [ebx + 0x15], dl
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea edx, [0x66ae30]
mov dword [esp + 0x94], edx
lea edx, [esp + 0xc4]
mov dword [esp + 0x98], edx
lea edx, [esp + 0xc0]
mov dword [esp + 0x9c], edx
lea edx, [esp + 0x94]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x44]
mov dword [esp], edx
call fcn.0042f7d0
test eax, eax
jne 0x66ada1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb4]
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.004e37f0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb4]
lea edx, [ecx + eax + 0x34]
mov dword [esp + 0x68], edx
test ebp, ebp
je 0x66a6c1
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.004e37f0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ebx
test ebp, ebp
je 0x66a6b2
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66a65a
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x770828]
mov dword [esp], eax
mov dword [esp + 4], 0x19
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
call fcn.0042fda0
add esp, 0xb0
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov ebx, dword [ecx + eax + 0x54]
mov ebp, dword [esp + 0xb8]
cmp ebp, ebx
jb 0x66ad60
mov eax, dword [esp + 0xc0]
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.004e37f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
test ebx, ebx
je 0x66a7af
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66a757
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x772074]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
call fcn.0042fda0
add esp, 0xb0
ret
nop
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb4]
mov edx, dword [ebx + edx + 0x54]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
nop
nop
mov ebp, ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
nop
nop
mov ecx, dword [esp + 0x30]
mov esi, ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x7c]
mov eax, esi
mov esi, dword [esp + 0x8c]
mov edi, ebp
mov ebp, dword [esp + 0x80]
cmp ebp, esi
jg 0x66a854
mov esi, ebp
cmp edx, ecx
je 0x66a87b
mov dword [esp + 0x2c], edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00457450
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc0]
test byte [ecx], al
mov edx, dword [0x900e70]
mov ebx, dword [ebx + 0x3c]
add ebx, edi
test edx, edx
jne 0x66a897
mov dword [ecx], ebx
jmp 0x66a8a4
mov edi, ecx
mov ecx, eax
mov eax, ebx
call fcn.00456ac0
mov eax, ecx
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 0x34], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
call fcn.00668690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
test edx, edx
je 0x66a974
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66a91c
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x7710fd]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
call fcn.0042fda0
add esp, 0xb0
ret
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x34]
mov edx, dword [esp + 0x68]
sub ecx, dword [edx]
test ecx, ecx
jne 0x66a993
mov byte [eax + 0x16], 1
jmp 0x66aa49
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00669020
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 8]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov byte [eax + 0x16], dl
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ebx
test ebp, ebp
je 0x66aa49
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66a9f1
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x771924]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
call fcn.0042fda0
add esp, 0xb0
ret
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.006694d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
test edx, edx
je 0x66aaf3
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66aa9b
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x7733c4]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
call fcn.0042fda0
add esp, 0xb0
ret
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00668c70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
test edx, edx
je 0x66ab9d
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66ab45
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x772646]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
call fcn.0042fda0
add esp, 0xb0
ret
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00668bc0
lea eax, [0x900ef0]
mov dword [esp], eax
call fcn.0045d680
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x8da59c]
inc ecx
mov edx, dword [0x8da598]
mov ebx, dword [0x8da5a0]
mov eax, dword [eax + 4]
mov ebp, dword [esp + 0x20]
add ebp, eax
cmp ebx, ecx
jae 0x66ac44
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x7426c0]
mov dword [esp + 0x10], eax
call fcn.00442820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [0x8da5a0], edx
mov edx, dword [0x900e70]
test edx, edx
jne 0x66ac2f
mov dword [0x8da598], eax
jmp 0x66ac3a
lea edi, [0x8da598]
call fcn.00456ac0
mov ebp, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x30]
mov dword [0x8da59c], ecx
lea ebx, [edx + ecx*8 - 8]
mov dword [ebx], eax
lea eax, [edx + ecx*8 - 4]
mov dword [eax], ebp
lea eax, [0x900ef0]
mov dword [esp], eax
call fcn.0045d710
lea eax, [0x900d28]
mov dword [esp], eax
lea eax, [0x78253c]
mov dword [esp + 4], eax
call fcn.0045c4a0
mov eax, dword [0x8da3b8]
mov ecx, dword [0x8da3bc]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
test eax, eax
jne 0x66ad54
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00668f90
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x66ad39
mov edx, dword [eax + 4]
add ecx, edx
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0xc0]
movzx ecx, byte [eax + 0x15]
test cl, cl
je 0x66ad39
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.004548f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x66ad13
mov eax, dword [esp + 0xc0]
mov byte [eax + 0x14], 1
jmp 0x66ad39
lea eax, [0x7cac80]
mov dword [esp + 0xc4], eax
lea eax, [0x7c9984]
mov dword [esp + 0xc8], eax
call fcn.0042fda0
add esp, 0xb0
ret
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00669940
call fcn.0042fda0
add esp, 0xb0
ret
call fcn.0042fda0
add esp, 0xb0
ret
lea eax, [0x73caa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x76d3de]
mov dword [eax], ecx
lea ecx, [0x7ca6cc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
call fcn.0042fda0
add esp, 0xb0
ret
call fcn.0042fda0
add esp, 0xb0
ret
lea eax, [0x73caa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x771a17]
mov dword [eax], ecx
mov dword [esp + 0xc0], 0
lea ecx, [0x7ca6cc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
call fcn.0042fda0
add esp, 0xb0
ret
mov eax, edx
mov ecx, ebp
call fcn.00456b40
mov ecx, ebp
mov edx, 0xffff
call fcn.00456b60
xor eax, eax
mov ecx, eax
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.0066a010