Function at 0x669ff0
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 0x66adf8
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 0x66adee
mov ebp, dword [esp + 0xb4]
mov esi, ebp
cmp ebx, 0x40
jb 0x66a3db
cmp word [esi], 0x5a4d
jne 0x66a313
mov edi, dword [esi + 0x3c]
mov eax, ebp
lea ebp, [edi + 0xf8]
cmp ebx, ebp
jb 0x66a2c7
nop
lea ebp, [esi + edi]
mov ecx, ebx
lea ebx, [esi + edi]
cmp dword [ebp], 0x4550
jne 0x66a200
lea ebp, [esi + edi + 4]
cmp word [ebp], 0x14c
jne 0x66a136
mov ebp, dword [esi + edi + 0x38]
test ebp, 1
jne 0x66a0ea
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 0x66ade2
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 + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
jmp 0x66a443
lea eax, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x76d177]
mov dword [eax], ecx
mov dword [esp + 0xc0], 0
lea ecx, [0x7caa44]
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, [0x7347a0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x734020]
mov dword [esp + 0xa8], eax
lea eax, [0x7c9c30]
mov dword [esp + 0xac], eax
lea eax, [0x778226]
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.004a4ab0
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, [0x7347e0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x734020]
mov dword [esp + 0xa8], eax
lea eax, [0x7c9c2c]
mov dword [esp + 0xac], eax
lea eax, [0x778253]
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.004a4ab0
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, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x771c66]
mov dword [eax], ecx
mov dword [esp + 0xc0], 0
lea ecx, [0x7caa44]
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, [0x7347a0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x734020]
mov dword [esp + 0xa8], eax
lea eax, [0x7c9c28]
mov dword [esp + 0xac], eax
lea eax, [0x779167]
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.004a4ab0
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, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x771c4b]
mov dword [eax], ecx
mov dword [esp + 0xc0], 0
lea ecx, [0x7caa44]
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 + 0x28], edx
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0xb4]
mov edx, dword [esp + 0x28]
cmp edx, ebp
jge 0x66a489
jae 0x66add9
lea esi, [edx + edx*4]
lea edi, [ebx + esi*8 + 0x10]
mov edi, dword [edi]
test edi, edi
jne 0x66a46c
lea esi, [ebx + esi*8 + 0xc]
mov esi, dword [esi]
mov edi, dword [esp + 0x38]
add esi, edi
jmp 0x66a47d
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 + 0x24]
cmp edi, esi
jb 0x66a427
mov esi, edi
jmp 0x66a427
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 + 0x24]
lea eax, [eax + ebp - 1]
and eax, ebx
cmp eax, edx
jne 0x66ad8d
mov dword [esp + 0x20], edx
lea eax, [0x757000]
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, [0x66ae10]
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 0x66ad81
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.004e37b0
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 0x66a6a1
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.004e37b0
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 0x66a692
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66a63a
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x770ac8]
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.004a4ab0
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 0x66ad40
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.004e37b0
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 0x66a78f
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66a737
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x772314]
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.004a4ab0
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 0x66a834
mov esi, ebp
cmp edx, ecx
je 0x66a85b
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 [0x901e80]
mov ebx, dword [ebx + 0x3c]
add ebx, edi
test edx, edx
jne 0x66a877
mov dword [ecx], ebx
jmp 0x66a884
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.00668670
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 0x66a954
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66a8fc
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x77139d]
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.004a4ab0
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 0x66a973
mov byte [eax + 0x16], 1
jmp 0x66aa29
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00669000
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 0x66aa29
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66a9d1
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x771bc4]
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.004a4ab0
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.006694b0
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 0x66aad3
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66aa7b
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x773664]
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.004a4ab0
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.00668c50
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 0x66ab7d
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
test eax, eax
je 0x66ab25
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x7728e6]
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.004a4ab0
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.00668ba0
lea eax, [0x901ef0]
mov dword [esp], eax
call fcn.0045d680
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x8db51c]
inc ecx
mov edx, dword [0x8db518]
mov ebx, dword [0x8db520]
mov eax, dword [eax + 4]
mov ebp, dword [esp + 0x20]
add ebp, eax
cmp ebx, ecx
jae 0x66ac24
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, [0x7422e0]
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 [0x8db520], edx
mov edx, dword [0x901e80]
test edx, edx
jne 0x66ac0f
mov dword [0x8db518], eax
jmp 0x66ac1a
lea edi, [0x8db518]
call fcn.00456ac0
mov ebp, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x30]
mov dword [0x8db51c], ecx
lea ebx, [edx + ecx*8 - 8]
mov dword [ebx], eax
lea eax, [edx + ecx*8 - 4]
mov dword [eax], ebp
lea eax, [0x901ef0]
mov dword [esp], eax
call fcn.0045d710
lea eax, [0x901d58]
mov dword [esp], eax
lea eax, [0x7827a8]
mov dword [esp + 4], eax
call fcn.0045c4a0
mov eax, dword [0x8db3f0]
mov ecx, dword [0x8db3f4]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
test eax, eax
jne 0x66ad34
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00668f70
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x66ad19
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 0x66ad19
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 0x66acf3
mov eax, dword [esp + 0xc0]
mov byte [eax + 0x14], 1
jmp 0x66ad19
lea eax, [0x7caee0]
mov dword [esp + 0xc4], eax
lea eax, [0x7c9c34]
mov dword [esp + 0xc8], eax
call fcn.0042fda0
add esp, 0xb0
ret
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00669920
call fcn.0042fda0
add esp, 0xb0
ret
call fcn.0042fda0
add esp, 0xb0
ret
lea eax, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x76d67e]
mov dword [eax], ecx
lea ecx, [0x7caa44]
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, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x771cb7]
mov dword [eax], ecx
mov dword [esp + 0xc0], 0
lea ecx, [0x7caa44]
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.00669ff0