Function at 0x477310
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 0x4776f1
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.004a1050
push edi
mov esi, eax
push 0
push esi
call fcn.004a3000
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 0x4773e8
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
push eax
call fcn.004a3f30
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 0x477412
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x477441
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x477473
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x4774a5
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x4774d7
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x477509
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x47753b
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x47756d
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x47759f
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x4775d1
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x477603
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x477635
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x47766d
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x4776a8
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
add eax, edi
push eax
call fcn.004a3f30
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 0x4776e3
mov ebx, dword [ebx]
push eax
lea eax, [esi + 0x98]
add eax, edi
jmp 0x477777
mov eax, dword [ebx + 0x264]
add eax, dword [ebx + 0x24]
lea edi, [eax*2 + 0x9c]
push edi
mov dword [ebp + 8], edi
call fcn.004a1050
push edi
mov esi, eax
push 0
push esi
call fcn.004a3000
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 0x477738
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x98]
push eax
call fcn.004a3f30
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 0x47776e
mov ebx, dword [ebx]
push eax
lea eax, [ecx + 0x98]
add eax, esi
push ebx
push eax
call fcn.004a3f30
mov ecx, dword [0x530558]
add esp, 0xc
xor edi, edi
call fcn.004244e0
mov ebx, eax
test ebx, ebx
je 0x477834
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
call fcn.004a1050
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
push 0
push edi
call fcn.004a3000
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 0x4777e4
push eax
lea eax, [edi + 0x10]
push esi
push eax
call fcn.004a3f30
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, ebx
add eax, 0x14
push eax
push edi
push 1
call fcn.004796a0
mov dword [ebp + 8], eax
test eax, eax
jne 0x477826
mov ecx, ebx
call fcn.004795b0
test eax, eax
jne 0x47781f
cmp dword [ebx + 8], eax
je 0x477811
cmp dword [ebx + 0x1c], eax
je 0x47781f
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
je 0x47781f
mov ebx, dword [ebx]
mov dword [ebp + 8], ebx
jmp 0x477831
mov dword [ebp + 8], 0xe9
push 0x14
push edi
call fcn.004a1725
add esp, 8
mov edi, dword [ebp + 8]
push 0x9c
push esi
call fcn.004a1725
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4