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

Disassembly:
sub esp, 0x48
push ebx
mov ebx, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x5c]
mov eax, edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], edx
mov edx, dword [ecx]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x18]
mov dword [esp + 0x44], ecx
push eax
mov ecx, ebx
call fcn.00440b10
test eax, eax
je 0x477792
cmp dword [ebx + 0x18], 0xffffffff
push ebp
push esi
je 0x47773a
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
mov esi, dword [ebp + 0x48]
push 0x10
lea edx, [esp + 0x68]
push edx
push 0
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x477790
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x64]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
movzx ecx, word [eax]
lea edx, [ecx + ecx*8]
movzx ecx, word [eax + 2]
movzx eax, word [eax + 4]
lea edx, [esi + edx*4]
lea ecx, [ecx + ecx*8]
lea ecx, [esi + ecx*4]
lea eax, [eax + eax*8]
lea eax, [esi + eax*4]
mov esi, edi
mov ebx, dword [esi]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x78]
push esi
lea esi, [esp + 0x50]
push esi
lea esi, [esp + 0x30]
push esi
lea esi, [esp + 0x4c]
push esi
lea esi, [esp + 0x2c]
push esi
push eax
push ecx
push edx
mov dword [esp + 0x40], ebx
call fcn.0043e2b0
add esp, 0x20
test eax, eax
je 0x477729
mov ecx, dword [esp + 0x74]
mov dword [ecx], 1
fld dword [edi]
fsub dword [esp + 0x28]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fld dword [edi + 4]
mov dword [esp + 0x10], edx
fsub dword [esp + 0x2c]
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
fld dword [edi + 8]
mov dword [esp + 0x14], eax
fsub dword [esp + 0x30]
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fcom dword [0x53101c]
fnstsw ax
test ah, 5
jp 0x477727
mov eax, dword [esp + 0x6c]
fstp dword [0x53101c]
mov ecx, dword [esp + 0x28]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x70]
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [edx + 8], ecx
mov edx, dword [eax]
mov ecx, dword [esp + 0x68]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x48
ret
fstp st(0)
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x48
ret
mov eax, dword [ebx + 0x1c]
test eax, eax
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
je 0x477769
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push esi
push ebp
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push edi
push ecx
push eax
call fcn.00477570
add esp, 0x20
mov ebx, dword [ebx + 0x20]
test ebx, ebx
je 0x477790
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push esi
push ebp
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edi
push edx
push ebx
call fcn.00477570
add esp, 0x20
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x48
ret