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

Disassembly:
sub esp, 0xb4
push esi
push edi
mov edi, dword [0x608334]
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 0x4868a8
cmp dword [esi + 0x2b8], 0
je 0x4868a8
cmp dword [esi + 0x2bc], 0
je 0x4868a8
cmp dword [esi + 0x2c0], 0
je 0x4868a8
mov eax, dword [esi + 0x2b0]
mov edi, dword [esp + 0xc0]
cmp eax, edi
jae 0x486695
mov edi, eax
lea edx, [esp + 0x1c]
push 0x80
push edx
call fcn.00500830
add esp, 8
test edi, edi
jbe 0x486898
push ebx
push ebp
xor ebp, ebp
mov dword [esp + 0x10], edi
jmp 0x4866c0
mov eax, dword [esi + 0x2ac]
add eax, ebp
cmp dword [eax + 0x24], 0
jne 0x486888
movzx ecx, word [eax]
test cx, cx
je 0x486888
mov edx, 0xffff
cmp cx, dx
je 0x486888
cmp dword [eax + 0x18], 0
je 0x4866fa
mov ebx, dword [esi + 0x2c0]
jmp 0x486700
mov ebx, dword [esi + 0x2bc]
mov ecx, ebx
call fcn.0053cf40
mov ecx, eax
call fcn.004aba20
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.0053cee0
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.0053cf00
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.0053df10
push eax
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x1c]
call fcn.00438380
mov ecx, dword [esi + 0x2b8]
call fcn.004b45f0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x2b8]
call fcn.005311d0
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.005311f0
mov ecx, dword [esi + 0x2b8]
mov dword [esp + 0x24], eax
call fcn.0051a980
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.004b45f0
lea edx, [esp + 0x58]
mov dword [esp + 0x50], eax
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.005311d0
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.005311f0
mov ecx, edi
mov dword [esp + 0x4c], eax
call fcn.0051a980
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0xff
call fcn.00547510
mov eax, dword [esi + 0x2ac]
add esp, 4
mov dword [eax + ebp + 0x24], 1
add ebp, 0x28
sub dword [esp + 0x10], 1
jne 0x4866c0
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