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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0x184
call fcn.00462220
fstp st(0)
call fcn.004621d0
fstp dword [esp + 8]
cmp dword [0x5ed088], 0
jne 0x478aa6
mov edi, dword [0x5ed0c8]
lea esi, [esp + 0xe0]
mov dword [esp + 0xe0], 0
lea eax, [esp + 0x40]
mov dword [esp + 0x40], edi
push 0x20
push 0x5db13c
push eax
push 0x5c21d0
push 0x8384ff00
push 0x3c
push esi
call fcn.00545ab0
mov ebx, dword [0x5ed0cc]
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], ebx
push eax
push 0x5c21d8
push esi
call fcn.00547300
mov eax, dword [0x5ed08c]
lea edx, [esp + 0x88]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x88], eax
push edx
push 0x5c21e0
push esi
call fcn.00547300
fld dword [esp + 0x3c]
lea eax, [esp + 0xa4]
fstp dword [esp + 0xa4]
push eax
push 0x5c21e8
push esi
call fcn.00547300
movss xmm0, dword [0x5eca3c]
lea eax, [esp + 0xc0]
subss xmm0, dword [0x5eca20]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0xc0], xmm0
push eax
push 0x5c21f0
push esi
call fcn.00547300
mov dword [esp + 0x12c], 0
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], edi
push 0x20
push 0x5db13c
push eax
push 0x5c21f8
push 0x8384ff00
push 6
push esi
call fcn.00545ab0
mov dword [esp + 0x108], ebx
lea eax, [esp + 0x108]
push eax
push 0x5c2200
push esi
call fcn.00547300
add esp, 0x74
mov eax, dword [esp + 4]
lea edx, [esp + 0xb0]
mov dword [esp + 0xb0], eax
push edx
push 0x5c2208
push esi
call fcn.00547300
fld dword [esp + 0x14]
lea eax, [esp + 0xcc]
fstp dword [esp + 0xcc]
push eax
push 0x5c2210
push esi
call fcn.00547300
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0xe8]
movss dword [esp + 0xe8], xmm0
push eax
push 0x5c2218
push esi
call fcn.00547300
jmp 0x478c1b
mov edi, dword [0x5ed0c8]
lea esi, [esp + 0xe0]
mov dword [esp + 0xe0], 0
lea eax, [esp + 0x48]
mov dword [esp + 0x48], edi
push 0x20
push 0x5db0a0
push eax
push 0x5c2180
push 0x8384ff00
push 0x3c
push esi
call fcn.00545ab0
mov eax, dword [0x5ed0cc]
lea edx, [esp + 0x74]
mov dword [esp + 0x20], eax
mov dword [esp + 0x74], eax
push edx
push 0x5c2188
push esi
call fcn.00547300
mov ebx, dword [0x5ed08c]
lea eax, [esp + 0x90]
mov dword [esp + 0x90], ebx
push eax
push 0x5c2190
push esi
call fcn.00547300
fld dword [esp + 0x3c]
lea eax, [esp + 0xac]
fstp dword [esp + 0xac]
push eax
push 0x5c2198
push esi
call fcn.00547300
movss xmm0, dword [0x5eca3c]
lea eax, [esp + 0xc8]
subss xmm0, dword [0x5eca20]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0xc8], xmm0
push eax
push 0x5c21a0
push esi
call fcn.00547300
mov dword [esp + 0x12c], 0
lea eax, [esp + 0xe4]
mov dword [esp + 0xe4], edi
push 0x20
push 0x5db0a0
push eax
push 0x5c21a8
push 0x8384ff00
push 6
push esi
call fcn.00545ab0
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x110]
mov dword [esp + 0x110], eax
push edx
push 0x5c21b0
push esi
call fcn.00547300
add esp, 0x74
mov dword [esp + 0xb8], ebx
lea eax, [esp + 0xb8]
push eax
push 0x5c21b8
push esi
call fcn.00547300
fld dword [esp + 0x14]
lea eax, [esp + 0xd4]
fstp dword [esp + 0xd4]
push eax
push 0x5c21c0
push esi
call fcn.00547300
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0xf0]
movss dword [esp + 0xf0], xmm0
push eax
push 0x5c21c8
push esi
call fcn.00547300
add esp, 0x24
mov edx, dword [0x5ed0dc]
mov eax, dword [0x5ed0e0]
lea ecx, [edx + 2]
cmp ecx, eax
cmovl eax, ecx
test eax, eax
jle 0x478f19
mov ebx, 1
mov edi, dword [0x5ed0e4]
mov dword [esp + 0x54], eax
inc edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0xe0], 0
cmp ebx, dword [esp + 0x4c]
jle 0x478d6b
mov dword [esp + 0x160], edi
lea eax, [esp + 0x160]
push 0x20
push 0x5db05c
push eax
push 0x5c2260
push 0x8384ff00
push 0x3c
push esi
call fcn.00545ab0
mov eax, dword [ebp + 8]
lea edx, [esp + 0x11c]
movsd xmm0, qword [eax + ebx*8 - 8]
movsd qword [esp + 0x15c], xmm0
movsd qword [esp + 0x11c], xmm0
push edx
push 0x5c2268
push esi
call fcn.00547300
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x138]
movsd xmm0, qword [eax + ebx*8 - 8]
movsd qword [esp + 0x178], xmm0
movsd qword [esp + 0x138], xmm0
push edx
push 0x5c2270
push esi
call fcn.00547300
mov dword [esp + 0x114], 0
lea eax, [esp + 0x1a4]
mov dword [esp + 0x1a4], edi
push 0x20
push 0x5db05c
push eax
push 0x5c2278
push 0x8384ff00
push 6
push esi
call fcn.00545ab0
movsd xmm0, qword [esp + 0x190]
lea eax, [esp + 0x170]
movsd qword [esp + 0x170], xmm0
push eax
push 0x5c2280
push esi
call fcn.00547300
movsd xmm0, qword [esp + 0x1ac]
lea eax, [esp + 0x184]
movsd qword [esp + 0x184], xmm0
push eax
push 0x5c2288
push esi
call fcn.00547300
add esp, 0x68
jmp 0x478f0d
mov dword [esp + 0x168], edi
lea eax, [esp + 0x168]
push 0x20
push 0x5db000
push eax
push 0x5c2220
push 0x8384ff00
push 0x3c
push esi
call fcn.00545ab0
mov eax, dword [ebp + 8]
lea edx, [esp + 0x124]
movsd xmm0, qword [eax + ebx*8 - 8]
movsd qword [esp + 0x174], xmm0
movsd qword [esp + 0x124], xmm0
push edx
push 0x5c2228
push esi
call fcn.00547300
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x140]
movsd xmm0, qword [eax + ebx*8 - 8]
movsd qword [esp + 0x170], xmm0
movsd qword [esp + 0x140], xmm0
push edx
push 0x5c2230
push esi
call fcn.00547300
mov eax, dword [ebp + 0x10]
lea edx, [ebx + ebx*2]
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], 8
lea ecx, [eax + edx*8]
mov eax, 1
lea edx, [esp + 0x34]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x18
push edx
push 0x5c2238
push esi
call fcn.00547300
mov dword [esp + 0x120], 0
lea eax, [esp + 0x1b8]
mov dword [esp + 0x1b8], edi
push 0x20
push 0x5db000
push eax
push 0x5c2240
push 0x8384ff00
push 6
push esi
call fcn.00545ab0
movsd xmm0, qword [esp + 0x1b4]
lea eax, [esp + 0x18c]
movsd qword [esp + 0x18c], xmm0
push eax
push 0x5c2248
push esi
call fcn.00547300
movsd xmm0, qword [esp + 0x1b0]
lea eax, [esp + 0x1a0]
movsd qword [esp + 0x1a0], xmm0
push eax
push 0x5c2250
push esi
call fcn.00547300
add esp, 0x74
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x20]
mov edx, 1
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x18
push ecx
push 0x5c2258
push esi
call fcn.00547300
add esp, 0xc
inc ebx
inc edi
cmp ebx, dword [esp + 0x54]
jle 0x478c4d
add esp, 0x184
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc