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

Disassembly:
jmp 0x4e7140
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [esp + 0x18], 0x43c80000
mov dword [esp + 0x1c], 0x43340000
mov dword [esp + 0x20], 0x3af9096c
mov dword [esp + 0x24], 0x43700000
mov dword [esp + 0x28], 0x43340000
mov dword [esp + 0x2c], 0x3af9096c
mov dword [esp + 0x30], 0x43c80000
mov dword [esp + 0x34], 0x43960000
mov dword [esp + 0x38], 0x3af9096c
mov dword [esp + 0x3c], 0x43700000
mov dword [esp + 0x40], 0x43960000
mov dword [esp + 0x44], 0x3af9096c
mov dword [esp + 0x48], 0x43c80000
mov dword [esp + 0x4c], 0x43500000
mov dword [esp + 0x50], 0x3af9096c
mov dword [esp + 0x54], 0x43700000
mov dword [esp + 0x58], 0x43500000
mov dword [esp + 0x5c], 0x3af9096c
lea eax, [esp + 0x20]
mov ecx, 6
mov dword [eax], 0x3a51b717
add eax, 0xc
dec ecx
jne 0x4e71e2
mov eax, dword [esp + 0xb4]
cmp eax, 5
jle 0x4e7201
mov eax, 5
jmp 0x4e7206
cmp eax, 2
jle 0x4e722d
mov dword [esp + 0x14], eax
lea eax, [eax + eax*8 - 0x12]
shl eax, 2
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fld st(0)
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
jmp 0x4e7235
mov dword [esp + 0x14], 2
mov edx, dword [esp + 0x54]
push 0xff787878
push 2
mov eax, dword [esp + 0x60]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
mov dword [ecx], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 4], eax
mov eax, esp
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.00403e68
add esp, 0x20
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push 0xff787878
push 2
sub esp, 0xc
mov edx, esp
sub esp, 0xc
mov dword [edx], eax
mov eax, dword [esp + 0x64]
mov dword [edx + 4], ecx
mov ecx, esp
sub esp, 0xc
mov dword [edx + 8], eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [ecx], edx
mov edx, dword [esp + 0x64]
mov dword [ecx + 4], eax
mov eax, esp
sub esp, 0xc
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, esp
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [edx], eax
mov eax, dword [esp + 0x58]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
call fcn.00403f94
fld dword [esp + 0x5c]
fadd dword [0x6444d0]
mov ecx, dword [esp + 0x90]
add esp, 0x38
mov dword [esp + 0x74], 0x3a6bedfa
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0x3a6bedfa
mov dword [esp + 0x94], 0x3a6bedfa
fstp dword [esp + 0x6c]
fld dword [esp + 0x28]
fadd dword [0x6444d0]
fstp dword [esp + 0x70]
fld dword [esp + 0x54]
fadd dword [0x6444d0]
fst dword [esp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x18]
fsub dword [0x6444d0]
fstp dword [esp + 0x8c]
fld dword [esp + 0x1c]
fadd dword [0x6444d0]
fstp dword [esp + 0x90]
fld dword [esp + 0x48]
fsub dword [0x6444d0]
fst dword [esp + 0x10]
fstp dword [esp + 0x9c]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xa4], 0x3a6bedfa
mov dword [esp + 0xa0], edx
lea eax, [esp + 0x78]
mov ecx, 4
mov dword [eax], 0xc8000000
add eax, 0x10
dec ecx
jne 0x4e7399
lea eax, [esp + 0x6c]
push eax
push 4
call fcn.004030fd
fld dword [esp + 0x60]
fadd dword [0x6444d0]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], ecx
add esp, 8
mov dword [esp + 0x74], 0x3a6bedfa
mov dword [esp + 0x84], 0x3a6bedfa
fstp dword [esp + 0x70]
fld dword [esp + 0x3c]
fadd dword [0x6444d0]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], 0x3a6bedfa
mov dword [esp + 0xa4], 0x3a6bedfa
lea eax, [esp + 0x78]
mov ecx, 4
fstp dword [esp + 0x7c]
fld dword [esp + 0x40]
fsub dword [0x6444d0]
fstp dword [esp + 0x80]
fld dword [esp + 0x4c]
fadd dword [0x6444d0]
fstp dword [esp + 0x90]
fld dword [esp + 0x30]
fsub dword [0x6444d0]
fstp dword [esp + 0x9c]
fld dword [esp + 0x34]
fsub dword [0x6444d0]
fstp dword [esp + 0xa0]
mov dword [eax], 0xc8000078
add eax, 0x10
dec ecx
jne 0x4e7459
lea eax, [esp + 0x6c]
push eax
push 4
call fcn.004030fd
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb8]
add esp, 8
xor edi, edi
test eax, eax
mov dword [esp + 0xc], edi
jle 0x4e7521
lea esi, [esp + 0x18]
fild dword [esp + 0xc]
mov dword [esi], 0x437c0000
cmp edi, ebx
fmul qword [0x64ab28]
fadd qword [0x64ab38]
fstp dword [esi + 4]
mov dword [esi + 8], 0x399d4952
jne 0x4e74dd
push 0x3f800000
push 0x42d40000
push 0x3f800000
mov ecx, esi
sub esp, 0xc
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
jmp 0x4e7503
push 0x3ecccccd
push 0x42d40000
push 0x3f800000
mov edx, esi
sub esp, 0xc
mov ecx, dword [edx]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
push 0
call fcn.004032dd
mov eax, dword [esp + 0x30]
add esp, 0x1c
inc edi
add esi, 0xc
cmp edi, eax
mov dword [esp + 0xc], edi
jl 0x4e7491
lea eax, [ebx + ebx*8]
mov ecx, dword [0xcd592c]
shl eax, 2
mov dword [esp + 0x10], eax
and ecx, 0xffff
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
push 0x3f800000
push 0x42d40000
push ecx
fadd qword [0x64ab38]
sub esp, 0xc
mov dword [esp + 0x78], 0x437c0000
mov eax, dword [esp + 0x78]
mov edx, esp
mov dword [esp + 0x80], 0x3951b717
fstp dword [esp + 0x7c]
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
fmul qword [0x634248]
fmul qword [0x634268]
fcos
fabs
fstp dword [esp + 0xc]
mov dword [edx], eax
mov eax, dword [esp + 0x80]
push 1
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
call fcn.004032dd
mov eax, dword [0xcd592c]
add esp, 0x1c
add eax, 0x200
pop edi
pop esi
mov dword [0xcd592c], eax
pop ebx
add esp, 0xa0
ret