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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x77905b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
cmp byte [0x992082], 0
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0xd8], 0x1b01fb4
je 0x581fc9
push 0x1b01fb4
call dword [0x794290]
mov eax, 1
mov byte [esp + 0xdc], al
fld dword [0x7bb5c8]
add dword [0x97cb58], eax
fstp dword [esp + 0x38]
fldz
xor edi, edi
test byte [0x1b0204c], al
mov dword [esp + 0xf4], edi
jne 0x58203c
or dword [0x1b0204c], eax
fst dword [0x1b02020]
fst dword [0x1b02024]
push 0x2c
fst dword [0x1b02028]
push edi
fst dword [0x1b0202c]
push 0x1b0201c
fst dword [0x1b02030]
fstp dword [0x1b02034]
call fcn.0074d440
fldz
add esp, 0xc
fstp dword [0x1b02048]
jmp 0x58203e
fstp st(0)
mov dword [0x1b02038], edi
mov byte [esp + 0x23], 0
mov byte [esp + 0x37], 0
mov dword [esp + 0x94], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
lea eax, [esp + 0x37]
push eax
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x27]
push ecx
lea edx, [esp + 0x94]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x104], 1
call fcn.00580760
fldz
cmp byte [esp + 0x23], 0
fst dword [esp + 0x3c]
mov ebx, dword [ebp + 0x10]
fst dword [esp + 0x40]
mov edi, dword [ebp + 0xc]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fstp dword [esp + 0x50]
je 0x5821f6
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0xc8]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x5821f6
lea ecx, [ecx]
mov esi, dword [eax]
mov ecx, dword [0x97cb58]
cmp dword [esi + 0x29c], ecx
je 0x5821e3
mov dword [esi + 0x29c], ecx
mov ecx, dword [ebp + 0x14]
test dword [esi + 0x28], ecx
je 0x5821e3
cmp dword [esi + 0x2a0], 0
jne 0x5821e3
lea edx, [esp + 0x3c]
push edx
lea ecx, [esi + 0x10c]
push edi
call fcn.00425e50
lea eax, [esp + 0x48]
push eax
push ebx
lea ecx, [esi + 0x10c]
call fcn.00425e50
fld dword [esp + 0x3c]
fdiv dword [esi + 0x14c]
push 1
push 0x1b0201c
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fdiv dword [esi + 0x14c]
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x60]
mov edx, dword [esi]
mov edx, dword [edx + 0x88]
call edx
test al, al
je 0x5821df
fld dword [0x1b02048]
fld dword [esp + 0x38]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5821df
mov eax, dword [ebp + 0x18]
mov edi, eax
mov ecx, 0xc
mov esi, 0x1b0201c
rep movsd dword es:[edi], dword [esi]
fld dword [eax + 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
fstp dword [esp]
push ebx
push ecx
lea ecx, [eax + 4]
call fcn.00480350
fld dword [0x1b02048]
mov edi, dword [ebp + 0xc]
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x5820d0
mov esi, dword [esp + 0x14]
fld dword [edi]
fld dword [ebx]
fcompp
fnstsw ax
test ah, 1
jne 0x58222a
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x80], edx
mov edx, dword [ebx]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebx + 8]
jmp 0x58224f
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x80], edx
mov edx, dword [edi]
mov dword [esp + 0x84], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x88], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x70], edx
fld dword [esp + 0x70]
lea edx, [esp + 0x1c]
mov dword [esp + 0x74], eax
push edx
lea eax, [esp + 0x28]
push eax
sub esp, 8
fstp dword [esp + 4]
mov dword [esp + 0x88], ecx
fld dword [esp + 0x90]
fstp dword [esp]
call fcn.0057dbd0
fld dword [esp + 0x94]
add esp, 0x10
fld dword [esp + 0x74]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5822a1
fxch st(1)
fst dword [esp + 0x18]
jmp 0x5822a7
fst dword [esp + 0x18]
fxch st(1)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5822b4
fstp st(1)
jmp 0x5822b6
fstp st(0)
lea ecx, [esp + 0x58]
fstp dword [esp + 0x10]
fld dword [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.0057dbd0
xor ecx, ecx
xor edx, edx
add esp, 0x10
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
cmp byte [esp + 0x23], dl
mov byte [esp + 0xf4], 2
je 0x582312
mov eax, dword [esi + 0x44]
add eax, 4
push eax
lea ecx, [esp + 0x64]
call fcn.004892b0
mov edx, dword [esp + 0x64]
xor ecx, ecx
cmp byte [esp + 0x37], 0
je 0x58233c
mov eax, dword [ebp + 8]
cmp eax, 2
jb 0x58233c
cmp dword [esi + 0x3c], eax
jbe 0x58233c
mov ecx, dword [esi + 0x44]
lea edx, [ecx + eax*4]
push edx
lea ecx, [esp + 0x64]
call fcn.004892b0
mov edx, dword [esp + 0x64]
xor ecx, ecx
cmp edx, ecx
je 0x58234b
mov eax, dword [esp + 0x68]
sub eax, edx
sar eax, 2
jne 0x58238a
fld dword [0x7bb5c8]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x44
jnp 0x582360
mov bl, 1
jmp 0x582362
xor bl, bl
cmp edx, ecx
je 0x582371
push edx
call fcn.0074c96f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x94]
push ecx
jmp 0x582e2c
fld dword [esp + 0x80]
mov esi, dword [esp + 0x58]
fld st(0)
mov ecx, dword [esp + 0x1c]
fld dword [esp + 0x70]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x97cb88]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5823da
cmp dword [esp + 0x24], ecx
je 0x582743
fld dword [esp + 0x84]
fld st(0)
fld dword [esp + 0x74]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x5827db
cmp dword [esp + 0x28], esi
jne 0x5827db
cmp dword [esp + 0x24], ecx
fstp st(4)
fstp st(2)
fstp st(1)
fstp st(1)
fstp st(0)
je 0x582749
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x18], 1
add ecx, 1
mov dword [esp + 0x30], 0
test ecx, ecx
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
jbe 0x582df2
mov dword [esp + 0x5c], ecx
and eax, 0xf
mov dword [esp + 0x58], eax
mov eax, esi
and eax, 0xf
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], esi
jmp 0x582480
test edx, edx
je 0x5827b3
mov eax, dword [esp + 0x68]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x5827b3
mov eax, dword [esp + 0x14]
mov edx, dword [edx + esi*4]
shl eax, 4
add eax, dword [esp + 0x58]
mov dword [esp + 0x28], 0
imul eax, eax, 0xe0
add eax, dword [edx + 0xc]
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x7c], eax
jle 0x5827a1
lea ebx, [ebx]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + eax*4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + edx*4 + 4]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x582789
jmp 0x582500
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
mov edx, dword [0x97cb58]
cmp dword [esi + 0x29c], edx
je 0x582776
mov ecx, dword [ebp + 0x14]
test dword [esi + 0x28], ecx
mov eax, edx
mov dword [esi + 0x29c], eax
je 0x582776
cmp dword [esi + 0x2a0], 0
jne 0x582776
fldz
lea edx, [esp + 0x70]
push edx
fst dword [esp + 0x74]
lea eax, [esp + 0x9c]
fst dword [esp + 0x78]
push eax
fstp dword [esp + 0x80]
push ebx
push edi
lea ecx, [esi + 0x170]
call fcn.005ac220
test al, al
je 0x582776
fld dword [esi + 0x110]
push 1
fmul dword [edi + 4]
push 0x1b0201c
fld dword [edi]
fmul dword [esi + 0x10c]
faddp st(1)
fld dword [esi + 0x114]
fmul dword [edi + 8]
faddp st(1)
fadd dword [esi + 0x118]
fstp dword [esp + 0x44]
fld dword [esi + 0x120]
fmul dword [edi + 4]
fld dword [esi + 0x11c]
fmul dword [edi]
faddp st(1)
fld dword [esi + 0x124]
fmul dword [edi + 8]
faddp st(1)
fadd dword [esi + 0x128]
fstp dword [esp + 0x48]
fld dword [esi + 0x130]
fmul dword [edi + 4]
fld dword [esi + 0x12c]
fmul dword [edi]
faddp st(1)
fld dword [esi + 0x134]
fmul dword [edi + 8]
faddp st(1)
fadd dword [esi + 0x138]
fstp dword [esp + 0x4c]
fld dword [esi + 0x110]
fmul dword [ebx + 4]
fld dword [esi + 0x10c]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 0x114]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [esi + 0x118]
fstp dword [esp + 0x50]
fld dword [esi + 0x120]
fmul dword [ebx + 4]
fld dword [esi + 0x11c]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 0x124]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [esi + 0x128]
fstp dword [esp + 0x54]
fld dword [esi + 0x130]
fmul dword [ebx + 4]
fld dword [esi + 0x12c]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 0x134]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [esi + 0x138]
fstp dword [esp + 0x58]
fld dword [esp + 0x44]
fdiv dword [esi + 0x14c]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fdiv dword [esi + 0x14c]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x58]
mov edx, dword [esi]
mov edx, dword [edx + 0x88]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call edx
test al, al
jne 0x5826dd
cmp byte [esi + 0x2a4], al
je 0x582776
fld dword [0x1b02048]
fld dword [esp + 0x38]
fcompp
fnstsw ax
test ah, 0x41
jne 0x582776
mov eax, dword [ebp + 0x18]
mov edi, eax
mov ecx, 0xc
mov esi, 0x1b0201c
rep movsd dword es:[edi], dword [esi]
fld dword [eax + 0x2c]
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x582767
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x582767
mov eax, dword [ebp + 0x18]
add eax, 4
push eax
push ecx
mov ecx, dword [ebp + 0xc]
fstp dword [esp]
push ebx
push ecx
call dword [0x97e214]
add esp, 0x10
jmp 0x582769
fstp st(2)
fstp st(0)
fstp st(0)
sub esi, dword [esp + 0x28]
mov dword [esp + 0x18], 0
add esi, 1
mov ecx, esi
mov dword [esp + 0x30], 1
jmp 0x582449
fstp st(0)
fld dword [0x1b02048]
mov edi, dword [ebp + 0xc]
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x582500
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
jl 0x5824d0
add dword [esp + 0x54], 1
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
jmp 0x582480
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
add eax, dword [esp + 0x18]
add esi, dword [esp + 0x30]
sub dword [esp + 0x5c], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
jne 0x582465
jmp 0x582df2
fxch st(4)
fst dword [esp + 0x24]
fld st(0)
fld st(4)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x582de8
fld st(3)
fsub st(1)
fst qword [esp + 0xc0]
fld st(2)
fsubp st(6)
fxch st(5)
fst qword [esp + 0xe0]
jmp 0x582836
fld qword [esp + 0xc0]
fld qword [esp + 0xe0]
fld dword [esp + 0x84]
fld dword [esp + 0x80]
fld dword [0x97cb88]
fxch st(4)
fxch st(5)
fxch st(4)
fxch st(3)
fld dword [esp + 0x24]
fld st(0)
faddp st(5)
fxch st(4)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x58284d
fstp st(5)
jmp 0x58284f
fstp st(0)
fxch st(4)
lea eax, [esp + 0x14]
fstp dword [esp + 0x28]
push eax
fld st(2)
lea ecx, [esp + 0xa8]
fsub st(1)
push ecx
sub esp, 8
fdiv st(5)
fstp dword [esp + 0x2c]
fld dword [esp + 0x38]
fld st(0)
fsubrp st(2)
fxch st(1)
fdivrp st(5)
fxch st(4)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(3)
fadd st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x28]
fmulp st(3)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0057dbd0
fld dword [esp + 0x34]
add esp, 0x10
fst dword [esp + 0x1c]
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5828ea
fst qword [esp + 0x98]
fld qword [0x890658]
call fcn.0075115a
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fsubr qword [esp + 0x98]
fstp dword [esp + 0x54]
fld dword [esp + 0x24]
jmp 0x582911
fld qword [0x890658]
call fcn.0075115a
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fsubr qword [0x890658]
fld dword [esp + 0x24]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x54]
mov eax, dword [esp + 0xa4]
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
ja 0x582dc3
fld dword [esp + 0x28]
mov edi, dword [ebp + 0xc]
fsub st(1)
mov esi, eax
fst qword [esp + 0xc8]
fld dword [esp + 0x10]
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fxch st(1)
fst qword [esp + 0xd0]
jmp 0x58296c
fstp st(0)
fld dword [esp + 0x5c]
fld qword [esp + 0xc8]
fld qword [esp + 0xd0]
fld dword [esp + 0x24]
fxch st(3)
fxch st(1)
fld dword [esp + 0x1c]
mov eax, esi
fsub st(4)
and eax, 0xf
mov dword [esp + 0x98], eax
fdiv st(3)
fstp dword [esp + 0x30]
fld dword [esp + 0x54]
fsubrp st(4)
fxch st(3)
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld1
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5829a7
fstp st(1)
jmp 0x5829a9
fstp st(0)
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
fmul st(2)
fadd st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x1c]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5829de
fxch st(1)
fst dword [esp + 0x10]
jmp 0x5829e4
fst dword [esp + 0x10]
fxch st(1)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5829f1
fstp st(1)
jmp 0x5829f3
fstp st(0)
lea edx, [esp + 0x58]
fstp dword [esp + 0x30]
fld dword [esp + 0x10]
push edx
lea eax, [esp + 0xb0]
push eax
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.0057dbd0
mov eax, dword [esp + 0xbc]
add esp, 0x10
cmp eax, dword [esp + 0x58]
mov ecx, eax
mov dword [esp + 0x1c], eax
ja 0x582d89
mov edx, dword [esp + 0x64]
lea esp, [esp]
mov eax, ecx
and eax, 0xf
xor esi, esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0x10], esi
test edx, edx
je 0x582d70
mov eax, dword [esp + 0x68]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x582d70
mov eax, dword [esp + 0xa8]
mov edx, dword [edx + esi*4]
shl eax, 4
add eax, dword [esp + 0x98]
mov dword [esp + 0x30], 0
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 5
add ecx, dword [edx + 0xc]
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x7c], ecx
jle 0x582d5e
jmp 0x582ab0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + eax*4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + edx*4 + 4]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x582d46
jmp 0x582ae0
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
mov edx, dword [0x97cb58]
cmp dword [esi + 0x29c], edx
je 0x582d33
mov ecx, dword [ebp + 0x14]
test dword [esi + 0x28], ecx
mov eax, edx
mov dword [esi + 0x29c], eax
je 0x582d33
cmp dword [esi + 0x2a0], 0
jne 0x582d33
fldz
lea edx, [esp + 0xb0]
push edx
fst dword [esp + 0xb4]
lea eax, [esp + 0xc0]
fst dword [esp + 0xb8]
push eax
fstp dword [esp + 0xc0]
push ebx
push edi
lea ecx, [esi + 0x170]
call fcn.005ac220
test al, al
je 0x582d33
fld dword [esi + 0x110]
push 1
fmul dword [edi + 4]
push 0x1b0201c
fld dword [esi + 0x10c]
fmul dword [edi]
faddp st(1)
fld dword [esi + 0x114]
fmul dword [edi + 8]
faddp st(1)
fadd dword [esi + 0x118]
fstp dword [esp + 0x44]
fld dword [esi + 0x120]
fmul dword [edi + 4]
fld dword [esi + 0x11c]
fmul dword [edi]
faddp st(1)
fld dword [esi + 0x124]
fmul dword [edi + 8]
faddp st(1)
fadd dword [esi + 0x128]
fstp dword [esp + 0x48]
fld dword [esi + 0x130]
fmul dword [edi + 4]
fld dword [esi + 0x12c]
fmul dword [edi]
faddp st(1)
fld dword [esi + 0x134]
fmul dword [edi + 8]
faddp st(1)
fadd dword [esi + 0x138]
fstp dword [esp + 0x4c]
fld dword [esi + 0x110]
fmul dword [ebx + 4]
fld dword [ebx]
fmul dword [esi + 0x10c]
faddp st(1)
fld dword [esi + 0x114]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [esi + 0x118]
fstp dword [esp + 0x50]
fld dword [esi + 0x120]
fmul dword [ebx + 4]
fld dword [esi + 0x11c]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 0x124]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [esi + 0x128]
fstp dword [esp + 0x54]
fld dword [esi + 0x130]
fmul dword [ebx + 4]
fld dword [esi + 0x12c]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 0x134]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [esi + 0x138]
fstp dword [esp + 0x58]
fld dword [esp + 0x44]
fdiv dword [esi + 0x14c]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fdiv dword [esi + 0x14c]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x58]
mov edx, dword [esi]
mov edx, dword [edx + 0x88]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call edx
test al, al
jne 0x582cc2
cmp byte [esi + 0x2a4], al
je 0x582d33
fld dword [0x1b02048]
fld dword [esp + 0x38]
fcompp
fnstsw ax
test ah, 0x41
jne 0x582d33
mov eax, dword [ebp + 0x18]
mov edi, eax
mov ecx, 0xc
mov esi, 0x1b0201c
rep movsd dword es:[edi], dword [esi]
fld dword [eax + 0x2c]
fstp dword [esp + 0x38]
fldz
fld dword [esp + 0x38]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x582d24
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x582d24
mov eax, dword [ebp + 0x18]
add eax, 4
push eax
push ecx
mov ecx, dword [ebp + 0xc]
fstp dword [esp]
push ebx
push ecx
call dword [0x97e214]
add esp, 0x10
jmp 0x582d26
fstp st(0)
fld dword [0x1b02048]
mov edi, dword [ebp + 0xc]
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x582ae0
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
jl 0x582ab0
add dword [esp + 0x10], 1
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x64]
jmp 0x582a52
mov ecx, dword [esp + 0x1c]
add ecx, 1
cmp ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
jbe 0x582a40
mov esi, dword [esp + 0x18]
fld dword [esp + 0x54]
fst dword [esp + 0x1c]
fadd qword [0x890658]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x582daa
fstp st(1)
fld st(0)
fxch st(1)
add esi, 1
fxch st(1)
cmp esi, dword [esp + 0x14]
fstp dword [esp + 0x54]
mov dword [esp + 0x18], esi
jbe 0x582950
jmp 0x582dc9
fstp st(0)
fld dword [esp + 0x28]
fst dword [esp + 0x24]
fld dword [esp + 0x70]
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x58280c
mov edx, dword [esp + 0x64]
jmp 0x582df0
fstp st(0)
fstp st(2)
fstp st(1)
fstp st(1)
fstp st(0)
fld dword [0x7bb5c8]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x44
jnp 0x582e07
mov bl, 1
jmp 0x582e09
xor bl, bl
test edx, edx
je 0x582e16
push edx
call fcn.0074c96f
add esp, 4
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x94]
push eax
mov byte [esp + 0xf8], 0
call fcn.0067abe0
add esp, 4
cmp byte [0x992082], 0
je 0x582e50
push 0x1b01fb4
call dword [0x79428c]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14