Function at 0x582e70
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 0x582eb9
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 [0x1b02080], al
mov dword [esp + 0xf4], edi
jne 0x582f2c
or dword [0x1b02080], eax
fst dword [0x1b02054]
fst dword [0x1b02058]
push 0x2c
fst dword [0x1b0205c]
push edi
fst dword [0x1b02060]
push 0x1b02050
fst dword [0x1b02064]
fstp dword [0x1b02068]
call fcn.0074d440
fldz
add esp, 0xc
fstp dword [0x1b0207c]
jmp 0x582f2e
fstp st(0)
mov dword [0x1b0206c], 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 0x5830e6
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 0x5830e6
lea ecx, [ecx]
mov esi, dword [eax]
mov ecx, dword [0x97cb58]
cmp dword [esi + 0x29c], ecx
je 0x5830d3
mov dword [esi + 0x29c], ecx
mov ecx, dword [ebp + 0x14]
test dword [esi + 0x28], ecx
je 0x5830d3
cmp dword [esi + 0x2a0], 0
jne 0x5830d3
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 0
push 0x1b02050
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 0x5830cf
fld dword [0x1b0207c]
fld dword [esp + 0x38]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5830cf
mov eax, dword [ebp + 0x18]
mov edi, eax
mov ecx, 0xc
mov esi, 0x1b02050
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 [0x1b0207c]
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 0x582fc0
mov esi, dword [esp + 0x14]
fld dword [edi]
fld dword [ebx]
fcompp
fnstsw ax
test ah, 1
jne 0x58311a
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 0x58313f
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 0x583191
fxch st(1)
fst dword [esp + 0x18]
jmp 0x583197
fst dword [esp + 0x18]
fxch st(1)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5831a4
fstp st(1)
jmp 0x5831a6
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 0x583202
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 0x58322c
mov eax, dword [ebp + 8]
cmp eax, 2
jb 0x58322c
cmp dword [esi + 0x3c], eax
jbe 0x58322c
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 0x58323b
mov eax, dword [esp + 0x68]
sub eax, edx
sar eax, 2
jne 0x58327a
fld dword [0x7bb5c8]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x44
jnp 0x583250
mov bl, 1
jmp 0x583252
xor bl, bl
cmp edx, ecx
je 0x583261
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 0x583d1c
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 0x5832ca
cmp dword [esp + 0x24], ecx
je 0x583633
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 0x5836cb
cmp dword [esp + 0x28], esi
jne 0x5836cb
cmp dword [esp + 0x24], ecx
fstp st(4)
fstp st(2)
fstp st(1)
fstp st(1)
fstp st(0)
je 0x583639
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 0x583ce2
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 0x583370
test edx, edx
je 0x5836a3
mov eax, dword [esp + 0x68]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x5836a3
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 0x583691
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 0x583679
jmp 0x5833f0
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
mov edx, dword [0x97cb58]
cmp dword [esi + 0x29c], edx
je 0x583666
mov ecx, dword [ebp + 0x14]
test dword [esi + 0x28], ecx
mov eax, edx
mov dword [esi + 0x29c], eax
je 0x583666
cmp dword [esi + 0x2a0], 0
jne 0x583666
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 0x583666
fld dword [esi + 0x110]
push 0
fmul dword [edi + 4]
push 0x1b02050
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 0x5835cd
cmp byte [esi + 0x2a4], al
je 0x583666
fld dword [0x1b0207c]
fld dword [esp + 0x38]
fcompp
fnstsw ax
test ah, 0x41
jne 0x583666
mov eax, dword [ebp + 0x18]
mov edi, eax
mov ecx, 0xc
mov esi, 0x1b02050
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 0x583657
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x583657
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 0x583659
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 0x583339
fstp st(0)
fld dword [0x1b0207c]
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 0x5833f0
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
jl 0x5833c0
add dword [esp + 0x54], 1
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
jmp 0x583370
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 0x583355
jmp 0x583ce2
fxch st(4)
fst dword [esp + 0x24]
fld st(0)
fld st(4)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x583cd8
fld st(3)
fsub st(1)
fst qword [esp + 0xc0]
fld st(2)
fsubp st(6)
fxch st(5)
fst qword [esp + 0xe0]
jmp 0x583726
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 0x58373d
fstp st(5)
jmp 0x58373f
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 0x5837da
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 0x583801
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 0x583cb3
fld dword [esp + 0x28]
mov edi, dword [ebp + 0xc]
fsub st(1)
mov esi, eax
fst qword [esp + 0xd0]
fld dword [esp + 0x10]
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fxch st(1)
fst qword [esp + 0xc8]
jmp 0x58385e
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)
fxch st(2)
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 0x583899
fstp st(1)
jmp 0x58389b
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 0x5838d0
fxch st(1)
fst dword [esp + 0x10]
jmp 0x5838d6
fst dword [esp + 0x10]
fxch st(1)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5838e3
fstp st(1)
jmp 0x5838e5
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 0x583c79
mov edx, dword [esp + 0x64]
jmp 0x583930
mov eax, ecx
and eax, 0xf
xor esi, esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0x10], esi
test edx, edx
je 0x583c60
mov eax, dword [esp + 0x68]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x583c60
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 0x583c4e
jmp 0x5839a0
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 0x583c36
jmp 0x5839d0
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
mov edx, dword [0x97cb58]
cmp dword [esi + 0x29c], edx
je 0x583c23
mov ecx, dword [ebp + 0x14]
test dword [esi + 0x28], ecx
mov eax, edx
mov dword [esi + 0x29c], eax
je 0x583c23
cmp dword [esi + 0x2a0], 0
jne 0x583c23
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 0x583c23
fld dword [esi + 0x110]
push 0
fmul dword [edi + 4]
push 0x1b02050
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 [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 0x583bb2
cmp byte [esi + 0x2a4], al
je 0x583c23
fld dword [0x1b0207c]
fld dword [esp + 0x38]
fcompp
fnstsw ax
test ah, 0x41
jne 0x583c23
mov eax, dword [ebp + 0x18]
mov edi, eax
mov ecx, 0xc
mov esi, 0x1b02050
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 0x583c14
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x583c14
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 0x583c16
fstp st(0)
fld dword [0x1b0207c]
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 0x5839d0
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
jl 0x5839a0
add dword [esp + 0x10], 1
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x64]
jmp 0x583942
mov ecx, dword [esp + 0x1c]
add ecx, 1
cmp ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
jbe 0x583930
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 0x583c9a
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 0x583840
jmp 0x583cb9
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 0x5836fc
mov edx, dword [esp + 0x64]
jmp 0x583ce0
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 0x583cf7
mov bl, 1
jmp 0x583cf9
xor bl, bl
test edx, edx
je 0x583d06
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 0x583d40
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 0x18