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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x35a4
call fcn.0074dd20
cmp byte [0x992082], 0
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xb4], esi
je 0x588e50
push 0x1b16358
call dword [0x794290]
cmp byte [0x992082], 0
mov ebx, dword [esi + 4]
mov dword [esp + 0xac], ebx
je 0x588e6e
push 0x1b16358
call dword [0x79428c]
test ebx, ebx
je 0x58a653
mov eax, dword [ebp + 8]
fld dword [eax + 0x10]
fstp dword [esp + 0xb8]
fld dword [eax + 0x14]
fstp dword [esp + 0xbc]
fld dword [eax + 0x18]
lea eax, [esp + 0xb8]
push eax
fstp dword [esp + 0xc4]
call dword [0x97e20c]
fldz
fcom dword [esp + 0xbc]
add esp, 4
fnstsw ax
test ah, 0x44
jp 0x588ecc
fcomp dword [esp + 0xbc]
fnstsw ax
test ah, 0x44
jnp 0x58a653
jmp 0x588ece
fstp st(0)
push 0
push 0x88efc8
call fcn.00678450
mov edi, eax
add esp, 8
cmp edi, 4
mov dword [esp + 0x18], edi
jge 0x588fbb
test edi, edi
jg 0x588ef6
xor edi, edi
mov dword [esp + 0x18], edi
push 0
push 0x891148
call fcn.006783f0
fild dword [ebx + 0x508]
mov ecx, edi
mov esi, 0x200
shl esi, cl
add esp, 8
mov byte [esp + 0x9f], al
mov ecx, esi
shr ecx, 8
test ecx, ecx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0xb0], esi
jge 0x588f39
fadd dword [0x7bb540]
fdivp st(1)
mov ecx, 0x1ff
fstp dword [esp + 0x3c]
fld dword [esp + 0xb8]
fld st(0)
fabs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esp + 0xbc]
fld st(0)
fabs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
fldz
jp 0x58900a
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x588fc5
fld dword [esp + 0xc0]
xor edi, edi
fdiv st(2)
mov eax, 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
xor ebx, ebx
mov dword [esp + 0xd8], edi
fstp dword [esp + 0xa8]
fdivrp st(1)
jmp 0x58907b
mov edi, 4
jmp 0x588ef2
fld dword [esp + 0xc0]
xor ebx, ebx
fchs
mov dword [esp + 0x64], 0xffffffff
fdiv st(2)
mov dword [esp + 0x68], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 1
mov edi, 0xff
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebx
fstp dword [esp + 0xa8]
fchs
fdivrp st(1)
jmp 0x589082
fcomp st(1)
xor edi, edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x30], edi
fnstsw ax
test ah, 5
jp 0x589047
fld dword [esp + 0xc0]
mov eax, 1
fdiv st(1)
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0xd8], edi
fstp dword [esp + 0xa8]
fdivp st(1)
jmp 0x58907b
fld dword [esp + 0xc0]
mov dword [esp + 0x68], 0xffffffff
fchs
mov dword [esp + 0x2c], 1
fdiv st(1)
mov ebx, 0xff
mov dword [esp + 0xd8], ecx
fstp dword [esp + 0xa8]
fxch st(1)
fchs
fdivrp st(1)
mov dword [esp + 0xd4], edi
xor ecx, ecx
fstp dword [esp + 0xa4]
fld dword [esp + 0xa8]
mov eax, esi
fmul dword [esp + 0x3c]
mov edx, 4
mul edx
fstp dword [esp + 0xa8]
seto cl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
neg ecx
or ecx, eax
push ecx
call fcn.0073b9f0
fldz
fld dword [esp + 0xa8]
mov dword [esp + 0x58], eax
fcom st(1)
add esp, 4
mov dword [esp + 0xe0], 0xffffffff
fnstsw ax
fstp st(1)
test ah, 5
jp 0x5890f7
fchs
mov dword [esp + 0xe0], 1
fstp dword [esp + 0xa4]
jmp 0x5890f9
fstp st(0)
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0073b9f0
fld dword [esp + 0xa8]
mov dword [esp + 0xa4], eax
fld st(0)
mov eax, dword [esp + 0x1c]
fld1
mov edx, eax
fld st(0)
lea ecx, [eax + 1]
fsubrp st(2)
mov eax, 1
fxch st(1)
shl eax, cl
mov dword [esp + 0xc8], ecx
mov ecx, edx
fstp dword [esp + 0x110]
fld qword [0x7bd248]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0xb0]
mov edx, dword [edx + 0x408]
mov dword [esp + 0x44], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x24], ebx
lea ebx, [esp + 0xdb4]
add esp, 4
mov ecx, eax
mov dword [esp + 0xdc], eax
add eax, 0xffffffff
shr ecx, 1
mov dword [esp + 0x100], eax
lea eax, [esp + 0x11b0]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x80], eax
mov ecx, edi
mov dword [esp + 0x38], ebx
xor eax, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x20]
and edx, 0xff
shl edx, 8
mov edi, ecx
add ecx, dword [esp + 0x2c]
and edi, 0xff
add edx, edi
mov edi, dword [esp + 0x34]
movzx edx, word [edi + edx*2]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
add dword [esp + 0x20], edx
fild dword [esp + 0xc]
add eax, 1
cmp eax, 0x100
fmul st(1)
fstp dword [esp + eax*4 + 0xdac]
jb 0x5891b2
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
add ecx, eax
mov eax, dword [esp + 0x48]
add edx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], edx
xor eax, eax
and edx, 0xff
shl edx, 8
mov edi, ecx
add ecx, dword [esp + 0x2c]
and edi, 0xff
add edx, edi
mov edi, dword [esp + 0x34]
movzx edx, word [edi + edx*2]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x20]
add edx, dword [esp + 0x30]
fild dword [esp + 0xc]
add eax, 1
cmp eax, 0x100
mov dword [esp + 0x20], edx
fmul st(1)
fstp dword [esp + eax*4 + 0x11ac]
jb 0x589216
mov eax, dword [esp + 0x40]
fild dword [esp + 0x40]
test eax, eax
jge 0x58926e
fadd dword [0x7bb540]
fdivp st(2)
mov edx, 1
xor eax, eax
mov edi, 0x100
fxch st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp + 0xe4]
fld dword [esp + 0xe4]
mov ecx, edx
and ecx, 0xff
add ecx, ecx
add ecx, ecx
fld dword [esp + ecx + 0xdb0]
add edx, 1
fsub dword [esp + eax + 0xdb0]
add eax, 4
sub edi, 1
fmul st(1)
fstp dword [esp + eax + 0x5ac]
fld dword [esp + ecx + 0x11b0]
fsub dword [esp + eax + 0x11ac]
fmul st(1)
fstp dword [esp + eax + 0x9ac]
fld dword [esp + eax + 0x11ac]
fsub dword [esp + eax + 0xdac]
fmul st(1)
fstp dword [esp + eax + 0x1ac]
jne 0x589294
xor eax, eax
test esi, esi
jbe 0x58933b
mov ecx, dword [esp + 0xc4]
mov edx, eax
shr edx, cl
mov ecx, dword [esp + 0x40]
add ecx, 0xffffffff
mov edi, eax
and edi, ecx
test edi, edi
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
jge 0x58931e
fadd dword [0x7bb540]
fmul dword [esp + edx*4 + 0x5b0]
mov ecx, dword [esp + 0x54]
add eax, 1
cmp eax, esi
fadd dword [esp + edx*4 + 0xdb0]
fstp dword [ecx + eax*4 - 4]
jb 0x5892f6
cmp esi, 0x100
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
jne 0x589363
add edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
cmp esi, 1
fld dword [esp + 0xa8]
fld dword [esp + 0x10c]
mov dword [esp + 0x78], 1
jbe 0x589671
jmp 0x589388
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x78]
add edx, 0xffffffff
and eax, edx
mov dword [esp + 0x18], eax
jne 0x58947f
add edi, dword [esp + 0x68]
mov eax, dword [esp + 0x80]
add ecx, dword [esp + 0x64]
mov dword [esp + 0x20], edi
mov esi, edi
mov edi, dword [esp + 0xac]
mov edi, dword [edi + 0x408]
mov edx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x1c], ecx
xor eax, eax
mov dword [esp + 0x34], edi
mov edi, esi
add esi, dword [esp + 0x30]
and edi, 0xff
mov ebx, ecx
add ecx, dword [esp + 0x2c]
shl edi, 8
and ebx, 0xff
add edi, ebx
mov ebx, dword [esp + 0x34]
movzx edi, word [ebx + edi*2]
mov dword [esp + 0xc], edi
add eax, 1
cmp eax, 0x100
fild dword [esp + 0xc]
fmul st(4)
fstp dword [edx + eax*4 - 4]
jb 0x5893d8
mov ebx, dword [esp + 0x38]
mov esi, 1
xor eax, eax
mov edi, 0x100
mov ecx, esi
and ecx, 0xff
add ecx, ecx
add ecx, ecx
fld dword [ecx + ebx]
add esi, 1
fsub dword [eax + ebx]
add eax, 4
sub edi, 1
fmul st(3)
fstp dword [esp + eax + 0x5ac]
fld dword [ecx + edx]
fsub dword [eax + edx - 4]
fmul st(3)
fstp dword [esp + eax + 0x9ac]
fld dword [eax + edx - 4]
fsub dword [eax + ebx - 4]
fmul st(3)
fstp dword [esp + eax + 0x1ac]
jne 0x589425
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0x20]
mov edx, ecx
sub edx, dword [esp + 0x2c]
mov dword [esp + 0x70], edx
mov edx, edi
sub edx, dword [esp + 0x30]
xor edi, edi
test esi, esi
mov dword [esp + 0x74], edx
jbe 0x589648
test eax, eax
fstp st(2)
mov dword [esp + 0x10], eax
fstp st(2)
fild dword [esp + 0x10]
jge 0x5894b3
fadd dword [0x7bb540]
mov ecx, dword [esp + 0xa0]
fstp dword [esp + 0xc]
mov eax, dword [esp + 0x54]
fld dword [esp + 0xc]
sub eax, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], eax
jmp 0x5894d6
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
mov esi, edi
add eax, 0xffffffff
and esi, eax
jne 0x5894f3
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x70], ecx
add edx, dword [esp + 0x30]
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0xc4]
xor edx, dword [esp + 0x70]
mov eax, edi
shr eax, cl
lea ecx, [eax + 1]
and ecx, 0xff
test dl, 1
je 0x589571
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x18]
cmp edx, esi
jbe 0x58953d
fld dword [esp + eax*4 + 0x1b0]
mov ebx, dword [esp + 0x38]
fmul st(1)
mov dword [esp + 0x10], esi
fadd dword [ebx + eax*4]
fld dword [esp + eax*4 + 0x5b0]
fild dword [esp + 0x10]
jmp 0x5895b3
test esi, esi
mov edx, dword [esp + 0x80]
fld dword [edx + eax*4]
mov dword [esp + 0x10], esi
fld dword [esp + ecx*4 + 0x1b0]
fmul st(2)
fsubp st(1)
fld dword [esp + eax*4 + 0x9b0]
fild dword [esp + 0x10]
jge 0x58956b
fadd dword [0x7bb540]
mov ebx, dword [esp + 0x38]
jmp 0x5895bd
cmp dword [esp + 0x18], esi
mov ebx, dword [esp + 0x38]
jbe 0x589598
fld dword [esp + eax*4 + 0x1b0]
mov dword [esp + 0x10], esi
fmul st(1)
fadd dword [ebx + eax*4]
fld dword [esp + eax*4 + 0x9b0]
fild dword [esp + 0x10]
jmp 0x5895b3
fld dword [esp + ecx*4 + 0x1b0]
mov dword [esp + 0x10], esi
fmul st(1)
fadd dword [ebx + eax*4]
fld dword [esp + eax*4 + 0x5b0]
fild dword [esp + 0x10]
test esi, esi
jge 0x5895bd
fadd dword [0x7bb540]
mov eax, dword [esp + 0xe0]
fmulp st(1)
mov esi, dword [esp + 0xb0]
mov edx, dword [esp + 0x54]
faddp st(1)
lea ecx, [edi + eax]
lea eax, [esi - 1]
and ecx, eax
mov eax, dword [esp + 0x6c]
fstp dword [esp + 0x4c]
fld dword [edx + ecx*4]
mov ecx, dword [esp + 0x5c]
fmul st(4)
fld dword [eax + ecx]
fmul st(3)
faddp st(1)
fadd st(3)
fstp dword [esp + 0xc]
fld dword [esp + 0x4c]
fld dword [esp + 0xc]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x58960e
fstp st(0)
jmp 0x589610
fstp st(1)
fstp dword [esp + 0x5c]
add edi, 1
fld dword [esp + 0x5c]
add ecx, 4
cmp edi, esi
fstp dword [ecx - 4]
mov dword [esp + 0x5c], ecx
jb 0x5894d2
mov ecx, dword [esp + 0x1c]
fstp st(0)
fld qword [0x7bd248]
fld dword [esp + 0xe4]
fxch st(1)
fxch st(3)
fxch st(1)
fxch st(2)
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x78]
add eax, 1
cmp eax, esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x78], eax
jb 0x589384
mov eax, dword [esp + 0xac]
fstp st(2)
fstp st(2)
mov ecx, 0x1ff
fstp st(1)
fstp st(0)
fstp st(0)
fild dword [eax + 0x508]
lea eax, [esp + 0x1db8]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fmul qword [0x891140]
fmul qword [0x88f820]
fstp dword [esp + 0xf8]
fldz
fst dword [eax - 8]
add eax, 0xc
sub ecx, 1
fst dword [eax - 0x10]
fst dword [eax - 0xc]
jns 0x5896b1
mov esi, dword [esp + 0x40]
fstp st(0)
mov eax, esi
imul eax, esi
add eax, eax
lea ecx, [esp + 0x1db0]
mov dword [esp + 0xc8], ecx
xor ecx, ecx
add eax, eax
mov edx, 4
mul edx
seto cl
lea ebx, [esp + 0x29b0]
mov dword [esp + 0x4c], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0073b9f0
fldz
fst dword [esp + 0x114]
add esp, 4
fst dword [esp + 0x114]
xor edi, edi
test esi, esi
fld1
fst dword [esp + 0x118]
mov dword [esp + 0x7c], eax
fst dword [esp + 0x120]
fst dword [esp + 0x124]
fstp dword [esp + 0x12c]
fst dword [esp + 0x11c]
fst dword [esp + 0x128]
fld dword [esp + 0x50]
fstp dword [esp + 0x3c]
fst dword [esp + 0x10]
fstp dword [esp + 0x14]
jbe 0x589870
mov eax, esi
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x50], ecx
jmp 0x589772
fstp st(0)
xor esi, esi
fld dword [esp + 0x10]
fsub dword [esp + esi*8 + 0x110]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fstp dword [esp + 0xcc]
fld dword [esp + 0x14]
fsub dword [esp + esi*8 + 0x114]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0xd0]
fld dword [esp + 0xd0]
fld dword [esp + 0xcc]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
call fcn.0074c5a0
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x589817
fstp st(0)
fld dword [esp + 0x6c]
fstp dword [esp + 0x70]
fld dword [esp + 0x18]
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fld dword [esp + 0x70]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
call fcn.0074c5a0
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
mov edx, dword [esp + 0x7c]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
add esi, 1
fld1
add edi, 1
cmp esi, 4
fsubrp st(1)
fstp dword [edx + edi*4 - 4]
jb 0x589774
sub dword [esp + 0x50], 1
fld dword [esp + 0x14]
fld dword [esp + 0x3c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x14]
jne 0x589770
sub dword [esp + 0x60], 1
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fldz
fstp dword [esp + 0x14]
jne 0x589763
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0xac]
lea edx, [esp + 0x29b0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
xor esi, esi
mov dword [esp + 0x18], edx
jmp 0x5898a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x408]
and eax, 0xff
shl eax, 8
and ecx, 0xff
add eax, ecx
movzx eax, word [edx + eax*2]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
push 1
push edx
fild dword [esp + 0x14]
lea eax, [esp + 0xf0]
push eax
fmul qword [0x7bd248]
fstp dword [ecx + esi*4]
mov ecx, edi
fild dword [esp + 0x28]
fld dword [esp + 0x68]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0xf4]
fimul dword [esp + 0x2c]
fstp dword [esp + 0xf8]
call fcn.0056b1e0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add dword [esp + 0x1c], ecx
add dword [esp + 0x20], edx
add dword [esp + 0x18], 0xc
add esi, 1
cmp esi, 0x100
jb 0x5898a0
fld dword [edi + 0xd8]
lea eax, [esp + 0x11b0]
fstp dword [esp + 0x1a4]
lea ecx, [esp + 0xdb0]
fld dword [edi + 0xe8]
mov dword [esp + 0x38], eax
fstp dword [esp + 0x1a8]
mov eax, dword [esp + 0x44]
fild dword [esp + 0xdc]
sub eax, dword [esp + 0x64]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x48]
fstp dword [esp + 0xf4]
sub ecx, dword [esp + 0x68]
cmp dword [esp + 0xb0], 0
fld dword [esp + 0xf4]
fmul st(0), st(0)
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x78], 0
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld1
fdivrp st(1)
fstp dword [esp + 0xc]
jbe 0x58a5f0
lea esp, [esp]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
mov eax, edx
and edx, dword [esp + 0x100]
add esi, 0xffffffff
and eax, esi
test eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xfc], edx
jne 0x589b5d
mov edi, dword [esp + 0x64]
add dword [esp + 0x1c], edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc8]
add eax, ecx
add edi, edx
mov dword [esp + 0x20], eax
add eax, ecx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], eax
mov ebx, 0x100
lea ebx, [ebx]
fild dword [esp + 0x70]
mov ecx, dword [esp + 0xac]
fld dword [esp + 0x5c]
push 1
fld st(0)
push esi
fmulp st(2)
lea eax, [esp + 0x1a4]
fxch st(1)
push eax
fstp dword [esp + 0x1a8]
fimul dword [esp + 0x80]
fstp dword [esp + 0x1ac]
call fcn.0056b1e0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add dword [esp + 0x70], ecx
add dword [esp + 0x74], edx
add esi, 0xc
sub ebx, 1
jne 0x589a30
mov eax, dword [esp + 0x80]
fld qword [0x7bd248]
mov esi, dword [esp + 0xac]
mov edx, dword [esp + 0x38]
mov esi, dword [esi + 0x408]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x80], edx
mov ecx, edi
xor eax, eax
mov dword [esp + 0x34], esi
mov esi, ebx
add ebx, dword [esp + 0x30]
and esi, 0xff
mov edi, ecx
add ecx, dword [esp + 0x2c]
shl esi, 8
and edi, 0xff
add esi, edi
mov edi, dword [esp + 0x34]
movzx esi, word [edi + esi*2]
mov dword [esp + 0x3c], esi
add eax, 1
cmp eax, 0x100
fild dword [esp + 0x3c]
fmul st(1)
fstp dword [edx + eax*4 - 4]
jb 0x589ab7
mov esi, dword [esp + 0x38]
fstp st(0)
fld dword [esp + 0xe4]
mov edi, 1
xor eax, eax
mov ebx, 0x100
mov ecx, edi
and ecx, 0xff
add ecx, ecx
add ecx, ecx
fld dword [ecx + esi]
add edi, 1
fsub dword [eax + esi]
add eax, 4
sub ebx, 1
fmul st(1)
fstp dword [esp + eax + 0x5ac]
fld dword [edx + ecx]
fsub dword [edx + eax - 4]
fmul st(1)
fstp dword [esp + eax + 0x9ac]
fld dword [edx + eax - 4]
fsub dword [eax + esi - 4]
fmul st(1)
fstp dword [esp + eax + 0x1ac]
jne 0x589b0d
mov edx, dword [esp + 0xfc]
fstp st(0)
test edx, edx
jne 0x589b74
mov ecx, 0x200
mov eax, 0x3f800000
lea edi, [esp + 0x15b0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub esi, dword [esp + 0x2c]
sub ebx, dword [esp + 0x30]
shr eax, cl
mov ecx, dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0xcc], esi
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0xa0]
sub ecx, eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], ecx
jmp 0x589bde
mov ebx, dword [esp + 0xd0]
mov esi, dword [esp + 0xcc]
mov eax, edi
and eax, dword [esp + 0x100]
mov edx, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
add eax, 0xffffffff
and edx, eax
mov dword [esp + 0xf0], edx
jne 0x589c15
add esi, dword [esp + 0x2c]
add ebx, dword [esp + 0x30]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], ebx
mov ecx, dword [esp + 0xc4]
mov eax, edi
shr eax, cl
xor ebx, esi
lea ecx, [eax + 1]
and ecx, 0xff
test bl, 1
mov dword [esp + 0xdc], eax
mov dword [esp + 0x18], ecx
je 0x589cd6
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
sub ecx, esi
cmp ecx, edx
jbe 0x589c8d
test esi, esi
fld dword [esp + eax*4 + 0x1b0]
fstp dword [esp + 0x58]
mov dword [esp + 0x10], esi
fld dword [esp + eax*4 + 0x5b0]
fstp dword [esp + 0x28]
fild dword [esp + 0x10]
jge 0x589c75
fadd dword [0x7bb540]
fmul dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
fadd dword [ecx + eax*4]
fild dword [esp + 0x10]
jmp 0x589d5a
test ecx, ecx
mov esi, dword [esp + 0x18]
fld dword [esp + esi*4 + 0x1b0]
mov dword [esp + 0x10], ecx
fchs
fstp dword [esp + 0x58]
fld dword [esp + eax*4 + 0x9b0]
fstp dword [esp + 0x28]
fild dword [esp + 0x10]
jge 0x589cbb
fadd dword [0x7bb540]
fmul dword [esp + 0x58]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
fadd dword [ecx + eax*4]
fild dword [esp + 0x10]
jmp 0x589d5a
mov ecx, dword [esp + 0x50]
cmp ecx, edx
jbe 0x589d1b
test ecx, ecx
fld dword [esp + eax*4 + 0x1b0]
fstp dword [esp + 0x58]
mov dword [esp + 0x10], ecx
fld dword [esp + eax*4 + 0x9b0]
fstp dword [esp + 0x28]
fild dword [esp + 0x10]
jge 0x589d06
fadd dword [0x7bb540]
fmul dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
fadd dword [ecx + eax*4]
fild dword [esp + 0x10]
jmp 0x589d5a
test ecx, ecx
mov esi, dword [esp + 0x18]
fld dword [esp + esi*4 + 0x1b0]
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x58]
fld dword [esp + eax*4 + 0x5b0]
fstp dword [esp + 0x28]
fild dword [esp + 0x10]
jge 0x589d47
fadd dword [0x7bb540]
fmul dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
fadd dword [ecx + eax*4]
fild dword [esp + 0x10]
test edx, edx
jge 0x589d64
fadd dword [0x7bb540]
fmul dword [esp + 0x28]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0x104]
mov esi, dword [esp + 0x68]
faddp st(1)
lea ecx, [edi + edx]
imul esi, ebx
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x54]
add eax, 0xffffffff
and ecx, eax
mov eax, dword [esp + 0x60]
fld dword [edx + ecx*4]
mov ecx, dword [esp + 0x6c]
fmul dword [esp + 0xa4]
mov edx, ebx
fld dword [eax + ecx]
mov ecx, dword [esp + 0x108]
imul edx, dword [esp + 0x64]
fmul dword [esp + 0x10c]
faddp st(1)
fadd dword [esp + 0xa8]
mov eax, dword [esp + 0x2c]
fstp dword [esp + 0x10]
mov ebx, dword [esp + 0xd4]
shr edi, cl
mov ecx, dword [esp + 0x30]
add edx, ebx
mov ebx, dword [esp + 0xd8]
imul ecx, edi
imul eax, edi
add esi, ebx
add ecx, esi
add eax, edx
mov edx, dword [esp + 0xb4]
mov esi, ecx
shl esi, 9
add esi, eax
shl esi, 4
add esi, dword [edx + 0x1c]
sar eax, 1
sar ecx, 1
cmp dword [esp + 0xfc], 0
jne 0x58a22c
cmp dword [esp + 0x24], 0
jne 0x58a22c
shl ecx, 8
add ecx, eax
mov eax, ecx
mov ecx, dword [edx + 0x14]
cmp eax, ecx
jb 0x589e35
lea eax, [ecx - 1]
mov edx, dword [edx + 0xc]
mov ecx, eax
and ecx, 7
mov bl, 1
shl bl, cl
shr eax, 3
test byte [eax + edx], bl
je 0x58a22c
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
add eax, edx
shl eax, cl
mov ecx, dword [esp + 0xdc]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, dword [esp + 0x50]
add ecx, ecx
add eax, edx
mov edx, dword [esp + 0x7c]
add eax, eax
add eax, eax
fld dword [edx + eax*4]
add eax, 1
fstp dword [esp + 0x24]
fld dword [ecx + ebx]
fld dword [esp + 0x24]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x90]
fld dword [ecx + ebx + 4]
fmul st(1)
fstp dword [esp + 0x94]
fmul dword [ecx + ebx + 8]
fstp dword [esp + 0x98]
fld dword [edx + eax*4]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x24]
lea edx, [edx + edx*2]
fld dword [esp + 0x24]
add edx, edx
fld st(0)
add edx, edx
fmul dword [edx + ebx]
add eax, 1
fstp dword [esp + 0x178]
fld dword [edx + ebx + 4]
fmul st(1)
fstp dword [esp + 0x17c]
fmul dword [edx + ebx + 8]
mov ebx, dword [esp + 0x7c]
fstp dword [esp + 0x180]
fld dword [esp + 0x178]
fadd dword [esp + 0x90]
fstp dword [esp + 0x90]
fld dword [esp + 0x17c]
fadd dword [esp + 0x94]
fstp dword [esp + 0x94]
fld dword [esp + 0x180]
fadd dword [esp + 0x98]
fstp dword [esp + 0x98]
fld dword [ebx + eax*4]
mov ebx, dword [esp + 0x4c]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld st(0)
fmul dword [edx + ebx]
fstp dword [esp + 0x15c]
fld dword [edx + ebx + 4]
fmul st(1)
fstp dword [esp + 0x160]
fmul dword [edx + ebx + 8]
mov edx, dword [esp + 0x7c]
fstp dword [esp + 0x164]
fld dword [esp + 0x15c]
fadd dword [esp + 0x90]
fstp dword [esp + 0x90]
fld dword [esp + 0x160]
fadd dword [esp + 0x94]
fstp dword [esp + 0x94]
fld dword [esp + 0x164]
fadd dword [esp + 0x98]
fstp dword [esp + 0x98]
fld dword [edx + eax*4 + 4]
fstp dword [esp + 0x24]
fld dword [ecx + ebx]
fld dword [esp + 0x24]
fld st(0)
lea eax, [esp + 0x90]
fmulp st(2)
push eax
fxch st(1)
fstp dword [esp + 0x194]
fld dword [ecx + ebx + 4]
fmul st(1)
fstp dword [esp + 0x198]
fmul dword [ecx + ebx + 8]
fstp dword [esp + 0x19c]
fld dword [esp + 0x194]
fadd dword [esp + 0x94]
fstp dword [esp + 0x94]
fld dword [esp + 0x198]
fadd dword [esp + 0x98]
fstp dword [esp + 0x98]
fld dword [esp + 0x19c]
fadd dword [esp + 0x9c]
fstp dword [esp + 0x9c]
call dword [0x97e20c]
fld dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
fstp dword [ecx]
add esp, 4
fld dword [esp + 0x94]
fmul dword [esp + 0xbc]
fld dword [esp + 0x90]
fmul dword [esp + 0xb8]
faddp st(1)
fld dword [esp + 0x98]
fmul dword [esp + 0xc0]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fchs
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x58a223
cmp byte [esp + 0x9f], 0
fstp st(0)
jne 0x58a230
mov edx, dword [esp + 0x104]
fild dword [esp + 0x104]
test edx, edx
jge 0x58a0b4
fadd dword [0x7bb540]
fld dword [esp + 0xf8]
mov eax, edi
test eax, eax
fld st(0)
fmulp st(2)
mov dword [esp + 0x44], eax
fld dword [esp + 0x1a4]
faddp st(2)
fxch st(1)
fstp dword [esp + 0xe8]
fild dword [esp + 0x44]
jge 0x58a0e5
fadd dword [0x7bb540]
mov ecx, dword [esp + 0xb4]
fmulp st(1)
mov ecx, dword [ecx + 0x18]
fadd dword [esp + 0x1a8]
fstp dword [esp + 0xec]
fld dword [esp + 0x58]
fld dword [esp + 0xf4]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x58]
fmul dword [esp + 0x28]
fstp dword [esp + 0x44]
call fcn.005939f0
fld dword [esp + 0xe8]
mov dword [eax], 4
fst dword [eax + 4]
lea ecx, [eax + 4]
fld dword [esp + 0xec]
lea edx, [eax + 0x1c]
fst dword [ecx + 4]
push edx
fld dword [esp + 0x38]
mov dword [esp + 0x2c], eax
fst dword [ecx + 8]
fld st(2)
fld dword [esp + 0xfc]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fst dword [eax + 0x10]
fxch st(3)
fst dword [eax + 0x14]
fld dword [esp + 0x5c]
fadd st(3)
fst dword [eax + 0x18]
fxch st(4)
fstp dword [edx]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fst dword [edx + 4]
fld dword [esp + 0x48]
fld st(0)
faddp st(4)
fxch st(3)
fstp dword [edx + 8]
lea edx, [eax + 0x10]
fxch st(3)
push edx
fstp dword [eax + 0x28]
push ecx
fxch st(2)
lea ecx, [eax + 0x184]
fstp dword [eax + 0x2c]
faddp st(1)
fstp dword [eax + 0x30]
call fcn.0044e5d0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x18]
push edx
call fcn.00593700
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0xb4]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + 0x1c]
push edx
push eax
call fcn.00594570
fdiv dword [esp + 0x44]
fstp dword [esp + 0x44]
fld1
fld dword [esp + 0x44]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x58a206
fstp st(1)
fldz
fcom st(1)
fnstsw ax
test ah, 5
jp 0x58a219
fstp st(0)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + edi*4 + 0x15b0]
jmp 0x58a230
fstp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + edi*4 + 0x15b0]
jmp 0x58a230
mov ebx, dword [esp + 0x4c]
fld dword [esp + 0x34]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x58a57d
fstp st(0)
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0xdc]
mov ebx, dword [esp + 0xc8]
shl edx, cl
mov ecx, dword [esp + 0x7c]
lea eax, [eax + eax*2]
add eax, eax
add edx, dword [esp + 0x50]
add eax, eax
add edx, edx
add edx, edx
fld dword [ecx + edx*4]
add edx, 1
fstp dword [esp + 0x10]
fld dword [eax + ebx]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x84]
fld dword [eax + ebx + 4]
fmul st(1)
fstp dword [esp + 0x88]
fmul dword [eax + ebx + 8]
fstp dword [esp + 0x8c]
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x10]
lea ecx, [ecx + ecx*2]
fld dword [esp + 0x10]
add ecx, ecx
fld st(0)
add ecx, ecx
fmul dword [ecx + ebx]
add edx, 1
fstp dword [esp + 0x130]
fld dword [ecx + ebx + 4]
fmul st(1)
fstp dword [esp + 0x134]
fmul dword [ecx + ebx + 8]
mov ebx, dword [esp + 0x7c]
fstp dword [esp + 0x138]
fld dword [esp + 0x130]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
fld dword [esp + 0x134]
fadd dword [esp + 0x88]
fstp dword [esp + 0x88]
fld dword [esp + 0x138]
fadd dword [esp + 0x8c]
fstp dword [esp + 0x8c]
fld dword [ebx + edx*4]
mov ebx, dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [ecx + ebx]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x184]
fld dword [ecx + ebx + 4]
fmul st(1)
fstp dword [esp + 0x188]
fmul dword [ecx + ebx + 8]
mov ecx, dword [esp + 0x7c]
fstp dword [esp + 0x18c]
fld dword [esp + 0x184]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
fld dword [esp + 0x188]
fadd dword [esp + 0x88]
fstp dword [esp + 0x88]
fld dword [esp + 0x18c]
fadd dword [esp + 0x8c]
fstp dword [esp + 0x8c]
fld dword [ecx + edx*4 + 4]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fmul dword [eax + ebx]
lea edx, [esp + 0x84]
push edx
fstp dword [esp + 0x170]
fld dword [eax + ebx + 4]
fmul st(1)
fstp dword [esp + 0x174]
fmul dword [eax + ebx + 8]
fstp dword [esp + 0x178]
fld dword [esp + 0x170]
fadd dword [esp + 0x88]
fstp dword [esp + 0x88]
fld dword [esp + 0x174]
fadd dword [esp + 0x8c]
fstp dword [esp + 0x8c]
fld dword [esp + 0x178]
fadd dword [esp + 0x90]
fstp dword [esp + 0x90]
call dword [0x97e20c]
mov eax, dword [esp + 0x64]
fld dword [esp + 0x38]
fstp dword [eax]
add esp, 4
fld dword [esp + 0x88]
fmul dword [esp + 0xbc]
fld dword [esp + 0x84]
fmul dword [esp + 0xb8]
faddp st(1)
fld dword [esp + 0x8c]
fmul dword [esp + 0xc0]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fchs
fstp dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
mov eax, dword [ebp + 8]
jne 0x58a579
fld dword [eax + 0x1c]
fmul st(1)
fstp dword [esp + 0x13c]
fld dword [eax + 0x20]
fmul st(1)
fstp dword [esp + 0x140]
fld dword [eax + 0x24]
fmul st(1)
fstp dword [esp + 0x144]
fmul dword [eax + 0x28]
fstp dword [esp + 0x148]
fld dword [esp + edi*4 + 0x15b0]
fstp dword [esp + 0x10]
fld dword [esp + 0x13c]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x14c]
fld dword [esp + 0x140]
fmul st(1)
fstp dword [esp + 0x150]
fld dword [esp + 0x144]
fmul st(1)
fstp dword [esp + 0x154]
fmul dword [esp + 0x148]
fstp dword [esp + 0x158]
fld dword [esp + 0x14c]
fadd dword [eax + 0x2c]
fstp dword [esp + 0x110]
fld dword [esp + 0x150]
fadd dword [eax + 0x30]
fstp dword [esp + 0x114]
fld dword [eax + 0x34]
fadd dword [esp + 0x154]
fstp dword [esp + 0x118]
fld dword [eax + 0x38]
fadd dword [esp + 0x158]
fstp dword [esp + 0x11c]
fld dword [esp + 0x110]
fadd dword [esi]
fstp dword [esi]
fld dword [esi + 4]
fadd dword [esp + 0x114]
fstp dword [esi + 4]
fld dword [esi + 8]
fadd dword [esp + 0x118]
fstp dword [esi + 8]
fld dword [esp + 0x11c]
jmp 0x58a5a2
fstp st(0)
jmp 0x58a586
mov ecx, dword [esp + 0x60]
mov eax, dword [ebp + 8]
fstp dword [ecx]
fld dword [esi]
fadd dword [eax + 0x2c]
fstp dword [esi]
fld dword [eax + 0x30]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld dword [eax + 0x34]
fadd dword [esi + 8]
fstp dword [esi + 8]
fld dword [eax + 0x38]
mov edi, dword [esp + 0x3c]
fadd dword [esi + 0xc]
mov eax, dword [esp + 0xb0]
add dword [esp + 0x60], 4
add edi, 1
fstp dword [esi + 0xc]
cmp edi, eax
mov dword [esp + 0x3c], edi
jb 0x589bd0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x78]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x78], ecx
jb 0x5899c0
mov eax, dword [esp + 0xb4]
mov esi, dword [eax + 0x1c]
mov edi, 0x40000
nop
fld dword [esp + 0xc]
mov ecx, esi
fld dword [esi]
fmul st(1)
fstp dword [esi]
fld dword [esi + 4]
fmul st(1)
fstp dword [esi + 4]
fld dword [esi + 8]
fmul st(1)
fstp dword [esi + 8]
fmul dword [esi + 0xc]
fstp dword [esi + 0xc]
call fcn.00447780
add esi, 0x10
sub edi, 1
jne 0x58a600
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0074dd4b
mov edx, dword [esp + 0x58]
push edx
call fcn.0074dd4b
mov eax, dword [esp + 0xa8]
push eax
call fcn.0074dd4b
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4