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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, ecx
push ebp
mov ebp, 1
mov eax, dword [ebx + 0xf4]
push esi
cmp eax, ebp
push edi
je 0x4776ee
mov eax, dword [0x6833d0]
mov edx, dword [ebx + 0xd8]
mov ecx, dword [eax + 0x424]
mov eax, dword [edx]
push eax
call fcn.00603f70
test eax, eax
mov dword [esp + 0x20], eax
je 0x4776ee
cmp dword [ebx + 0x350], ebp
jne 0x477669
mov ecx, dword [0x6833d0]
mov edx, dword [ebx + 0x34c]
push edx
mov ecx, dword [ecx + 0x424]
call fcn.00603f70
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x4776ae
mov eax, dword [0x6833d0]
mov edx, dword [ebx + 0x34c]
push edx
mov ecx, dword [eax + 0x424]
call fcn.00604cb0
test eax, eax
je 0x4776b2
mov ecx, dword [eax + 0xd0]
test ecx, ecx
jle 0x4776b2
mov eax, dword [eax + 0xd8]
mov ecx, dword [0x6833d0]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x424]
push edx
call fcn.00603f70
mov dword [esp + 0x10], eax
mov esi, eax
test esi, esi
jne 0x4776fa
lea eax, [ebx + 0x354]
mov edx, dword [ebx + 0x360]
mov dword [esp + 0x1c], edx
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, ebx
mov edi, dword [eax + 8]
call fcn.00478340
mov eax, dword [esp + 0x1c]
push ebp
push 0
push eax
push edi
push esi
push 0
mov ecx, ebx
call fcn.00474560
mov ecx, dword [esp + 0x4c]
mov dword [ecx], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret 4
mov edx, dword [0x6833d0]
mov eax, dword [edx + 0x424]
mov ecx, dword [eax + 0x1e4]
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
push eax
lea ecx, [ebx + 0x174]
call fcn.00470b80
mov ebp, eax
test ebp, ebp
je 0x477806
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x477806
fld dword [ebp + 0x1c]
fcomp dword [0x634594]
fnstsw ax
test ah, 0x41
jne 0x477806
mov edx, dword [0x63a7cc]
fld dword [ebp + 0x1c]
push edx
push ecx
fstp dword [esp]
push esi
mov ecx, ebp
call fcn.00470490
test eax, eax
je 0x477806
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov ecx, edx
mov edi, 0x68c784
rep movsd dword es:[edi], dword [esi]
fld dword [ebp + 0x1c]
fcomp dword [0x63a968]
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 1
jne 0x4777a5
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 4]
push ecx
push edx
push 0x68c784
mov ecx, ebx
call fcn.00478590
jmp 0x477802
mov eax, dword [ebx + 0xa8]
mov edi, dword [esp + 0x10]
fld dword [ebp + 0x1c]
push ecx
mov ecx, dword [eax + 0x10]
fstp dword [esp]
lea esi, [ebx + 0x340]
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edi
push edx
push 0x68c784
push ebx
call fcn.00443bd0
cmp dword [esi], 0
jg 0x4777f0
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
push 1
push edx
push eax
push 0x68c784
mov ecx, ebx
call fcn.00478590
jmp 0x477802
mov ecx, dword [esp + 0x14]
push ecx
push 0x68c784
push esi
mov ecx, ebx
call fcn.004786c0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jl 0x477716
cmp dword [ebx + 0x350], 1
jne 0x477902
mov eax, dword [esi]
lea edi, [ebx + 0x354]
lea edx, [esp + 0x30]
push edi
lea ecx, [esp + 0x40]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x23c]
mov ecx, eax
call fcn.005e8590
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fsqrt
fcomp dword [0x6345a8]
fnstsw ax
test ah, 0x41
jne 0x477902
mov ecx, dword [esp + 0x20]
mov eax, dword [esi]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push edx
call dword [eax + 0xfc]
cmp al, 0xf
je 0x4778c9
cmp al, 0x80
jne 0x4778a4
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x6d]
test cl, cl
jne 0x4778c9
mov ecx, dword [ebx + 0x35c]
mov edx, dword [edi]
push 1
push 0
push 0
push ecx
push edx
push 0
mov ecx, ebx
call fcn.00474560
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret 4
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [eax + 0x23c]
mov edx, dword [eax + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x23c]
mov edx, dword [eax]
mov ecx, ebx
push edx
push esi
call fcn.004749a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
cmp eax, 1
jne 0x477916
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
jmp 0x477935
mov ecx, ebx
call fcn.0048ef10
test eax, eax
jne 0x477935
mov edx, dword [0x63a758]
mov eax, dword [ebx + 0xfc]
or eax, edx
mov dword [ebx + 0xfc], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00539330
fcomp dword [ebx + 0x360]
fnstsw ax
test ah, 0x41
je 0x477973
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov ecx, dword [0x63a758]
mov eax, dword [ebx + 0xfc]
or eax, ecx
mov dword [ebx + 0xfc], eax
mov ecx, dword [ebx + 0xfc]
mov eax, dword [0x63a758]
test ecx, eax
jbe 0x4776ee
mov eax, dword [0x63a75c]
test eax, ecx
jbe 0x4776ee
not eax
and ecx, eax
mov edi, 0x68c784
mov dword [ebx + 0xfc], ecx
mov ebp, dword [ebx + 0xd0]
mov esi, dword [ebx + 0xd8]
mov ecx, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0x360]
mov edi, dword [esp + 0x10]
lea esi, [ebx + 0x340]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebx + 0xd8]
push edx
mov edx, dword [ebx + 0xd0]
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edi
push edx
push eax
push ebx
call fcn.00443bd0
cmp dword [esi], 0
jg 0x477a0e
mov ecx, dword [edi + 4]
push 1
push ecx
push ebp
push 0x68c784
mov ecx, ebx
call fcn.00478590
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret 4
push ebp
push 0x68c784
push esi
mov ecx, ebx
call fcn.004786c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret 4