Function at 0x477580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x477961
mov eax, dword [ebx + 0x2c4]
add eax, dword [ebx + 0x2f4]
add eax, dword [ebx + 0x24]
add eax, dword [ebx + 0x54]
add eax, dword [ebx + 0x84]
add eax, dword [ebx + 0xb4]
add eax, dword [ebx + 0xe4]
add eax, dword [ebx + 0x114]
add eax, dword [ebx + 0x144]
add eax, dword [ebx + 0x174]
add eax, dword [ebx + 0x1a4]
add eax, dword [ebx + 0x1d4]
add eax, dword [ebx + 0x204]
add eax, dword [ebx + 0x234]
add eax, dword [ebx + 0x264]
add eax, dword [ebx + 0x294]
lea edi, [eax*2 + 0x9c]
push edi
mov dword [ebp + 8], edi
call fcn.004a14d0
push edi
mov esi, eax
push 0
push esi
call fcn.004a34a0
mov dword [esi], 1
add esp, 0x10
mov ecx, dword [ebx + 0x310]
mov dword [esi + 4], ecx
mov ecx, dword [ebx + 0x314]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x318]
mov dword [esi + 0xc], eax
movzx eax, byte [ebx + 0x31d]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x320]
mov dword [esi + 0x14], eax
lea eax, [ebx + 0x14]
mov dword [esi + 0x18], 0
mov ecx, dword [ebx + 0x24]
add ecx, ecx
mov dword [esi + 0x1c], ecx
cmp dword [eax + 0x14], 8
jb 0x477658
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
push eax
call fcn.004a43d0
mov edi, dword [esi + 0x1c]
lea eax, [ebx + 0x44]
mov dword [esi + 0x20], edi
add esp, 0xc
mov ecx, dword [ebx + 0x54]
add ecx, ecx
mov dword [esi + 0x24], ecx
cmp dword [eax + 0x14], 8
jb 0x477682
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x24]
lea eax, [ebx + 0x74]
mov dword [esi + 0x28], edi
add esp, 0xc
mov ecx, dword [ebx + 0x84]
add ecx, ecx
mov dword [esi + 0x2c], ecx
cmp dword [eax + 0x14], 8
jb 0x4776b1
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x2c]
lea eax, [ebx + 0xa4]
mov dword [esi + 0x30], edi
add esp, 0xc
mov ecx, dword [ebx + 0xb4]
add ecx, ecx
mov dword [esi + 0x34], ecx
cmp dword [eax + 0x14], 8
jb 0x4776e3
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x34]
lea eax, [ebx + 0xd4]
mov dword [esi + 0x38], edi
add esp, 0xc
mov ecx, dword [ebx + 0xe4]
add ecx, ecx
mov dword [esi + 0x3c], ecx
cmp dword [eax + 0x14], 8
jb 0x477715
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x3c]
lea eax, [ebx + 0x104]
mov dword [esi + 0x40], edi
add esp, 0xc
mov ecx, dword [ebx + 0x114]
add ecx, ecx
mov dword [esi + 0x44], ecx
cmp dword [eax + 0x14], 8
jb 0x477747
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x44]
lea eax, [ebx + 0x134]
mov dword [esi + 0x48], edi
add esp, 0xc
mov ecx, dword [ebx + 0x144]
add ecx, ecx
mov dword [esi + 0x4c], ecx
cmp dword [eax + 0x14], 8
jb 0x477779
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x4c]
lea eax, [ebx + 0x164]
mov dword [esi + 0x50], edi
add esp, 0xc
mov ecx, dword [ebx + 0x174]
add ecx, ecx
mov dword [esi + 0x54], ecx
cmp dword [eax + 0x14], 8
jb 0x4777ab
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x54]
lea eax, [ebx + 0x194]
mov dword [esi + 0x58], edi
add esp, 0xc
mov ecx, dword [ebx + 0x1a4]
add ecx, ecx
mov dword [esi + 0x5c], ecx
cmp dword [eax + 0x14], 8
jb 0x4777dd
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x5c]
lea eax, [ebx + 0x1c4]
mov dword [esi + 0x60], edi
add esp, 0xc
mov ecx, dword [ebx + 0x1d4]
add ecx, ecx
mov dword [esi + 0x64], ecx
cmp dword [eax + 0x14], 8
jb 0x47780f
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x64]
lea eax, [ebx + 0x1f4]
mov dword [esi + 0x68], edi
add esp, 0xc
mov ecx, dword [ebx + 0x204]
add ecx, ecx
mov dword [esi + 0x6c], ecx
cmp dword [eax + 0x14], 8
jb 0x477841
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x6c]
lea eax, [ebx + 0x2e4]
mov dword [esi + 0x70], edi
add esp, 0xc
mov ecx, dword [ebx + 0x2f4]
add ecx, ecx
mov dword [esi + 0x74], ecx
cmp dword [eax + 0x14], 8
jb 0x477873
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x74]
lea eax, [ebx + 0x284]
mov dword [esi + 0x78], edi
add esp, 0xc
mov ecx, dword [ebx + 0x294]
add ecx, ecx
mov dword [esi + 0x7c], ecx
cmp dword [eax + 0x14], 8
jb 0x4778a5
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x7c]
lea eax, [ebx + 0x2b4]
mov dword [esi + 0x80], edi
add esp, 0xc
mov ecx, dword [ebx + 0x2c4]
add ecx, ecx
mov dword [esi + 0x84], ecx
cmp dword [eax + 0x14], 8
jb 0x4778dd
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x84]
lea eax, [ebx + 0x254]
mov dword [esi + 0x88], edi
add esp, 0xc
mov ecx, dword [ebx + 0x264]
add ecx, ecx
mov dword [esi + 0x8c], ecx
cmp dword [eax + 0x14], 8
jb 0x477918
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a43d0
add edi, dword [esi + 0x8c]
add esp, 0xc
mov dword [esi + 0x90], edi
mov eax, dword [ebx + 0x234]
add ebx, 0x224
add eax, eax
mov dword [esi + 0x94], eax
cmp dword [ebx + 0x14], 8
jb 0x477953
mov ebx, dword [ebx]
push eax
lea eax, [esi + 0x98]
add eax, edi
jmp 0x4779e7
mov eax, dword [ebx + 0x264]
add eax, dword [ebx + 0x24]
lea edi, [eax*2 + 0x9c]
push edi
mov dword [ebp + 8], edi
call fcn.004a14d0
push edi
mov esi, eax
push 0
push esi
call fcn.004a34a0
mov dword [esi], 0
lea eax, [ebx + 0x14]
mov dword [esi + 0x18], 0
add esp, 0x10
mov ecx, dword [ebx + 0x24]
add ecx, ecx
mov dword [esi + 0x1c], ecx
cmp dword [eax + 0x14], 8
jb 0x4779a8
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
push eax
call fcn.004a43d0
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov dword [esi + 0x88], ecx
mov eax, dword [ebx + 0x264]
add ebx, 0x254
add eax, eax
mov dword [esi + 0x8c], eax
cmp dword [ebx + 0x14], 8
jb 0x4779de
mov ebx, dword [ebx]
push eax
lea eax, [ecx + 0x98]
add eax, esi
push ebx
push eax
call fcn.004a43d0
mov ecx, dword [0x530558]
add esp, 0xc
xor edi, edi
call fcn.00424620
mov ebx, eax
test ebx, ebx
je 0x477aa4
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
call fcn.004a14d0
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
push 0
push edi
call fcn.004a34a0
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [edi], 8
mov dword [edi + 4], 0
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
test eax, eax
je 0x477a54
push eax
lea eax, [edi + 0x10]
push esi
push eax
call fcn.004a43d0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, ebx
add eax, 0x14
push eax
push edi
push 1
call fcn.00479910
mov dword [ebp + 8], eax
test eax, eax
jne 0x477a96
mov ecx, ebx
call fcn.00479820
test eax, eax
jne 0x477a8f
cmp dword [ebx + 8], eax
je 0x477a81
cmp dword [ebx + 0x1c], eax
je 0x477a8f
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
je 0x477a8f
mov ebx, dword [ebx]
mov dword [ebp + 8], ebx
jmp 0x477aa1
mov dword [ebp + 8], 0xe9
push 0x14
push edi
call fcn.004a1ba5
add esp, 8
mov edi, dword [ebp + 8]
push 0x9c
push esi
call fcn.004a1ba5
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4