Function at 0x6479a0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1dc
push ebx
push ebp
mov ebp, dword [esp + 0x1f4]
xor ebx, ebx
cmp dword [esp + 0x1ec], ebx
push esi
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x204]
push edi
jne 0x6479d1
mov edi, 0xc0000005
jmp 0x64817d
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov edi, dword [esp + 0x34]
jne 0x647a01
cmp edi, ebx
jne 0x647a01
mov edi, 0xc000011e
jmp 0x64817d
mov ecx, dword [esp + 0x200]
and ecx, 8
cmp cl, 8
jne 0x647a42
cmp ebp, ebx
je 0x647a42
mov edx, dword [ebp + 4]
cmp edx, edi
jl 0x647a42
jg 0x647a24
mov ecx, dword [ebp]
cmp ecx, eax
jbe 0x647a42
lea esi, [esp + 0x208]
call fcn.00675d90
mov eax, 0xc0000040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1dc
ret 0x20
push 0x30
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x24], ebx
call dword [0x100ef7e8]
mov eax, dword [esp + 0x204]
test eax, 0x1000000
push ebx
je 0x647f19
mov edx, dword [esi]
xor ecx, ecx
push ebx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x24]
push eax
push 0x40
lea ecx, [esp + 0x1b0]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x647f0f
cmp dword [esp + 0x24], 0x40
jne 0x647f0f
cmp word [esp + 0x1a8], 0x5a4d
jne 0x647f0f
mov eax, dword [esp + 0x1e4]
mov edi, dword [esi]
push ebx
cdq
push ebx
push edx
push eax
mov eax, dword [edi + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x24]
push eax
push 0xf8
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x647f0f
cmp dword [esp + 0x24], 0xf8
jne 0x647f0f
mov ecx, dword [esp + 0xd8]
cmp ecx, ebx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x14], eax
jne 0x647b13
mov dword [esp + 0x78], ebx
jmp 0x647b19
add ecx, eax
mov dword [esp + 0x78], ecx
movzx eax, word [esp + 0x10e]
movzx ecx, word [esp + 0xb4]
movzx edx, word [esp + 0x10c]
mov ebp, dword [esp + 0x1f0]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x88], edx
mov dx, word [esp + 0xf8]
mov dword [esp + 0x84], eax
mov ax, word [esp + 0xfa]
mov dword [esp + 0x80], ecx
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x7c], ebx
mov word [esp + 0x8e], dx
mov word [esp + 0x8c], ax
cmp dword [ecx + 0xa0], ebx
je 0x647bc5
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x60]
mov edi, 1
push eax
mov ecx, esi
mov dword [esp + 0x14], edi
call edx
mov ecx, dword [ebp + 0x6c]
push edi
add ecx, 0xb0
push eax
push ecx
call dword [0x100ef7cc]
test eax, eax
je 0x647bc7
xor edi, edi
test byte [esp + 0x10], 1
je 0x647bd7
lea eax, [esp + 0x60]
call fcn.006b5660
mov eax, dword [esp + 0x100]
lea ebp, [esp + 0xa8]
push ebp
mov dword [esp + 0x24], eax
mov edx, dword [esi]
xor ecx, ecx
push 2
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esp + 0x20]
mov ecx, dword [0x100ef48c]
push ebx
push 0x8000000
push 0x40
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x204]
lea eax, [esp + 0x6c]
push eax
push ebx
or edx, 0xf
add ecx, 0x2e0
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x80], ebx
call eax
call eax
cmp edi, ebx
mov ebp, dword [0x100cf22c]
mov dword [esp + 0x2c], ebx
je 0x647c68
mov ecx, dword [esp + 0x1f0]
mov edx, dword [ecx + 0x6c]
mov eax, dword [edx + 0xb8]
cmp eax, ebx
je 0x647c68
mov dword [esp + 0x14], eax
jmp 0x647cfc
mov ecx, dword [esp + 0x20]
mov edi, dword [0x100ef48c]
push 0x40
push 0x100000
push 1
lea eax, [esp + 0x2c]
push eax
push ebx
push ecx
push ebx
lea edx, [esp + 0x30]
push edx
add edi, 0x3d0
call ebp
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
mov edi, eax
cmp edi, ebx
je 0x647cf4
cmp dword [esp + 0x14], ebx
je 0x647cec
mov edx, dword [esp + 0x20]
mov edi, dword [0x100ef48c]
push 0x40
push 0x100000
push 1
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edx
push ebx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], ebx
add edi, 0x3d0
call ebp
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, edi
call eax
call eax
mov edi, eax
cmp edi, ebx
jne 0x64814e
mov dword [esp + 0x2c], 1
mov edx, dword [esi]
push ebx
xor ecx, ecx
push ebx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x104]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp word [eax + 6], bx
movzx ecx, word [eax + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], ebx
jbe 0x647edc
mov eax, edx
add eax, 0xc
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x38]
mov edi, dword [ecx + 0x3c]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x50]
push edx
push eax
lea eax, [esp + 0x40]
call fcn.006ed740
mov edi, dword [ebp]
add edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
add esp, 8
push ecx
push edi
mov dword [esp + 0x48], edi
call dword [0x100ef7e8]
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x647dc0
mov edx, dword [esi]
lea ebx, [esp + 0x70]
push ebx
xor ecx, ecx
push 1
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x647de7
mov edx, dword [esi]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x24]
push eax
push ebx
push edi
mov ecx, esi
call edx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x50]
sub eax, dword [ebp]
mov ecx, dword [ebp + 8]
add eax, ecx
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
mov dword [esp + 0x3c], eax
jb 0x647e09
mov dword [esp + 0x3c], ecx
movzx eax, word [edx + 6]
test eax, eax
jle 0x647e6a
mov ebp, dword [esp + 0x4c]
mov ecx, edx
mov edx, dword [ecx + 0x38]
mov edi, dword [ecx + 0x3c]
mov dword [esp + 0x68], edx
add ebp, 0x14
mov dword [esp + 0x54], eax
jmp 0x647e30
mov ecx, dword [esp + 0x68]
mov ebx, dword [ebp - 4]
lea eax, [esp + 0x6c]
push eax
push ecx
mov ecx, dword [ebp]
lea eax, [esp + 0x60]
call fcn.006ed740
mov eax, dword [esp + 0x60]
add esp, 8
cmp eax, dword [esp + 0x38]
jbe 0x647e60
cmp eax, dword [esp + 0x3c]
jae 0x647e60
mov dword [esp + 0x3c], eax
add ebp, 0x28
sub dword [esp + 0x54], 1
jne 0x647e30
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
lea edi, [edx + eax]
cmp ebx, edi
jbe 0x647ebc
mov edx, dword [esi]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
push edi
mov ecx, esi
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x14]
sub eax, edx
add ecx, eax
mov eax, ebx
sub eax, edi
cmp eax, ecx
jb 0x647eac
mov eax, ecx
mov edi, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push eax
push edx
mov edx, dword [edi + 0x34]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
movzx edx, word [ecx + 6]
add dword [esp + 0x10], 0x28
add eax, 1
cmp eax, edx
mov dword [esp + 0x28], eax
jl 0x647d58
cmp dword [esp + 0x2c], 0
je 0x6480af
mov eax, dword [esp + 0x14]
mov edi, dword [0x100ef48c]
push eax
add edi, 0x460
call dword [0x100cf22c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
jmp 0x6480af
mov edi, 0xc000012f
jmp 0x64814e
mov ecx, dword [0x100ef48c]
push eax
mov eax, dword [esp + 0x200]
push 0x40
lea edx, [esp + 0x3c]
push edx
push ebx
or eax, 7
add ecx, 0x2e0
push eax
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
mov edi, eax
cmp edi, ebx
jne 0x64814e
mov edx, dword [esi]
push ebx
xor ecx, ecx
push ebx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov eax, dword [esp + 0x34]
xor edx, edx
cmp eax, ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
jl 0x64807a
mov edi, dword [esp + 0x30]
jg 0x647f94
cmp edi, ebx
jbe 0x648085
jmp 0x647f94
mov edi, dword [esp + 0x30]
mov ebp, dword [0x100ef6e0]
mov ecx, edi
sub ecx, edx
sbb eax, ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], 0
jg 0x647fba
jl 0x647fb4
cmp ecx, ebp
jae 0x647fba
sub edi, edx
mov eax, edi
jmp 0x647fbc
mov eax, ebp
mov edi, dword [0x100ef48c]
mov ebx, dword [0x100cf22c]
push 4
push 0
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
mov dword [esp + 0x30], eax
push 0
lea eax, [esp + 0x2c]
push eax
add edi, 0x3d0
call ebx
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, edi
call eax
call eax
mov edi, eax
test edi, edi
jne 0x64814e
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
mov edi, dword [0x100ef48c]
push eax
add edi, 0x460
call ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
mov edi, eax
test edi, edi
jne 0x64814e
mov edx, dword [esp + 0x40]
add edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x44]
adc ebx, eax
mov eax, dword [esp + 0x34]
cmp ebx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
jl 0x647f90
jg 0x64807a
mov edi, dword [esp + 0x30]
cmp edx, edi
jb 0x647f94
jmp 0x64807e
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x1fc]
test ebp, ebp
je 0x6480af
mov ecx, dword [ebp + 4]
cmp ecx, eax
mov edx, dword [ebp]
jl 0x6480af
jg 0x648099
cmp edx, edi
jbe 0x6480af
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x20c], 0
je 0x648136
push 0
push 1
push 1
push 0
call dword [0x100cf0cc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1f8]
add eax, 0x6000000
and eax, 0xfffffffc
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x208]
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
mov ebx, esi
call fcn.00663770
add esp, 0x14
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x1f8]
add eax, 0xe8
call fcn.006522f0
mov eax, dword [esp + 0x28]
test eax, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1f4]
mov dword [edx], ecx
je 0x64814c
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
jmp 0x64814c
mov eax, dword [esp + 0x1c]
push eax
call fcn.006ed4d0
mov ecx, dword [esp + 0x1f8]
add esp, 4
mov dword [ecx], eax
xor edi, edi
mov edx, dword [esp + 0x1c]
xor ebx, ebx
cmp edx, ebx
je 0x64817d
mov eax, dword [0x100ef48c]
cmp eax, ebx
push edx
je 0x648177
mov edx, dword [eax + 0x2b0]
lea ecx, [eax + 0x2b0]
mov eax, dword [edx + 0x24]
call eax
call eax
jmp 0x64817d
call dword [0x100cf21c]
cmp esi, ebx
je 0x648189
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1dc
ret 0x20