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

Disassembly:
sub esp, 0xb4
push esi
push edi
mov edi, dword [0x607334]
lea eax, [esp + 0x7c]
push eax
mov esi, ecx
call edi
lea ecx, [esp + 0xc]
push ecx
call edi
cmp dword [esi + 0x2ac], 0
je 0x4867e8
cmp dword [esi + 0x2b8], 0
je 0x4867e8
cmp dword [esi + 0x2bc], 0
je 0x4867e8
cmp dword [esi + 0x2c0], 0
je 0x4867e8
mov eax, dword [esi + 0x2b0]
mov edi, dword [esp + 0xc0]
cmp eax, edi
jae 0x4865d5
mov edi, eax
lea edx, [esp + 0x1c]
push 0x80
push edx
call fcn.004ffbf0
add esp, 8
test edi, edi
jbe 0x4867d8
push ebx
push ebp
xor ebp, ebp
mov dword [esp + 0x10], edi
jmp 0x486600
mov eax, dword [esi + 0x2ac]
add eax, ebp
cmp dword [eax + 0x24], 0
jne 0x4867c8
movzx ecx, word [eax]
test cx, cx
je 0x4867c8
mov edx, 0xffff
cmp cx, dx
je 0x4867c8
cmp dword [eax + 0x18], 0
je 0x48663a
mov ebx, dword [esi + 0x2c0]
jmp 0x486640
mov ebx, dword [esi + 0x2bc]
mov ecx, ebx
call fcn.0053c4c0
mov ecx, eax
call fcn.004ab9f0
mov edi, eax
mov eax, dword [esi + 0x2ac]
movzx ecx, byte [eax + ebp + 6]
movzx edx, byte [eax + ebp + 5]
add eax, ebp
movzx eax, byte [eax + 4]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0053c460
movzx ecx, byte [esi + 0x75a]
movzx edx, byte [esi + 0x759]
movzx eax, byte [esi + 0x758]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0053c480
mov ecx, dword [esi + 0x2ac]
mov edx, dword [ecx + ebp + 0x18]
lea eax, [ecx + ebp]
push 0
push edx
mov edx, dword [eax + 0x14]
movzx eax, word [eax]
lea ecx, [esi + 0x748]
push ecx
sub edx, 2
push edx
push eax
lea ecx, [esp + 0xb8]
push ecx
mov ecx, ebx
call fcn.0053d490
push eax
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x1c]
call fcn.00438650
mov ecx, dword [esi + 0x2b8]
call fcn.004b4470
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x2b8]
call fcn.00530760
mov edx, dword [esi + 0x2ac]
mov ecx, dword [esp + 0x14]
lea eax, [edx + ebp]
mov edx, dword [eax + 8]
add edx, ecx
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1c]
sub edx, ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x2b8]
mov dword [esp + 0x3c], edx
call fcn.00530780
mov ecx, dword [esi + 0x2b8]
mov dword [esp + 0x24], eax
call fcn.005590d0
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.004b4470
lea edx, [esp + 0x58]
mov dword [esp + 0x50], eax
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.00530760
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x68], ecx
mov ecx, edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
call fcn.00530780
mov ecx, edi
mov dword [esp + 0x4c], eax
call fcn.005590d0
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0xff
call fcn.00546a30
mov eax, dword [esi + 0x2ac]
add esp, 4
mov dword [eax + ebp + 0x24], 1
add ebp, 0x28
sub dword [esp + 0x10], 1
jne 0x486600
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0xb4
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0xb4
ret 4