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

Disassembly:
sub esp, 0xc0
mov al, byte [esp + 0xd0]
push ebx
push ebp
push esi
xor edx, edx
test al, al
push edi
mov esi, ecx
mov byte [esp + 0x3e], 0
je 0x530bf3
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x1c], ecx
jmp 0x530bfe
mov dword [esp + 0x1c], edx
mov dword [esp + 0x94], edx
mov ebp, dword [esp + 0xd4]
mov al, byte [ebp + 0x60]
test al, al
mov ebx, dword [esp + 0xd8]
jne 0x530e7a
mov cl, byte [ebx + 0x60]
test cl, cl
jne 0x530e72
fld dword [ebp + 0x58]
lea ecx, [esi + 0x18]
fld dword [ebx + 0x58]
xor edi, edi
lea ecx, [ecx]
fld st(1)
fmul dword [ebp + 0x4c]
fld st(2)
fmul dword [ebp + 0x50]
fstp dword [esp + 0x88]
fld st(2)
fmul dword [ebp + 0x54]
fstp dword [esp + 0x8c]
fld st(1)
fmul dword [ebx + 0x4c]
fstp dword [esp + 0x4c]
fld st(1)
fmul dword [ebx + 0x50]
fstp dword [esp + 0x50]
fld st(1)
fmul dword [ebx + 0x54]
fstp dword [esp + 0x54]
fld st(0)
fadd dword [ebp + 8]
fstp dword [esp + 0x6c]
fld dword [esp + 0x88]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x70]
fld dword [esp + 0x8c]
fadd dword [ebp + 0x10]
fstp dword [esp + 0x74]
fld dword [esp + 0x4c]
fadd dword [ebx + 8]
fstp dword [esp + 0x60]
fld dword [esp + 0x50]
fadd dword [ebx + 0xc]
fstp dword [esp + 0x64]
fld dword [esp + 0x54]
fadd dword [ebx + 0x10]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fsub dword [esp + 0x60]
fstp dword [ecx]
fld dword [esp + 0x70]
fsub dword [esp + 0x64]
fstp dword [ecx + 4]
fld dword [esp + 0x74]
fsub dword [esp + 0x68]
fstp dword [ecx + 8]
fld dword [ecx + 8]
fld dword [ecx + 4]
fld dword [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 + 0x18]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x18]
fcomp dword [0x617e44]
fnstsw ax
test ah, 0x41
jne 0x530d29
fld dword [esp + 0x18]
fsqrt
fst dword [esp + 0x18]
fld dword [0x617dbc]
fdiv st(1)
fld st(0)
fmul dword [ecx]
fstp dword [ecx]
fld st(0)
fmul dword [ecx + 4]
fstp dword [ecx + 4]
fmul dword [ecx + 8]
fstp dword [ecx + 8]
jmp 0x530d3d
fld dword [0x617db0]
xor eax, eax
fst dword [esp + 0x18]
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
fld dword [esi + 4]
fadd dword [ebx + 0x5c]
fadd dword [ebp + 0x5c]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x530e3b
fld dword [esp + 0x8c]
fmul dword [ecx + 8]
fld dword [esp + 0x88]
fmul dword [ecx + 4]
faddp st(1)
fxch st(1)
fmul dword [ecx]
faddp st(1)
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
je 0x530e3d
fld dword [esp + 0x54]
fmul dword [ecx + 8]
fld dword [esp + 0x50]
fmul dword [ecx + 4]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [ecx]
faddp st(1)
fcomp dword [0x617db0]
fnstsw ax
test ah, 5
jnp 0x530e3d
mov al, byte [esp + 0xe0]
fstp st(0)
test al, al
fstp st(0)
je 0x530e2c
fld dword [ebp + 0x5c]
push ecx
fchs
push ecx
fld st(0)
lea edx, [esp + 0x34]
fmul dword [ecx]
lea eax, [esp + 0x48]
fadd dword [esp + 0x74]
fstp dword [esp + 0x48]
fld st(0)
fmul dword [ecx + 4]
fadd dword [esp + 0x78]
fstp dword [esp + 0x4c]
fmul dword [ecx + 8]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x50]
fld dword [ebx + 0x5c]
fld st(0)
fmul dword [ecx]
fadd dword [esp + 0x68]
fstp dword [esp + 0x34]
fld st(0)
fmul dword [ecx + 4]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x38]
fmul dword [ecx + 8]
mov ecx, esi
fadd dword [esp + 0x70]
fstp dword [esp + 0x3c]
fld dword [ebx + 0x5c]
fadd dword [ebp + 0x5c]
fsubr dword [esp + 0x20]
fstp dword [esp]
push edx
push ebx
push eax
push ebp
call fcn.0052ddf0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc0
ret 0x10
fstp st(0)
fmul dword [0x617dc8]
inc edi
cmp edi, 2
jl 0x530c30
inc edx
fstp st(0)
cmp edx, 2
fmul dword [0x617dc8]
jl 0x530c28
mov al, byte [esp + 0x3e]
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0x10
test al, al
je 0x531b07
mov al, byte [ebx + 0x60]
test al, al
je 0x531b07
fld dword [ebp + 0x54]
lea eax, [ebp + 0x4c]
fmul dword [ebx + 0x54]
lea ecx, [ebx + 0x4c]
fld dword [eax + 4]
push ecx
fmul dword [ecx + 4]
push eax
faddp st(1)
fld dword [eax]
fmul dword [ecx]
lea ecx, [esp + 0x54]
faddp st(1)
fstp dword [esp + 0xac]
call fcn.00560b90
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
call fcn.00405430
fstp dword [esp + 0x28]
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0x94], 0
mov dword [esp + 0x18], ecx
lea edi, [esi + 0xc]
jmp 0x530f00
mov edx, dword [ebx + 0x58]
mov dword [esp + 0x90], 0
mov dword [esp + 0x58], edx
fld dword [esp + 0x18]
lea edx, [ebp + 0x4c]
fmul dword [edx]
lea ecx, [ebx + 0x4c]
fadd dword [ebp + 8]
fstp dword [esp + 0x98]
fld dword [esp + 0x18]
fmul dword [edx + 4]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x9c]
fld dword [esp + 0x18]
fmul dword [edx + 8]
fadd dword [ebp + 0x10]
fstp dword [esp + 0xa0]
fld dword [esp + 0x58]
fmul dword [ecx]
fadd dword [ebx + 8]
fstp dword [esp + 0x78]
fld dword [esp + 0x58]
fmul dword [ecx + 4]
fadd dword [ebx + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x58]
fmul dword [ecx + 8]
fadd dword [ebx + 0x10]
fstp dword [esp + 0x80]
fld dword [esp + 0x98]
fsub dword [esp + 0x78]
fstp dword [edi]
fld dword [esp + 0x9c]
fsub dword [esp + 0x7c]
fstp dword [edi + 4]
fld dword [esp + 0xa0]
fsub dword [esp + 0x80]
fstp dword [edi + 8]
fld dword [esp + 0x58]
fmul dword [esp + 0x18]
fmul dword [esp + 0xa4]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
je 0x5317e7
fld dword [ebx + 0x5c]
fld dword [ebp + 0x5c]
fst dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x530fdb
fstp st(0)
fld dword [esp + 0x1c]
fld dword [esi + 4]
fdiv st(1)
fld dword [esp + 0x28]
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x5311df
fld dword [esp + 0x58]
fcomp dword [0x617db0]
fnstsw ax
test ah, 5
jp 0x53100c
fld dword [0x617dc8]
jmp 0x53102b
fld dword [esp + 0x58]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x531025
fld dword [0x617dbc]
jmp 0x53102b
fld dword [0x617db0]
fld st(0)
fmul dword [ecx]
fstp dword [esi + 0x18]
fld st(0)
fmul dword [ecx + 4]
fstp dword [esi + 0x1c]
fmul dword [ecx + 8]
fstp dword [esi + 0x20]
fld dword [esi + 0x20]
fmul dword [edi + 8]
fld dword [esi + 0x1c]
fmul dword [edi + 4]
faddp st(1)
fld dword [esi + 0x18]
fmul dword [edi]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [esi + 4]
fnstsw ax
test ah, 5
jp 0x5317e7
fld dword [ebx + 0x58]
fld dword [ebp + 0x58]
fst dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x531080
fstp st(0)
fld dword [esp + 0x1c]
fld dword [esp + 0x10]
fchs
fxch st(1)
fadd st(0), st(0)
fcompp
fnstsw ax
test ah, 0x41
jne 0x5317e7
fld dword [esp + 0x10]
fmul dword [esi + 0x18]
fadd dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x10]
fmul dword [esi + 0x1c]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x7c]
fld dword [esp + 0x10]
fmul dword [esi + 0x20]
fadd dword [esp + 0x80]
fstp dword [esp + 0x80]
fld dword [ebp + 0x5c]
fcomp dword [ebx + 0x5c]
fnstsw ax
test ah, 5
jp 0x531101
lea eax, [esp + 0xc4]
push eax
mov eax, dword [ebx + 0x5c]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [ebp + 0x5c]
push 1
push eax
push ecx
push edx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xb4]
push eax
jmp 0x531129
lea edx, [esp + 0xc4]
push edx
mov edx, dword [ebp + 0x5c]
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 0x5c]
push 1
push edx
push eax
push ecx
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.0052da30
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x5317e7
mov al, byte [esp + 0xe0]
test al, al
je 0x531af8
fld dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fchs
lea edi, [esi + 0x18]
fst dword [esp + 0x24]
push edi
fld st(0)
push eax
fmul dword [edi]
lea ecx, [esp + 0x34]
push ecx
push ebx
fadd dword [esp + 0x50]
lea edx, [esp + 0x50]
push edx
push ebp
fstp dword [esp + 0x44]
mov ecx, esi
fld st(0)
fmul dword [edi + 4]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x48]
fmul dword [edi + 8]
fadd dword [esp + 0x60]
fstp dword [esp + 0x4c]
call fcn.0052ddf0
cmp dword [esp + 0x20], 2
jne 0x5311d0
mov eax, dword [esp + 0x24]
push edi
push eax
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x38]
call fcn.004a5e40
mov edx, dword [esp + 0x10]
push edi
push edx
lea eax, [esp + 0x34]
push eax
push ebx
lea ecx, [esp + 0xd4]
push ecx
push ebp
mov ecx, esi
call fcn.0052ddf0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc0
ret 0x10
fld dword [edx + 8]
fmul dword [edi + 8]
fld dword [edx + 4]
fmul dword [edi + 4]
faddp st(1)
fld dword [edx]
fmul dword [edi]
faddp st(1)
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fld dword [esp + 0x28]
fmul dword [ebx + 0x5c]
and eax, 0x7fffffff
mov dword [esp + 0x1c], eax
fsubr dword [esp + 0x1c]
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
je 0x5317e5
fld dword [ecx + 8]
fmul dword [edi + 8]
fld dword [ecx + 4]
fmul dword [edi + 4]
faddp st(1)
fld dword [ecx]
fmul dword [edi]
faddp st(1)
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fld dword [esp + 0x28]
fmul dword [ebp + 0x5c]
and ecx, 0x7fffffff
mov dword [esp + 0x1c], ecx
fsubr dword [esp + 0x1c]
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
je 0x5317e3
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jp 0x531296
mov edx, dword [esp + 0x58]
push edx
mov byte [esp + 0x43], 1
call fcn.00413700
fld st(0)
fmul dword [ebx + 0x4c]
lea ebp, [esi + 0x18]
add esp, 4
fstp dword [ebp]
fld st(0)
fmul dword [ebx + 0x50]
fstp dword [ebp + 4]
fmul dword [ebx + 0x54]
fstp dword [ebp + 8]
jmp 0x5312ed
mov eax, dword [esp + 0x18]
push eax
mov byte [esp + 0x43], 0
call fcn.00413700
fld st(0)
mov eax, dword [esp + 0xd8]
fmul dword [eax + 0x4c]
add esp, 4
add eax, 0x4c
lea ebp, [esi + 0x18]
fstp dword [ebp]
fld st(0)
fmul dword [eax + 4]
fstp dword [ebp + 4]
fmul dword [eax + 8]
fstp dword [ebp + 8]
fld dword [edi]
fmul dword [0x617dc8]
fstp dword [edi]
fld dword [edi + 4]
fmul dword [0x617dc8]
fstp dword [edi + 4]
fld dword [edi + 8]
fmul dword [0x617dc8]
fstp dword [edi + 8]
push 0
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x8c]
push edx
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esp + 0xe4]
add eax, 0x4c
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xb0]
push ecx
mov ecx, esi
call fcn.0052ccf0
fld dword [esp + 0x98]
fsub dword [esp + 0x84]
fld dword [esp + 0x9c]
fsub dword [esp + 0x88]
fld dword [esp + 0xa0]
fsub dword [esp + 0x8c]
fld dword [esp + 0x78]
fsub dword [esp + 0x84]
fstp dword [esp + 0x6c]
fld dword [esp + 0x7c]
fsub dword [esp + 0x88]
fstp dword [esp + 0x70]
fld dword [esp + 0x80]
fsub dword [esp + 0x8c]
fstp dword [esp + 0x74]
fld st(2)
fmul dword [esp + 0x4c]
fld dword [esp + 0x54]
fmul st(2)
faddp st(1)
fld dword [esp + 0x50]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x6c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x54]
fmul dword [esp + 0x74]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x70]
faddp st(1)
fstp dword [esp + 0x14]
fld st(2)
fmulp st(3)
fld st(0)
fmul st(1)
faddp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
fsubp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x6c]
fmul dword [esp + 0x6c]
fld dword [esp + 0x74]
fmul dword [esp + 0x74]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [esp + 0x70]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fsubp st(1)
fstp dword [esp + 0x20]
fld dword [0x617db0]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x531418
fstp st(0)
fld dword [0x617db0]
fld dword [0x617db0]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x531431
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0xd4]
fld dword [edx + 0x5c]
fld st(0)
fmul st(1)
fsubrp st(2)
fstp st(0)
fcom dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x531454
fsqrt
jmp 0x53145c
fstp st(0)
fld dword [0x617db0]
fld dword [ebx + 0x5c]
fld st(0)
fmulp st(1)
fsub dword [esp + 0x20]
fcom dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x531478
fsqrt
jmp 0x531480
fstp st(0)
fld dword [0x617db0]
fld dword [esp + 0x38]
fsub dword [esp + 0x14]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fadd st(1)
and eax, 0x7fffffff
mov dword [esp + 0xb4], eax
fsubr dword [esp + 0xb4]
fcomp dword [esi + 4]
fnstsw ax
fstp st(0)
test ah, 5
jp 0x5317da
mov al, byte [esp + 0x3f]
test al, al
je 0x5314d8
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x98]
lea ebx, [esp + 0x78]
jmp 0x5314f1
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
lea eax, [esp + 0x78]
lea ebx, [esp + 0x98]
fld dword [esp + 0x28]
mov dword [esp + 0x20], eax
fmul dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x5c], edx
fsubr dword [0x617dbc]
fcom dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x53151c
fsqrt
jmp 0x531524
fstp st(0)
fld dword [0x617db0]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0xa8]
push edx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x1c]
fmul dword [edx + 0x5c]
mov edx, dword [esp + 0x28]
push 1
push ecx
lea eax, [ecx + 0x4c]
fstp dword [esp]
mov ecx, dword [ecx + 0x5c]
push ecx
push eax
push edx
push ebx
mov ecx, esi
call fcn.0052da30
fld dword [esp + 0x40]
cmp eax, 1
fsub dword [ebx]
mov dword [esp + 0x38], eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x44]
fsub dword [ebx + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x48]
fsub dword [ebx + 8]
fst dword [esp + 0x34]
fmul dword [ebp + 8]
fld dword [esp + 0x30]
fmul dword [ebp + 4]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [ebp]
faddp st(1)
fstp dword [esp + 0x10]
je 0x53159e
cmp eax, 2
jne 0x531606
fld dword [esp + 0x10]
fcomp dword [esi + 4]
fnstsw ax
test ah, 5
jp 0x531606
fld dword [esp + 0x28]
fcomp dword [0x617db4]
fnstsw ax
test ah, 5
jp 0x531606
mov al, byte [esp + 0xe0]
test al, al
je 0x531af8
fld dword [esp + 0x10]
push ebp
push ecx
fchs
lea eax, [esp + 0x48]
fstp dword [esp]
push eax
lea ecx, [esp + 0x38]
call fcn.004a5e40
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
push ebp
push ecx
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
push ecx
push edx
mov ecx, esi
call fcn.0052ddf0
fld dword [esp + 0xa8]
mov eax, dword [esp + 0x38]
cmp eax, 2
fsub dword [ebx]
fstp dword [esp + 0x2c]
fld dword [esp + 0xac]
fsub dword [ebx + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0xb0]
fsub dword [ebx + 8]
fst dword [esp + 0x34]
fmul dword [ebp + 8]
fld dword [esp + 0x30]
fmul dword [ebp + 4]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [ebp]
faddp st(1)
fstp dword [esp + 0x10]
jne 0x5316bf
fld dword [esp + 0x10]
fcomp dword [esi + 4]
fnstsw ax
test ah, 5
jp 0x5316bf
fld dword [esp + 0x28]
fcomp dword [0x617db4]
fnstsw ax
test ah, 5
jp 0x5316bf
mov al, byte [esp + 0xe0]
test al, al
je 0x531af8
fld dword [esp + 0x10]
push ebp
push ecx
fchs
lea eax, [esp + 0xb0]
fstp dword [esp]
push eax
lea ecx, [esp + 0x38]
call fcn.004a5e40
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
push ebp
push ecx
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xb8]
push ecx
push edx
mov ecx, esi
call fcn.0052ddf0
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push eax
lea ecx, [ebp + 0x4c]
push ecx
lea ecx, [esp + 0x68]
call fcn.00560b90
lea ecx, [esp + 0x60]
call fcn.00405430
fstp st(0)
mov eax, dword [esp + 0x5c]
fld dword [esp + 0x68]
fmul dword [eax + 0x54]
fld dword [esp + 0x64]
fmul dword [eax + 0x50]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [eax + 0x4c]
faddp st(1)
fld dword [eax + 0x54]
fmul dword [edi + 8]
fld dword [eax + 0x50]
fmul dword [edi + 4]
faddp st(1)
fld dword [edi]
fmul dword [eax + 0x4c]
faddp st(1)
fld dword [ebp + 0x5c]
fld st(2)
fmul st(3)
fsubr dword [0x617dbc]
fmul st(1)
fmul st(1)
fstp dword [esp + 0x38]
fstp st(0)
fld dword [esp + 0x68]
fmul dword [edi + 8]
fld dword [esp + 0x64]
fmul dword [edi + 4]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [edi]
faddp st(1)
fld st(1)
fmul st(3)
fsubp st(1)
fmul dword [ebp + 0x5c]
fadd st(0), st(0)
fstp dword [esp + 0x10]
fld dword [eax + 0x5c]
fld dword [edi + 8]
fmul dword [edi + 8]
fld dword [edi + 4]
fmul dword [edi + 4]
faddp st(1)
fld dword [edi]
fmul dword [edi]
faddp st(1)
fld st(2)
fmul st(3)
fsubp st(1)
fld st(1)
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fmul dword [esp + 0x38]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fld st(1)
fmul dword [0x617fc0]
fsubp st(1)
fstp dword [esp + 0x14]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
and edx, 0x7fffffff
mov dword [esp + 0x24], edx
fld dword [esp + 0x24]
fcomp dword [0x617eec]
fld dword [esp + 0x14]
fnstsw ax
fcomp dword [0x617db0]
test ah, 5
fnstsw ax
jnp 0x531844
test ah, 1
je 0x5318df
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xd4]
jmp 0x5317e7
fstp st(0)
fstp st(0)
fld dword [esp + 0x58]
mov eax, dword [esp + 0x90]
fmul dword [0x617dc8]
inc eax
cmp eax, 2
mov dword [esp + 0x90], eax
fstp dword [esp + 0x58]
jl 0x530f12
fld dword [esp + 0x18]
mov eax, dword [esp + 0x94]
fmul dword [0x617dc8]
inc eax
cmp eax, 2
mov dword [esp + 0x94], eax
fstp dword [esp + 0x18]
jl 0x530f00
mov al, byte [esp + 0x3e]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0x10
test ah, 1
jne 0x5318a8
mov edx, dword [esp + 0x10]
push edx
call fcn.00413700
fld dword [esp + 0x18]
fsqrt
add esp, 4
fst dword [esp + 0x24]
fmulp st(1)
fadd dword [esp + 0x10]
fmul dword [0x617e54]
fst dword [esp + 0x14]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x44
jnp 0x5318a8
fld dword [esp + 0x38]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x44
jnp 0x5318a8
fld dword [esp + 0x14]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x28]
jmp 0x531919
mov ecx, edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
call fcn.0040a550
mov eax, dword [esp + 0x5c]
fcomp dword [eax + 0x5c]
fnstsw ax
test ah, 5
jp 0x531919
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x28], 0xbf800000
jmp 0x531919
fld dword [esp + 0x14]
fsqrt
fld dword [0x617dbc]
fdiv dword [esp + 0x38]
fld st(1)
fsub dword [esp + 0x10]
fmul st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fchs
fsub st(2)
fmul st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x28]
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x18]
mov edx, ecx
and edx, 0x7fffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x24], edx
fld dword [esp + 0x24]
fcomp dword [0x617dbc]
fnstsw ax
test ah, 0x41
jnp 0x53194d
mov eax, ecx
push eax
call fcn.00413700
fstp dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x28]
mov edx, ecx
and edx, 0x7fffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x24], edx
fld dword [esp + 0x24]
fcomp dword [0x617dbc]
fnstsw ax
test ah, 0x41
jnp 0x531981
mov eax, ecx
push eax
call fcn.00413700
fstp dword [esp + 0x2c]
add esp, 4
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
fmul dword [ebp + 0x5c]
lea edi, [esi + 0x18]
fld dword [esp + 0x60]
fmul st(1)
fadd dword [ecx]
fstp dword [esp + 0x40]
fld dword [esp + 0x64]
fmul st(1)
fadd dword [ecx + 4]
fstp dword [esp + 0x44]
fld dword [esp + 0x68]
fmul st(1)
fadd dword [ecx + 8]
fstp dword [esp + 0x48]
fstp st(0)
fld dword [esp + 0x40]
fsub dword [ebx]
fstp dword [esp + 0x2c]
fld dword [esp + 0x44]
fsub dword [ebx + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x48]
fsub dword [ebx + 8]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fmul dword [edi + 8]
fld dword [esp + 0x30]
fmul dword [edi + 4]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [edi]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [esi + 4]
fnstsw ax
test ah, 5
jp 0x531a46
mov al, byte [esp + 0xe0]
test al, al
je 0x531af8
fld dword [esp + 0x10]
push edi
push ecx
fchs
lea ecx, [esp + 0x48]
fstp dword [esp]
push ecx
lea ecx, [esp + 0x38]
call fcn.004a5e40
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
push edi
push edx
lea eax, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x50]
push edx
push ebp
mov ecx, esi
call fcn.0052ddf0
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x28]
fmul dword [ebp + 0x5c]
fld dword [esp + 0x60]
fmul st(1)
fadd dword [ecx]
fstp dword [esp + 0x40]
fld dword [esp + 0x64]
fmul st(1)
fadd dword [ecx + 4]
fstp dword [esp + 0x44]
fld dword [esp + 0x68]
fmul st(1)
fadd dword [ecx + 8]
fstp dword [esp + 0x48]
fstp st(0)
fld dword [esp + 0x40]
fsub dword [ebx]
fstp dword [esp + 0x2c]
fld dword [esp + 0x44]
fsub dword [ebx + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x48]
fsub dword [ebx + 8]
fst dword [esp + 0x34]
fmul dword [edi + 8]
fld dword [esp + 0x30]
fmul dword [edi + 4]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [edi]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [esi + 4]
fnstsw ax
test ah, 5
jp 0x531af8
mov al, byte [esp + 0xe0]
test al, al
je 0x531af8
fld dword [esp + 0x10]
push edi
push ecx
fchs
lea eax, [esp + 0x48]
fstp dword [esp]
push eax
lea ecx, [esp + 0x38]
call fcn.004a5e40
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
push edi
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x50]
push ecx
push ebp
mov ecx, esi
call fcn.0052ddf0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc0
ret 0x10
mov al, byte [ebx + 0x60]
test al, al
mov edi, ebp
je 0x531b38
fld dword [esi + 0xc]
mov edi, ebx
fmul dword [0x617dc8]
mov ebx, ebp
fstp dword [esi + 0xc]
fld dword [esi + 0x10]
fmul dword [0x617dc8]
fstp dword [esi + 0x10]
fld dword [esi + 0x14]
fmul dword [0x617dc8]
fstp dword [esi + 0x14]
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x14], eax
mov dword [esp + 0x90], edx
jmp 0x531b50
fld dword [esp + 0x14]
mov ecx, dword [esp + 0xdc]
fmul dword [ebx + 0x4c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
push ecx
fadd dword [ebx + 8]
push edx
push eax
lea ecx, [esp + 0x2c]
fstp dword [esp + 0x90]
push ecx
fld dword [esp + 0x24]
lea eax, [esi + 0x18]
fmul dword [ebx + 0x50]
push eax
lea eax, [esp + 0x98]
mov ecx, esi
fadd dword [ebx + 0xc]
fstp dword [esp + 0x9c]
fld dword [esp + 0x28]
fmul dword [ebx + 0x54]
fadd dword [ebx + 0x10]
fstp dword [esp + 0xa0]
fld dword [edi + 8]
fsub dword [esp + 0x98]
fstp dword [esi + 0xc]
fld dword [edi + 0xc]
fsub dword [esp + 0x9c]
fstp dword [esi + 0x10]
fld dword [edi + 0x10]
fsub dword [esp + 0xa0]
fstp dword [esi + 0x14]
mov edx, dword [ebx + 0x5c]
fld dword [esi + 0x14]
push edx
fmul dword [esi + 0x14]
push eax
fld dword [esi + 0x10]
push edi
fmul dword [esi + 0x10]
faddp st(1)
fld dword [esi + 0xc]
fmul dword [esi + 0xc]
faddp st(1)
fstp dword [esp + 0x40]
call fcn.0052d5b0
test al, al
je 0x531c88
mov al, byte [esp + 0xe0]
test al, al
mov byte [esp + 0x3e], 1
je 0x531af8
cmp edi, ebp
lea eax, [esi + 0x18]
jne 0x531c2d
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
lea eax, [esp + 0x50]
push eax
push edi
jmp 0x531c81
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x4c], ecx
fld dword [esp + 0x4c]
fmul dword [0x617dc8]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
fstp dword [esp + 0x4c]
push ecx
fld dword [esp + 0x54]
mov dword [esp + 0x58], eax
fmul dword [0x617dc8]
push edx
lea eax, [esp + 0x48]
push eax
fstp dword [esp + 0x5c]
push edi
fld dword [esp + 0x64]
lea ecx, [esp + 0x3c]
fmul dword [0x617dc8]
push ecx
push ebx
fstp dword [esp + 0x6c]
mov ecx, esi
call fcn.0052ddf0
fld dword [esp + 0x14]
mov eax, dword [esp + 0x90]
fmul dword [0x617dc8]
inc eax
cmp eax, 2
mov dword [esp + 0x90], eax
fstp dword [esp + 0x14]
jl 0x531b50
mov al, byte [esp + 0x3e]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0x10