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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x15c]
mov eax, dword [esi + 0x158]
mov edx, dword [esi + 0x154]
lea ebp, [esi + 0x154]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xc]
push edi
test eax, 0x80000
mov byte [esp + 0x5c], 0
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
je 0x5f8e54
fld dword [esp + 0x10]
fmul dword [esi + 0xdc]
mov eax, dword [esi + 0x1f0]
test eax, eax
fstp dword [esp + 0x10]
je 0x5f8e54
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 4]
add eax, 0x80
mov edx, dword [eax]
mov dword [esi + 0x1e4], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x1e8], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x1ec], edx
mov eax, dword [esi + 0xc]
xor ebx, ebx
test ah, 0x20
je 0x5f8e75
mov ecx, dword [esi + 0x148]
cmp ecx, ebx
je 0x5f8e75
call fcn.004f7570
cmp al, 1
jne 0x5f8e75
mov byte [esp + 0x5c], al
mov eax, dword [esi + 0x170]
fld dword [esi + 0x178]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
test eax, 0x800000
je 0x5f8eaf
fdiv dword [esi + 0x54]
fld dword [0x6d0348]
fsub st(1)
fmul dword [esi + 0x50]
fxch st(1)
fmul dword [esi + 0x48]
faddp st(1)
fstp dword [esi + 0x170]
jmp 0x5f903b
fcomp dword [0x6d035c]
fnstsw ax
test ah, 0x44
jp 0x5f8ec4
fld dword [0x6d0348]
jmp 0x5f8ecd
fld dword [esi + 0x178]
fdiv dword [esi + 0x44]
fld dword [0x6d0348]
fsub st(1)
mov edi, dword [esi + 0x28]
cmp edi, ebx
fld st(0)
fmul dword [esi + 0x4c]
fld st(2)
fmul dword [esi + 0x50]
faddp st(1)
fstp dword [esi + 0x170]
je 0x5f9037
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0x114]
mov dl, byte [esi + 0x110]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul st(1)
fild dword [esp + 0x14]
fmul st(3)
faddp st(1)
call fcn.006b072c
mov byte [esp + 0x14], al
xor eax, eax
mov al, byte [esi + 0x115]
xor ecx, ecx
mov cl, byte [esi + 0x111]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
fmul st(1)
fild dword [esp + 0x18]
fmul st(3)
faddp st(1)
call fcn.006b072c
xor edx, edx
mov byte [esp + 0x15], al
mov dl, byte [esi + 0x116]
xor eax, eax
mov al, byte [esi + 0x112]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fmul st(1)
fild dword [esp + 0x18]
fmul st(3)
faddp st(1)
call fcn.006b072c
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0x117]
mov dl, byte [esi + 0x113]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x16], al
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
fmul st(1)
fild dword [esp + 0x18]
fmul st(3)
faddp st(1)
call fcn.006b072c
mov byte [esp + 0x17], al
mov eax, dword [edi + 0x54]
mov ebx, dword [esp + 0x14]
push 6
mov ecx, dword [eax + 0xc]
fstp st(0)
mov edx, dword [ecx + 0x10]
fstp st(0)
mov ecx, dword [edx + 0x1c]
mov edx, dword [ecx + 4]
mov dword [edx + eax + 0x7c], ebx
mov eax, dword [edi + 0x54]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x10]
push edx
call fcn.006a7990
add esp, 8
cmp eax, 0xffffffff
je 0x5f9033
mov ecx, dword [edi + 0x54]
add ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x5f9033
mov edx, dword [0x73acc4]
mov eax, dword [eax + edx]
mov dword [eax + 0xc4], ebx
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 0x18]
mov edx, dword [edx + 0x20]
mov edx, dword [edx]
test edx, edx
je 0x5f901e
mov edi, dword [0x73acc4]
mov eax, dword [eax + edi]
mov eax, dword [eax + 0xc4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 0x18]
mov edx, dword [0x73acc4]
mov eax, dword [edx + ecx]
mov ecx, dword [eax + 0x40]
or ch, 0x20
mov dword [eax + 0x40], ecx
xor ebx, ebx
jmp 0x5f903b
fstp st(0)
fstp st(0)
mov eax, dword [esi + 0xc]
test ah, 0x10
je 0x5f9059
fld dword [esp + 0x1c]
fsub dword [esi + 0x170]
fsubr dword [esi + 0x158]
fstp dword [esi + 0x158]
fld dword [esi + 0x170]
fcom dword [0x6d035c]
mov ecx, dword [esi + 0x24]
fnstsw ax
and eax, 0x4100
jne 0x5f9076
fstp dword [ecx + 0x1c]
jmp 0x5f907f
fstp st(0)
mov dword [ecx + 0x1c], 0x3a83126f
mov eax, dword [esi + 0xc]
and ah, 0xbf
mov dword [esi + 0xc], eax
fld dword [esi + 0x20c]
fcomp dword [esp + 0x10]
fnstsw ax
and eax, 0x4100
jne 0x5f90d2
fld dword [esi + 0x20c]
fsub dword [esp + 0x10]
fstp dword [esi + 0x20c]
mov ecx, dword [esi + 0xc]
and ch, 0xdf
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x150]
cmp ecx, ebx
mov dword [esi + 0x148], ebx
je 0x5f90fa
push ebx
call fcn.004f7530
mov dword [esi + 0x150], ebx
jmp 0x5f90fa
mov ecx, esi
mov dword [esi + 0x20c], ebx
call fcn.005fa450
mov ecx, dword [esi + 0xc]
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x1c]
and ch, 0xdf
and eax, 0xff
shl eax, 0xd
or eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov edi, 0x4000
test edi, eax
je 0x5f94f1
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.005fb7e0
cmp al, 1
mov eax, dword [esi + 0xc]
jne 0x5f94bc
test eax, 0x10000
je 0x5f9285
test eax, 0x80000
je 0x5f926d
fld dword [esi + 0xd0]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x5f926d
mov ecx, dword [esi + 0x1f0]
test ecx, ecx
mov dword [esi + 0x14c], ecx
je 0x5f9185
call fcn.004f77e0
test eax, eax
je 0x5f9185
mov ecx, dword [esi + 0x14c]
call fcn.004f77e0
mov ecx, dword [esi + 0x14c]
mov edx, dword [eax]
push ecx
push 0x940
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [esi + 0x14c]
push 3
push esi
call fcn.004f7910
test al, al
je 0x5f926d
mov ecx, dword [esi + 0x14c]
push 1
call fcn.004f7b80
mov ecx, dword [ebp + 8]
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x14c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004f72c0
fld dword [esp + 0x28]
fsub dword [eax]
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fsub dword [eax + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fsub dword [eax + 8]
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5f9241
fdivr dword [0x6d0348]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
jmp 0x5f9243
fstp st(0)
mov ecx, dword [esi + 0x14c]
push 0
call fcn.004f8a40
mov ecx, dword [esi + 0x14c]
push 0
call fcn.004f8a80
mov ecx, dword [esi + 0x14c]
lea edx, [esp + 0x28]
push edx
call fcn.004f8aa0
mov ecx, dword [esi + 0xc]
and ecx, 0xfffeffff
mov eax, ecx
mov dword [esi + 0xc], ecx
or eax, 0x20000
mov dword [esi + 0xc], eax
jmp 0x5f92a5
mov ecx, dword [esi + 0xc]
and ecx, 0xfffdffff
mov eax, ecx
mov dword [esi + 0xc], ecx
and eax, 0xfffeffff
mov dword [esi + 0xc], eax
mov dword [esi + 0x1f0], 0
mov edx, dword [esi + 0xc]
lea edi, [esi + 0x160]
or dh, 0x80
push ecx
mov dword [esi + 0xc], edx
fld dword [edi + 8]
fld dword [edi + 4]
fld dword [edi]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5f9309
fld dword [0x6d0348]
fdiv st(1)
fld st(0)
fmul dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [edi + 4]
fstp dword [edi + 4]
fmul dword [edi + 8]
fstp dword [edi + 8]
jmp 0x5f9311
fstp st(0)
fld dword [0x6d035c]
fstp dword [esi + 0x16c]
push 1
mov ecx, esi
call fcn.005fcef0
mov eax, dword [esi + 0x2c]
test eax, eax
mov dword [esp + 0x5c], eax
je 0x5f9369
mov ebx, dword [eax + 4]
push ebp
add ebx, 0x10
lea ecx, [ebx + 0x30]
call fcn.00420920
mov ecx, dword [ebx + 0xc]
and ecx, 0xfffdffff
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
push edx
call fcn.00404040
mov ecx, dword [esi + 0x2c]
add esp, 4
mov edx, dword [ecx + 0x10]
push 1
or dh, 2
mov dword [ecx + 0x10], edx
call fcn.004a95d0
fld dword [esp + 0x10]
fmul dword [esi + 0x16c]
xor ebx, ebx
push ebx
push ebx
fld st(0)
fmul dword [edi]
fadd dword [ebp]
fstp dword [ebp]
fld st(0)
fmul dword [edi + 4]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fmul dword [edi + 8]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
mov ecx, dword [esi + 0x20]
call fcn.004e22a0
mov ecx, eax
call fcn.004565d0
fld dword [0x72c610]
fmul dword [edi + 4]
fld dword [0x72c60c]
fmul dword [edi + 8]
push ecx
fsubp st(1)
fstp dword [esi + 0x1fc]
fld dword [0x72c608]
fmul dword [edi + 8]
fld dword [0x72c610]
fmul dword [edi]
fsubp st(1)
fstp dword [esi + 0x200]
fld dword [0x72c60c]
fmul dword [edi]
fld dword [0x72c608]
fmul dword [edi + 4]
fsubp st(1)
fstp dword [esi + 0x204]
fld dword [esi + 0x204]
fld dword [esi + 0x200]
fld dword [esi + 0x1fc]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5f9461
fdivr dword [0x6d0348]
fld st(0)
fmul dword [esi + 0x1fc]
fstp dword [esi + 0x1fc]
fld st(0)
fmul dword [esi + 0x200]
fstp dword [esi + 0x200]
fmul dword [esi + 0x204]
fstp dword [esi + 0x204]
jmp 0x5f9463
fstp st(0)
call fcn.00404010
and eax, 0xffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x150]
fild qword [esp + 0x1c]
cmp ecx, ebx
fmul dword [0x6d179c]
fld dword [esi + 0x16c]
fdiv dword [esi + 0x170]
fmulp st(1)
fchs
fstp dword [esi + 0x208]
je 0x5f94ab
push ebx
call fcn.004f7530
mov dword [esi + 0x150], ebx
push esi
lea ecx, [esi + 0xfc]
call fcn.004b36f0
jmp 0x5fa0d2
xor ebx, ebx
test edi, eax
je 0x5f94f1
fld dword [esi + 0xbc]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 0x44
jnp 0x5f94f1
fld dword [esi + 0xc8]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 0x44
jnp 0x5f94f1
mov ecx, esi
call fcn.005fbf40
jmp 0x5f94f8
and dword [esi + 0xc], 0xfffeffff
mov eax, dword [esi + 0xc]
test ah, 0x20
je 0x5f9d71
test eax, 0x80000
je 0x5f95c4
mov ecx, eax
xor edi, edi
and ecx, 0xfff7ffff
mov dword [esi + 0x16c], edi
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x14c]
cmp ecx, edi
je 0x5f9546
call fcn.004f77e0
cmp eax, esi
jne 0x5f9546
mov ecx, dword [esi + 0x14c]
call fcn.004f7980
mov dword [esi + 0x14c], edi
mov eax, dword [0x72d944]
mov ecx, dword [esi + 0x148]
mov eax, dword [eax + 0x88]
mov edi, dword [eax + 8]
call fcn.004f72b0
push eax
mov ecx, edi
call fcn.004e6bf0
cmp al, 1
jne 0x5f95c4
mov ecx, dword [0x72d944]
mov eax, dword [ecx + 0x88]
mov ecx, dword [eax + 8]
call fcn.004e69e0
test al, al
jne 0x5f95c4
mov edx, dword [0x72d944]
mov eax, dword [edx + 0x88]
mov ecx, dword [eax + 8]
mov edi, ecx
call fcn.004e69a0
mov ecx, dword [esi + 0x148]
push 0
push 1
push 0
push 0
mov dword [esp + 0x6c], eax
call fcn.004f72b0
push eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
call fcn.004f72b0
push eax
mov ecx, edi
call fcn.004e6bb0
fld dword [esi + 0x178]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 0x41
jp 0x5f95e6
test byte [esi + 0xc], 8
je 0x5f95e6
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x178], ecx
fld dword [esi + 0x170]
fadd dword [esi + 0x5c]
fld dword [esi + 0x68]
fmul dword [esi + 0x16c]
fadd dword [esi + 0x64]
fstp dword [esp + 0x5c]
fcom dword [esp + 0x5c]
fnstsw ax
and eax, 0x4100
jne 0x5f9612
fstp st(0)
fld dword [esp + 0x5c]
fadd dword [esi + 0x170]
mov ecx, dword [esi + 0x148]
fstp dword [esi + 0x17c]
call fcn.004f72c0
fld dword [ebp]
fsub dword [eax]
fld dword [ebp + 4]
fsub dword [eax + 4]
fld dword [ebp + 8]
fsub dword [eax + 8]
push ecx
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00404020
fcom dword [esi + 0x17c]
add esp, 4
fnstsw ax
and eax, 0x4100
jne 0x5f9694
fsub dword [esi + 0x17c]
fld dword [esi + 0x170]
fadd dword [esi + 0x5c]
fsub dword [esi + 0x17c]
fdivp st(1)
fsubr dword [0x6d0348]
fmul dword [esi + 0x9c]
fstp dword [esp + 0x5c]
jmp 0x5f96a0
mov edx, dword [esi + 0x9c]
fstp st(0)
mov dword [esp + 0x5c], edx
mov ecx, dword [esi + 0x148]
call fcn.004f76d0
fmul dword [esp + 0x5c]
mov ecx, dword [esi + 0x148]
fstp dword [esp + 0x5c]
call fcn.004f7330
fld dword [esp + 0x5c]
fmul dword [eax]
mov ecx, dword [esi + 0x148]
fstp dword [esp + 0x40]
fld dword [esp + 0x5c]
fmul dword [eax + 4]
fstp dword [esp + 0x44]
fld dword [esp + 0x5c]
fmul dword [eax + 8]
fstp dword [esp + 0x48]
call fcn.004f72c0
fld dword [ebp]
fsub dword [eax]
fstp dword [esp + 0x28]
fld dword [ebp + 4]
fsub dword [eax + 4]
fld dword [ebp + 8]
fsub dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
fsub dword [esi + 0x170]
push ecx
mov dword [esp + 0x40], ecx
fstp dword [esp + 0x30]
fld dword [0x6d0348]
fsub dword [esi + 0x98]
fstp dword [esp + 0x60]
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5f9783
fdivr dword [esp + 0x5c]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
jmp 0x5f9785
fstp st(0)
mov edx, dword [esi + 0x98]
mov ecx, dword [esi + 0x148]
mov dword [esp + 0x5c], edx
call fcn.004f7330
fld dword [esp + 0x5c]
fmul dword [eax]
mov ecx, dword [0x72c6a4]
lea edi, [esi + 0x160]
mov dword [esp + 0x24], ecx
fadd dword [esp + 0x28]
fld dword [esp + 0x5c]
fmul dword [eax + 4]
fadd dword [esp + 0x2c]
fld dword [esp + 0x5c]
fmul dword [eax + 8]
mov eax, dword [0x72c69c]
mov dword [esp + 0x1c], eax
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x48]
fmul dword [esp + 0x30]
fld st(2)
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x44]
fmul st(2)
faddp st(1)
fst dword [esp + 0x5c]
fmul st(2)
fstp dword [esp + 0x28]
fld dword [esp + 0x5c]
fmul st(1)
fstp dword [esp + 0x2c]
fstp st(0)
fstp st(0)
fld dword [esp + 0x5c]
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [0x72c6a0]
fld dword [esp + 0x10]
fmul dword [esi + 0x74]
fsubr st(1)
fstp dword [esp + 0x20]
fstp st(0)
fld dword [esi + 0x16c]
fld st(0)
fmul dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [edi + 4]
fstp dword [edi + 4]
fmul dword [edi + 8]
fstp dword [edi + 8]
mov eax, dword [esi + 0xc]
test ah, 0x10
je 0x5f99bc
fld dword [esi + 0x1d0]
fmul dword [edi + 8]
fld dword [esi + 0x1cc]
fmul dword [edi + 4]
faddp st(1)
fld dword [esi + 0x1c8]
fmul dword [edi]
faddp st(1)
fst dword [esp + 0x5c]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x5f9928
fld dword [esi + 0x94]
fadd dword [0x6d0348]
fmul dword [esp + 0x5c]
fchs
fld st(0)
fmul dword [esi + 0x1c8]
fadd dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [esi + 0x1cc]
fadd dword [edi + 4]
fstp dword [edi + 4]
fmul dword [esi + 0x1d0]
fadd dword [edi + 8]
fstp dword [edi + 8]
fld dword [esp + 0x5c]
fchs
fcomp dword [0x6de2e0]
fnstsw ax
and eax, 0x4100
jne 0x5f9963
fld dword [esp + 0x5c]
fmul dword [0x6d5460]
fld dword [0x6d0348]
fcomp st(1)
fnstsw ax
and eax, 0x4100
jne 0x5f98f3
fstp dword [esp + 0x5c]
jmp 0x5f98fd
fstp st(0)
mov dword [esp + 0x5c], 0x3f800000
mov edx, dword [esp + 0x5c]
mov ecx, dword [esi + 0x20]
push edx
push 1
call fcn.004e22a0
mov ecx, eax
call fcn.00456330
mov ecx, dword [esi + 0x20]
push 0
push 1
call fcn.004e22a0
mov ecx, eax
call fcn.004565d0
jmp 0x5f9963
fld dword [esi + 0x1cc]
fmul dword [esi + 0x74]
fmul dword [esp + 0x10]
fld st(0)
fmul dword [esi + 0x1c8]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld st(0)
fmul dword [esi + 0x1cc]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fmul dword [esi + 0x1d0]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
call fcn.005fab40
fld dword [esp + 0x40]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x44]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd dword [esp + 0x48]
fstp dword [esp + 0x24]
fld dword [ebp]
fadd dword [esi + 0x234]
fstp dword [ebp]
fld dword [esi + 0x238]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fld dword [esi + 0x23c]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
push ecx
mov dword [esp + 0x3c], 0
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5f9a15
fdivr dword [0x6d0348]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [0x6d035c]
fmul st(1)
fstp dword [esp + 0x38]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
jmp 0x5f9a17
fstp st(0)
mov edx, dword [esi + 0x1c8]
mov eax, dword [esi + 0x1d0]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
fld dword [esp + 0x48]
fmul dword [esp + 0x48]
push ecx
mov dword [esp + 0x48], 0
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5f9a80
fdivr dword [0x6d0348]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [0x6d035c]
fmul st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x48]
jmp 0x5f9a86
fstp st(0)
fld dword [esp + 0x48]
fld dword [esi + 0x6c]
fmul dword [0x6d1c28]
fcos
fld dword [esp + 0x44]
fmul dword [esp + 0x38]
fld dword [esp + 0x40]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x3c]
fmul st(3)
faddp st(1)
fxch st(1)
fchs
fcompp
fnstsw ax
test ah, 5
fstp st(0)
jp 0x5f9abe
mov bl, 1
jmp 0x5f9ac0
xor bl, bl
xor edx, edx
mov ecx, edi
cmp edx, 1
je 0x5f9b74
fld dword [esp + edx*4 + 0x28]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 0x44
jp 0x5f9b0d
test bl, bl
je 0x5f9b0d
fld dword [ecx + 0x68]
fcomp dword [0x6d035c]
fld dword [ecx + 0x68]
fnstsw ax
test ah, 5
jp 0x5f9af7
fchs
fld dword [esi + 0x70]
fmul dword [0x6d1c28]
fsin
fxch st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x5f9b74
fld dword [ecx]
fsubr dword [esp + edx*4 + 0x28]
fcom dword [0x6d035c]
fld st(0)
fnstsw ax
test ah, 5
jp 0x5f9b24
fchs
fld dword [esp + 0x10]
fmul dword [esi + 0x84]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5f9b43
mov eax, dword [esp + edx*4 + 0x28]
fstp st(0)
mov dword [ecx], eax
jmp 0x5f9b74
fcomp dword [0x6d035c]
mov dword [esp + 0x5c], 0xffffffff
fnstsw ax
test ah, 5
jnp 0x5f9b60
mov dword [esp + 0x5c], 1
fld dword [ecx]
fild dword [esp + 0x5c]
fmul dword [esi + 0x84]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [ecx]
inc edx
add ecx, 4
cmp edx, 3
jl 0x5f9ac4
fld dword [esp + 0x1c]
fadd dword [edi]
push ecx
fstp dword [edi]
fld dword [esp + 0x24]
fadd dword [edi + 4]
fstp dword [edi + 4]
fld dword [esp + 0x28]
fadd dword [edi + 8]
fstp dword [edi + 8]
fld dword [edi + 8]
fld dword [edi + 4]
fld dword [edi]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5f9bf2
fld dword [0x6d0348]
fdiv st(1)
fld st(0)
fmul dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [edi + 4]
fstp dword [edi + 4]
fmul dword [edi + 8]
fstp dword [edi + 8]
jmp 0x5f9bfa
fstp st(0)
fld dword [0x6d035c]
mov eax, dword [esi + 0xc]
fst dword [esi + 0x16c]
test ah, 0x10
fld st(0)
jne 0x5f9c0f
fmul dword [esi + 0x78]
jmp 0x5f9c12
fmul dword [esi + 0x7c]
fmul dword [esp + 0x10]
fsubr st(1)
fstp dword [esi + 0x16c]
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esi + 0x16c]
fld st(0)
fmul dword [edi]
fadd dword [ebp]
fstp dword [ebp]
fld st(0)
fmul dword [edi + 4]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fmul dword [edi + 8]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
mov ecx, dword [esi + 0x17c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x148]
call fcn.004f7330
mov ecx, dword [esi + 0x148]
mov ebx, eax
call fcn.004f72c0
fld dword [esp + 0x5c]
fmul dword [ebx]
push ecx
mov dword [esp + 0x30], 0
fadd dword [eax]
fld dword [esp + 0x60]
fmul dword [ebx + 8]
fadd dword [eax + 8]
fxch st(1)
fsub dword [ebp]
fstp dword [esp + 0x2c]
fsub dword [ebp + 8]
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fstp dword [esp + 0x60]
fld dword [esi + 0x80]
mov ecx, dword [esi + 0x148]
add esp, 4
fstp dword [esp + 0x1c]
call fcn.004f76d0
fmul dword [esi + 0x80]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x5f9cef
mov ecx, dword [esi + 0x148]
call fcn.004f76d0
fmul dword [esi + 0x80]
jmp 0x5f9cf5
fld dword [esi + 0x80]
fld dword [esi + 0x80]
fmul dword [esi + 0x16c]
fmul dword [esp + 0x10]
fcomp dword [esp + 0x5c]
fnstsw ax
test ah, 5
jp 0x5f9d52
fld dword [esp + 0x10]
fdiv dword [esp + 0x5c]
fmulp st(1)
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fld dword [0x6d035c]
fmul st(1)
fstp dword [esp + 0x2c]
fmul dword [esp + 0x30]
fld dword [esp + 0x28]
fadd dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x2c]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fld st(0)
fadd dword [ebp + 8]
fstp dword [ebp + 8]
jmp 0x5f9d58
fstp st(0)
fld dword [esp + 0x30]
fld dword [esp + 0x28]
fadd dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x2c]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
jmp 0x5fa0cc
fld dword [0x72c69c]
mov edx, dword [0x72c6a4]
lea edi, [esi + 0x160]
fst dword [esp + 0x1c]
fld dword [0x72c6a0]
fld dword [esp + 0x10]
fmul dword [esi + 0x74]
mov dword [esp + 0x24], edx
fsubr st(1)
fstp dword [esp + 0x20]
fstp st(0)
fld dword [esi + 0x16c]
fld st(0)
fmul dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [edi + 4]
fstp dword [edi + 4]
fmul dword [edi + 8]
fstp dword [edi + 8]
mov eax, dword [esi + 0xc]
test ah, 0x10
je 0x5f9f76
mov edx, eax
and dh, 0x7f
mov ecx, edx
mov dword [esi + 0xc], edx
and ecx, 0xfffdffff
mov dword [esi + 0xc], ecx
mov eax, dword [esi + 0xc]
test eax, 0x80000
fstp st(0)
mov dword [esi + 0x1f0], ebx
je 0x5f9e0d
fld dword [edi]
fmul dword [0x6ddb7c]
fstp dword [edi]
fld dword [edi + 4]
fmul dword [0x6ddb7c]
fstp dword [edi + 4]
fld dword [edi + 8]
fmul dword [0x6ddb7c]
fstp dword [edi + 8]
fld dword [esi + 0x1d0]
fmul dword [edi + 8]
fld dword [esi + 0x1cc]
fmul dword [edi + 4]
faddp st(1)
fld dword [edi]
fmul dword [esi + 0x1c8]
faddp st(1)
fst dword [esp + 0x14]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x5f9ee6
fld dword [esi + 0x94]
fadd dword [0x6d0348]
fmul dword [esp + 0x14]
fchs
fld st(0)
fmul dword [esi + 0x1c8]
fadd dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [esi + 0x1cc]
fadd dword [edi + 4]
fstp dword [edi + 4]
fmul dword [esi + 0x1d0]
fadd dword [edi + 8]
fstp dword [edi + 8]
fld dword [esp + 0x14]
fchs
fcomp dword [0x6de2e0]
fnstsw ax
and eax, 0x4100
jne 0x5f9f21
fld dword [esp + 0x14]
fmul dword [0x6d5460]
fld dword [0x6d0348]
fcomp st(1)
fnstsw ax
and eax, 0x4100
jne 0x5f9eb2
fstp dword [esp + 0x14]
jmp 0x5f9ebc
fstp st(0)
mov dword [esp + 0x14], 0x3f800000
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
push eax
push 1
call fcn.004e22a0
mov ecx, eax
call fcn.00456330
mov ecx, dword [esi + 0x20]
push ebx
push 1
call fcn.004e22a0
mov ecx, eax
call fcn.004565d0
jmp 0x5f9f21
fld dword [esi + 0x1cc]
fmul dword [esi + 0x74]
fmul dword [esp + 0x10]
fld st(0)
fmul dword [esi + 0x1c8]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld st(0)
fmul dword [esi + 0x1cc]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fmul dword [esi + 0x1d0]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, esi
call fcn.005fab40
fld dword [esp + 0x40]
fadd dword [esp + 0x1c]
fld dword [esp + 0x44]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x48]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [ebp]
fadd dword [esi + 0x234]
fstp dword [ebp]
fld dword [esi + 0x238]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fld dword [esi + 0x23c]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
fadd dword [edi]
mov al, byte [esp + 0x5c]
test al, al
fstp dword [edi]
fld dword [esp + 0x20]
fadd dword [edi + 4]
fstp dword [edi + 4]
fld dword [esp + 0x24]
fadd dword [edi + 8]
fstp dword [edi + 8]
je 0x5f9fa8
fld dword [esi + 0x90]
fadd dword [esi + 0x164]
fstp dword [esi + 0x164]
fld dword [edi + 8]
fld dword [edi + 4]
fld dword [edi]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
push ecx
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5f9ffd
fld dword [0x6d0348]
fdiv st(1)
fld st(0)
fmul dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [edi + 4]
fstp dword [edi + 4]
fmul dword [edi + 8]
fstp dword [edi + 8]
jmp 0x5fa005
fstp st(0)
fld dword [0x6d035c]
mov ecx, dword [esi + 0xc]
fst dword [esi + 0x16c]
test ch, 0x10
jne 0x5fa022
test ecx, 0x20000
jne 0x5fa033
fld st(0)
fmul dword [esi + 0x78]
jmp 0x5fa027
fld st(0)
fmul dword [esi + 0x7c]
fmul dword [esp + 0x10]
fsubr st(1)
fstp dword [esi + 0x16c]
fstp st(0)
fld dword [esi + 0x16c]
fcomp dword [esi + 0x8c]
fnstsw ax
test ah, 5
jp 0x5fa0aa
fld dword [esi + 0x164]
fcomp dword [0x6d035c]
fld dword [esi + 0x164]
fnstsw ax
test ah, 5
jp 0x5fa063
fchs
fmul dword [esi + 0x16c]
test ecx, 0x80000
mov dword [edi], ebx
mov dword [esi + 0x168], ebx
fstp dword [esi + 0x16c]
je 0x5fa0aa
mov ecx, dword [esi + 0x14c]
cmp ecx, ebx
je 0x5fa0a3
call fcn.004f77e0
cmp eax, esi
jne 0x5fa0a3
mov ecx, dword [esi + 0x14c]
call fcn.004f7980
mov dword [esi + 0x14c], ebx
and dword [esi + 0xc], 0xfff7ffff
fld dword [esp + 0x10]
fmul dword [esi + 0x16c]
fld st(0)
fmul dword [edi]
fadd dword [ebp]
fstp dword [ebp]
fld st(0)
fmul dword [edi + 4]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fmul dword [edi + 8]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
mov eax, dword [esi + 0xc]
test al, al
jns 0x5fa0e0
test eax, 0x20000
jne 0x5fa119
mov ebx, dword [esp + 0x10]
mov ecx, esi
push ebx
call fcn.005fad70
mov eax, dword [esi + 0xc]
test ah, 8
je 0x5fa119
mov ecx, dword [esp + 0x4c]
sub esp, 0xc
mov edx, dword [esp + 0x5c]
mov eax, esp
mov dword [esp + 0x68], esp
push ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 4], edx
call fcn.005fb460
fld dword [esi + 0x170]
fadd st(0), st(0)
fld dword [esi + 0x164]
fmul dword [esi + 0x16c]
fcom dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x5fa142
fmul dword [esp + 0x10]
fsubp st(1)
jmp 0x5fa144
fstp st(0)
fstp dword [esi + 0x184]
mov ecx, esi
call fcn.005fa910
test al, al
je 0x5fa29e
fld dword [esi + 0x1cc]
fcomp dword [0x6d035c]
fnstsw ax
and eax, 0x4100
jne 0x5fa23d
fld dword [esi + 0x158]
fsub dword [esi + 0x170]
mov byte [esp + 0x5c], 1
fsub dword [0x6e1788]
fcomp dword [esi + 0x1c0]
fnstsw ax
test ah, 0x41
jnp 0x5fa19b
mov byte [esp + 0x5c], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [esi + 0xc]
and edx, 0xff
and ah, 0xef
shl edx, 0xc
or edx, eax
mov dword [esi + 0xc], edx
fld dword [esi + 0x158]
fsub dword [esi + 0x170]
fcomp dword [esi + 0x1c0]
fnstsw ax
test ah, 5
jp 0x5fa1de
fld dword [esi + 0x1c0]
fadd dword [esi + 0x170]
fstp dword [esi + 0x158]
mov eax, dword [esi + 0xc]
test ah, 0x10
je 0x5fa2a7
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x30]
shr cl, 2
test cl, 1
jne 0x5fa213
mov dl, byte [eax + 0x30]
shr dl, 4
test dl, 1
jne 0x5fa213
mov al, byte [eax + 0x2e]
shr al, 1
test al, 1
je 0x5fa2a7
push esi
lea ecx, [esi + 0xec]
call fcn.004b36f0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x72c6ac
call fcn.0046ac40
mov ecx, esi
call fcn.005fc790
jmp 0x5fa2a7
mov eax, dword [esi + 0xc]
and ah, 0xef
mov dword [esi + 0xc], eax
fld dword [esi + 0x158]
fadd dword [esi + 0x170]
fcomp dword [esi + 0x1c0]
fnstsw ax
and eax, 0x4100
jne 0x5fa2a7
fld dword [esi + 0x1c0]
fsub dword [esi + 0x170]
fstp dword [esi + 0x158]
fld dword [esi + 0x164]
fcomp dword [0x6d035c]
fnstsw ax
and eax, 0x4100
jne 0x5fa2a7
fld dword [esi + 0x94]
fmul dword [esi + 0x164]
fchs
fstp dword [esi + 0x164]
jmp 0x5fa2a7
mov eax, dword [esi + 0xc]
and ah, 0xef
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
test ah, 0x40
jne 0x5fa2b9
mov dword [esi + 0x174], 0
test al, 0x40
je 0x5fa438
test ah, 0x10
je 0x5fa3ce
fld dword [0x72c610]
fmul dword [edi + 4]
fld dword [0x72c60c]
fmul dword [edi + 8]
lea ebx, [esi + 0x1fc]
push ecx
fsubp st(1)
fstp dword [ebx]
fld dword [0x72c608]
fmul dword [edi + 8]
fld dword [0x72c610]
fmul dword [edi]
fsubp st(1)
fstp dword [ebx + 4]
fld dword [0x72c60c]
fmul dword [edi]
fld dword [0x72c608]
fmul dword [edi + 4]
fsubp st(1)
fstp dword [ebx + 8]
fld dword [esi + 0x168]
fld dword [edi]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld dword [0x6d197c]
fdiv dword [esi + 0x170]
fmulp st(1)
fmul dword [esi + 0x16c]
fstp dword [esi + 0x208]
fld dword [ebx + 8]
fld dword [ebx + 4]
fld dword [ebx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5fa436
fld dword [0x6d0348]
fdiv st(1)
fld st(0)
fmul dword [ebx]
fstp dword [ebx]
fld st(0)
fmul dword [ebx + 4]
fstp dword [ebx + 4]
fmul dword [ebx + 8]
fstp dword [ebx + 8]
fcomp dword [0x6d035c]
fnstsw ax
and eax, 0x4100
jne 0x5fa438
fld dword [esp + 0x10]
fmul dword [esi + 0x208]
push ecx
mov ecx, dword [esi + 0x1c]
fmul dword [0x6d3150]
fstp dword [esp]
push ebx
push ebp
call fcn.00432ab0
jmp 0x5fa438
fld dword [esi + 0x78]
fmul dword [esi + 0x208]
lea ecx, [esi + 0x1fc]
fmul dword [esp + 0x10]
fsubr dword [esi + 0x208]
fst dword [esi + 0x208]
fld dword [ecx]
fcomp dword [0x72c69c]
fnstsw ax
test ah, 0x44
jp 0x5fa41c
fld dword [ecx + 4]
fcomp dword [0x72c6a0]
fnstsw ax
test ah, 0x44
jp 0x5fa41c
fld dword [ecx + 8]
fcomp dword [0x72c6a4]
fnstsw ax
test ah, 0x44
jnp 0x5fa436
fmul dword [esp + 0x10]
push ecx
fmul dword [0x6d3150]
fstp dword [esp]
push ecx
mov ecx, dword [esi + 0x1c]
push ebp
call fcn.00432ab0
jmp 0x5fa438
fstp st(0)
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005fc5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4