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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x1008a2c0]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [ebp + 0x20]
fldz
mov dword [esp + 8], eax
fst qword [esp + 0xc4]
mov eax, dword [ebp + 0x30]
fld qword [eax]
fst qword [esp + 0x94]
push ebx
fld qword [eax + 8]
mov ebx, dword [ebp + 0x10]
fst qword [esp + 0xb0]
mov ecx, dword [ebp + 0x14]
fld qword [eax + 0x10]
push esi
fst qword [esp + 0xac]
mov esi, dword [ebp + 8]
fld qword [eax + 0x18]
mov edx, dword [esi + 0xc]
fst qword [esp + 0x8c]
push edi
fld qword [eax + 0x20]
mov edi, dword [ebp + 0xc]
fstp qword [esp + 0x98]
mov dword [esp + 0x28], edx
fld qword [eax + 0x28]
xor edx, edx
mov eax, dword [ebx + 0x18]
fst qword [esp + 0xc0]
fld qword [0x10089328]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x18]
fcom st(5)
mov dword [esp + 0xc8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov dword [esp + 0xcc], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0xe0], eax
fnstsw ax
mov dword [esp + 0xe4], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x8c], edx
test ah, 0x41
jp 0x10061052
fld qword [0x10089320]
fcomp st(6)
fnstsw ax
test ah, 1
jne 0x10061052
fcom st(4)
fnstsw ax
test ah, 0x41
jp 0x10061052
fld qword [0x10089320]
fcomp st(5)
fnstsw ax
test ah, 1
jne 0x10061052
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x10061052
fld qword [0x10089320]
fcomp st(3)
fnstsw ax
test ah, 1
jne 0x10061052
fld qword [esp + 0x98]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x10061052
fld qword [0x10089320]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10061052
fld qword [0x10089328]
fcomp st(4)
fnstsw ax
test ah, 0x41
jp 0x10061052
fld qword [0x10089320]
fcomp st(4)
fnstsw ax
test ah, 1
jne 0x10061052
fld qword [0x10089328]
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x10061052
fld qword [0x10089320]
fcomp st(2)
fnstsw ax
test ah, 1
jne 0x10061052
cmp dword [esp + 0x38], 0x8000
jge 0x10061052
cmp dword [esp + 0x10], 0x8000
jge 0x10061052
fmul st(5)
fld st(2)
fmul st(5)
fsubp st(1)
fst qword [esp + 0xd8]
fld st(6)
fucompp
fnstsw ax
test ah, 0x44
jp 0x1005fec3
fstp st(2)
fstp st(1)
fstp st(1)
fstp st(0)
fstp st(1)
jmp 0x1006105e
mov eax, dword [esp + 0x34]
lea eax, [eax*4 + 7]
and eax, 0xfffffff8
mov dword [esp + 0x44], eax
cmp dword [esp + 0x28], edx
jne 0x1005fef4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x44]
lea edx, [edx*4 + 7]
and edx, 0xfffffff8
lea edx, [edx + eax*4]
mov dword [esi + 8], 0
cmp edx, dword [ebp + 0x18]
jle 0x1005ff5a
fstp st(2)
push edx
fstp st(1)
fstp st(1)
fstp st(0)
fstp st(1)
fstp st(0)
call sub.MSVCR100.dll_malloc
add esp, 4
mov dword [esi + 8], eax
mov dword [esp + 0x40], eax
test eax, eax
je 0x10061060
fldz
mov ecx, eax
fld qword [esp + 0xc0]
mov eax, dword [esp + 0x44]
fld qword [esp + 0x90]
fld qword [esp + 0xb0]
fld qword [esp + 0xb8]
fld qword [esp + 0xa0]
fxch st(4)
fxch st(1)
fxch st(3)
fxch st(1)
mov dword [esp + 0x6c], ecx
add ecx, eax
mov dword [esp + 0x70], ecx
add ecx, eax
mov dword [esp + 0x44], ecx
add ecx, eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x40], ecx
jne 0x10060003
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
add edx, edx
add eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
test edx, edx
jle 0x1005ffa7
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov ecx, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
dec eax
xor ecx, ecx
test eax, eax
jle 0x1005ffe2
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x10]
add edx, dword [esp + 0x54]
inc ecx
dec eax
cmp ecx, eax
jl 0x1005ffc5
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
add ecx, edx
cmp eax, ecx
jge 0x1005ffff
mov edx, dword [esp + 0x28]
lea edi, [edx + eax*4]
sub ecx, eax
mov eax, dword [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x1c]
test eax, eax
jns 0x10060032
fxch st(5)
fst qword [esp + 0x58]
fst qword [esp + 0x90]
fild dword [esp + 0x38]
fstp qword [esp + 0x60]
fild dword [esp + 0x10]
fstp qword [esp + 0xa8]
jmp 0x1006014d
fstp st(5)
fstp st(3)
cmp edx, 1
jle 0x1006004a
fld qword [0x10089318]
fst qword [esp + 0xd0]
jmp 0x10060051
fld qword [esp + 0xd0]
fild dword [ebp + 0x24]
dec edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
fsub st(1)
dec edx
fst qword [esp + 0x58]
fild dword [ebp + 0x28]
fsubrp st(2)
fxch st(1)
fst qword [esp + 0xc0]
fst qword [esp + 0x90]
fild dword [esp + 0x38]
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fsubrp st(3)
fsubrp st(2)
fxch st(1)
fstp qword [esp + 0x60]
fild dword [esp + 0x10]
fild dword [esp + 0x20]
fsub qword [esp + 0xc0]
fsubp st(1)
fst qword [esp + 0xa8]
cmp eax, 8
jne 0x10060140
movzx eax, byte [ebx + 0x20]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fcom qword [esp + 0x58]
fnstsw ax
test ah, 0x41
jne 0x100600cd
fstp qword [esp + 0x58]
jmp 0x100600cf
fstp st(0)
movzx edx, byte [ebx + 0x21]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x10060114
fstp st(2)
fxch st(1)
fst qword [esp + 0x90]
fxch st(1)
movzx eax, byte [ebx + 0x22]
mov edx, dword [esp + 0x38]
sub edx, eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fcom qword [esp + 0x60]
fnstsw ax
test ah, 5
jp 0x10060118
fstp qword [esp + 0x60]
jmp 0x1006011a
fstp st(0)
jmp 0x100600f1
fstp st(0)
movzx eax, byte [ebx + 0x23]
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x10060140
fstp qword [esp + 0xa8]
jmp 0x10060142
fstp st(0)
fld qword [esp + 0xa0]
fxch st(4)
fxch st(1)
mov eax, dword [esp + 0x28]
fld qword [esp + 0x60]
mov edx, dword [esp + 0xc8]
fcomp qword [esp + 0x58]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0xe0]
mov dword [esi + 0x1c], eax
fnstsw ax
mov dword [esi], ebx
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x70]
mov dword [esi + 0x20], ecx
xor ecx, ecx
or ebx, 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 0x18], edx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x40], ecx
test ah, 0x41
jnp 0x1006102f
fld qword [esp + 0xa8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jnp 0x1006102f
fld st(3)
fchs
fstp qword [esp + 0xc0]
fld st(5)
fmul st(4)
fld qword [esp + 0x98]
fmul st(4)
fsubp st(1)
fstp qword [esp + 0xb8]
fld st(1)
fchs
fstp qword [esp + 0x28]
fld st(1)
fmul st(3)
fld st(6)
fmul st(6)
fsubp st(1)
fstp qword [esp + 0xb0]
fld qword [0x1007e218]
fsub st(3), st(0)
fsubp st(6)
fld st(0)
fmul st(4)
fld qword [esp + 0x58]
fmulp st(6)
fld st(5)
fadd st(1)
fadd st(4)
fstp qword [esp + 0xe8]
fxch st(1)
fmul qword [esp + 0x98]
fld qword [esp + 0x58]
fmul st(3)
fst qword [esp + 0x48]
fadd st(1)
fadd st(7)
fstp qword [esp + 0xf0]
fld qword [esp + 0xa8]
fmulp st(5)
fxch st(4)
fstp qword [esp + 0x78]
fld qword [esp + 0x60]
fmul qword [esp + 0xa0]
fst qword [esp + 0x80]
fadd qword [esp + 0x78]
fadd st(3)
fstp qword [esp + 0x108]
fld qword [esp + 0xa8]
fmul qword [esp + 0x98]
fld qword [esp + 0x60]
fmulp st(3)
fxch st(2)
fst qword [esp + 0x20]
fadd st(2)
fadd st(6)
fstp qword [esp + 0x110]
fldz
fcomp qword [esp + 0xd8]
fnstsw ax
fadd qword [esp + 0x80]
fadd st(2)
test ah, 5
jp 0x100602e3
fstp qword [esp + 0xf8]
fld qword [esp + 0x20]
faddp st(3)
fxch st(2)
fadd st(4)
fst qword [esp + 0x100]
fld qword [esp + 0x78]
faddp st(4)
fxch st(3)
faddp st(1)
fstp qword [esp + 0x118]
fadd qword [esp + 0x48]
faddp st(2)
fxch st(1)
fst qword [esp + 0x120]
jmp 0x1006031d
fstp qword [esp + 0x118]
fld qword [esp + 0x20]
faddp st(3)
fxch st(2)
fadd st(4)
fst qword [esp + 0x120]
fld qword [esp + 0x78]
faddp st(4)
fxch st(3)
faddp st(1)
fstp qword [esp + 0xf8]
fadd qword [esp + 0x48]
faddp st(2)
fxch st(1)
fst qword [esp + 0x100]
fxch st(1)
fld qword [esp + 0xf0]
mov dword [esp + 0x1c], ecx
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1006033c
mov ecx, 1
mov dword [esp + 0x1c], ecx
mov edx, ecx
add edx, edx
fld qword [esp + edx*8 + 0xf0]
fcomp qword [esp + 0x110]
fnstsw ax
test ah, 0x41
jne 0x1006035e
mov ecx, 2
mov dword [esp + 0x1c], ecx
mov eax, ecx
add eax, eax
fcomp qword [esp + eax*8 + 0xf0]
fnstsw ax
test ah, 5
jp 0x10060379
mov ecx, 3
mov dword [esp + 0x1c], ecx
mov esi, ecx
add esi, esi
fld qword [esp + esi*8 + 0xf0]
fld st(0)
fld qword [0x1007e228]
fcom st(2)
fnstsw ax
fld qword [0x1007e220]
test ah, 0x41
jp 0x100603a1
fstp st(2)
fld st(0)
jmp 0x100603b2
fcom st(3)
fnstsw ax
test ah, 1
jne 0x100603b0
fstp st(2)
fld st(1)
jmp 0x100603b2
fxch st(2)
call fcn.1007d380
mov edi, eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x74], ebx
cmp edi, dword [esp + 0x34]
jl 0x100603e4
fstp st(2)
xor eax, eax
fstp st(1)
fstp st(0)
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1007d356
mov esp, ebp
pop ebp
ret
fldz
fcomp st(3)
fnstsw ax
test ah, 0x41
jp 0x1006054a
fild dword [esp + 0x50]
fld st(3)
fucompp
fnstsw ax
test ah, 0x44
jp 0x10060543
mov edx, dword [esp + 0x1c]
fld qword [esp + esi*8 + 0xe8]
fld qword [esp + esi*8 + 0xe8]
lea eax, [esp + esi*8 + 0xe8]
lea ecx, [edx + 1]
fld st(4)
and ecx, 3
shl ecx, 4
fld qword [esp + ecx + 0xf0]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1006045f
fld qword [esp + ecx + 0xe8]
fcom st(2)
fnstsw ax
test ah, 1
je 0x10060450
fstp st(2)
fld st(1)
fxch st(2)
fcom st(1)
fnstsw ax
test ah, 0x41
jnp 0x1006045d
fstp st(1)
jmp 0x1006045f
fstp st(0)
lea ecx, [edx - 1]
and ecx, 3
shl ecx, 4
fld qword [esp + ecx + 0xf0]
fucomp st(5)
fnstsw ax
fstp st(4)
test ah, 0x44
jp 0x1006049f
fld qword [esp + ecx + 0xe8]
fcom st(1)
fnstsw ax
test ah, 1
je 0x10060490
fstp st(1)
fld st(0)
fxch st(1)
fcom st(4)
fnstsw ax
test ah, 0x41
jnp 0x1006049d
fstp st(4)
jmp 0x1006049f
fstp st(0)
fld st(0)
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 1
jne 0x100604b2
fstp st(1)
fld st(1)
jmp 0x100604c3
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x100604c1
fstp st(1)
fld st(2)
jmp 0x100604c3
fxch st(1)
call fcn.1007d380
mov ecx, eax
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 1
mov eax, ecx
je 0x100604e0
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x6c]
fcomp st(1)
mov dword [ebx + edi*4], eax
fnstsw ax
test ah, 1
jne 0x100604f7
mov dword [ebx + edi*4], 0x7fffffff
fld st(2)
fxch st(3)
fcom st(1)
fnstsw ax
test ah, 1
jne 0x10060518
fstp st(3)
fstp st(2)
fld st(1)
call fcn.1007d380
mov ecx, dword [esp + 0x70]
mov dword [ecx + edi*4], eax
jmp 0x10060558
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x10060533
fstp st(2)
fld st(0)
call fcn.1007d380
mov ecx, dword [esp + 0x70]
mov dword [ecx + edi*4], eax
jmp 0x10060558
fxch st(2)
call fcn.1007d380
mov ecx, dword [esp + 0x70]
mov dword [ecx + edi*4], eax
jmp 0x10060558
inc edi
mov dword [esp + 0x50], edi
jmp 0x10060552
mov dword [esp + 0x50], 0
mov ebx, dword [esp + 0x6c]
fstp st(2)
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], 2
mov eax, ecx
and eax, 3
add eax, eax
fld qword [esp + eax*8 + 0xf0]
fld qword [esp + eax*8 + 0xe8]
lea eax, [ecx - 1]
mov dword [esp + 0x20], eax
and eax, 3
add eax, eax
fld qword [esp + eax*8 + 0xf0]
fld qword [esp + eax*8 + 0xe8]
fsub st(2)
fld st(1)
fsub st(4)
fdivp st(1)
fld st(3)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x100606b9
fld qword [0x10089328]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x100606b9
fld qword [0x10089320]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x100606b9
fldz
fcomp st(4)
fnstsw ax
test ah, 0x41
jne 0x100605e5
xor esi, esi
mov dword [esp + 0x48], esi
jmp 0x10060614
fld st(3)
fadd qword [0x1007e1f0]
fcom st(6)
fnstsw ax
test ah, 1
jne 0x100605fc
fstp st(0)
fld st(5)
jmp 0x10060609
fcom st(5)
fnstsw ax
test ah, 0x41
jp 0x10060609
fstp st(0)
fld st(4)
call fcn.1007d380
mov esi, eax
mov dword [esp + 0x48], eax
fld st(1)
fxch st(2)
fcom st(6)
fnstsw ax
test ah, 1
jne 0x10060629
fstp st(2)
fstp st(1)
fld st(4)
jmp 0x1006063a
fcomp st(5)
fnstsw ax
test ah, 0x41
jp 0x10060638
fstp st(1)
fld st(3)
jmp 0x1006063a
fxch st(1)
call fcn.1007d380
mov edi, eax
cmp edi, dword [esp + 0x34]
jl 0x1006064c
mov edi, dword [esp + 0x34]
dec edi
fild dword [esp + 0x48]
fsubrp st(3)
fmul st(2), st(0)
fxch st(2)
faddp st(1)
cmp esi, edi
jg 0x100606bd
fld st(0)
fxch st(1)
fcom st(4)
fnstsw ax
test ah, 1
jne 0x1006066f
fstp st(1)
fld st(3)
jmp 0x10060680
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x1006067e
fstp st(1)
fld st(2)
jmp 0x10060680
fxch st(1)
call fcn.1007d380
mov ecx, eax
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 1
mov eax, ecx
je 0x1006069d
lea eax, [ecx + 1]
fcom st(3)
mov dword [ebx + esi*4], eax
fnstsw ax
test ah, 1
jne 0x100606b0
mov dword [ebx + esi*4], 0x7fffffff
inc esi
fadd st(1)
cmp esi, edi
jle 0x1006065c
jmp 0x100606bd
fstp st(3)
fstp st(0)
dec dword [esp + 0x3c]
fstp st(0)
mov ecx, dword [esp + 0x20]
fstp st(0)
jne 0x10060564
mov ebx, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x18], 2
lea eax, [ebx - 1]
and eax, 3
add eax, eax
fld qword [esp + eax*8 + 0xf0]
fld qword [esp + eax*8 + 0xe8]
mov eax, ebx
and eax, 3
add eax, eax
fld qword [esp + eax*8 + 0xf0]
fld qword [esp + eax*8 + 0xe8]
fsub st(2)
fld st(1)
fsub st(4)
fdivp st(1)
fld st(3)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1006080d
fld qword [0x10089328]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1006080d
fld qword [0x10089320]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x1006080d
fldz
fcomp st(4)
fnstsw ax
test ah, 0x41
jne 0x10060759
xor esi, esi
mov dword [esp + 0x48], esi
jmp 0x10060788
fld st(3)
fadd qword [0x1007e1f0]
fcom st(6)
fnstsw ax
test ah, 1
jne 0x10060770
fstp st(0)
fld st(5)
jmp 0x1006077d
fcom st(5)
fnstsw ax
test ah, 0x41
jp 0x1006077d
fstp st(0)
fld st(4)
call fcn.1007d380
mov esi, eax
mov dword [esp + 0x48], eax
fld st(1)
fxch st(2)
fcom st(6)
fnstsw ax
test ah, 1
jne 0x1006079d
fstp st(2)
fstp st(1)
fld st(4)
jmp 0x100607ae
fcomp st(5)
fnstsw ax
test ah, 0x41
jp 0x100607ac
fstp st(1)
fld st(3)
jmp 0x100607ae
fxch st(1)
call fcn.1007d380
mov edi, eax
cmp edi, dword [esp + 0x34]
jl 0x100607c0
mov edi, dword [esp + 0x34]
dec edi
fild dword [esp + 0x48]
fsubrp st(3)
fmul st(2), st(0)
fxch st(2)
faddp st(1)
cmp esi, edi
jg 0x10060807
fld st(0)
fxch st(1)
fcom st(4)
fnstsw ax
test ah, 1
jne 0x100607e3
fstp st(1)
fld st(3)
jmp 0x100607f4
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x100607f2
fstp st(1)
fld st(2)
jmp 0x100607f4
fxch st(1)
call fcn.1007d380
fadd st(1)
mov edx, dword [esp + 0x70]
mov dword [edx + esi*4], eax
inc esi
cmp esi, edi
jle 0x100607d0
mov dword [esp + 0x74], edi
jmp 0x10060811
fstp st(3)
fstp st(0)
fstp st(0)
inc ebx
dec dword [esp + 0x18]
fstp st(0)
jne 0x100606dc
fstp st(1)
fstp st(0)
fld qword [esp + 0x58]
fld st(0)
fld qword [esp + 0xd8]
fmul st(1), st(0)
fxch st(1)
fstp qword [esp + 0x80]
fld qword [esp + 0x90]
fld st(0)
fmul st(2)
fstp qword [esp + 0x78]
fld qword [esp + 0x60]
fld st(0)
fmul st(3)
fstp qword [esp + 0x60]
fld qword [esp + 0xa8]
fld st(0)
fmul st(4)
fstp qword [esp + 0x58]
fld qword [esp + 0xd0]
fadd st(5), st(0)
fxch st(5)
call fcn.1007d380
fxch st(2)
fadd st(4)
mov dword [esp + 0x34], eax
call fcn.1007d380
fadd st(3)
mov dword [esp + 0x3c], eax
call fcn.1007d380
faddp st(2)
fxch st(1)
mov dword [esp + 0x54], eax
call fcn.1007d380
cmp dword [ebp + 0x2c], 8
mov dword [esp + 0x18], eax
jne 0x100608d2
mov edx, dword [esp + 0x38]
mov eax, dword [ebp + 0x24]
sub edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x34], eax
lea eax, [edx + eax + 1]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
lea ecx, [eax + ecx + 1]
mov dword [esp + 0x18], ecx
fld1
mov ecx, dword [ebp + 0x34]
fdivrp st(1)
mov edx, 1
shl edx, cl
mov dword [esp + 0x20], edx
fst qword [esp + 0xd8]
fild dword [esp + 0x20]
fst qword [esp + 0x90]
fld st(1)
fld qword [esp + 0x98]
fmul st(1), st(0)
fxch st(1)
fmulp st(2)
fxch st(1)
call fcn.1007d380
mov ecx, dword [ebp + 0x38]
mov dword [esp + 0x10], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fst qword [esp + 0x98]
fld qword [esp + 0x28]
fld st(0)
fmul st(4)
fmulp st(2)
fxch st(1)
call fcn.1007d380
fldz
fcomp st(3)
mov dword [esp + 0x28], eax
fnstsw ax
fstp st(2)
test ah, 5
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
jp 0x10060c7b
cmp eax, dword [esp + 0x74]
jg 0x10060f8c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x6c]
sub ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
sub ecx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x48]
fld qword [0x1007e218]
mov edi, dword [ecx]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ecx]
xor ecx, ecx
test eax, eax
sets cl
mov dword [esp + 0x20], edi
dec ecx
and ecx, eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x14], ecx
cmp edi, eax
jl 0x100609c5
lea edi, [eax - 1]
mov dword [esp + 0x20], edi
fild dword [esp + 0x14]
fadd st(1)
fild dword [esp + 0x1c]
fadd st(2)
fild dword [esp + 0x20]
faddp st(3)
fld qword [esp + 0xc0]
fmul st(1)
fld st(2)
fmul st(5)
fadd st(1)
fadd qword [esp + 0xb8]
fxch st(2)
fmul qword [esp + 0xa0]
fxch st(3)
fmul st(6)
fadd st(3)
fadd qword [esp + 0xb0]
fld qword [esp + 0x80]
fcomp st(3)
fnstsw ax
test ah, 0x41
je 0x10060a3a
fld qword [esp + 0x60]
fcomp st(3)
fnstsw ax
test ah, 0x41
jnp 0x10060a3a
fld qword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10060a3a
fld qword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x10060a89
fxch st(2)
fadd st(5)
fxch st(2)
fadd st(6)
cmp ecx, 0x7fffffff
jge 0x10060a4f
inc ecx
mov dword [esp + 0x14], ecx
fld qword [esp + 0x80]
fcomp st(3)
fnstsw ax
test ah, 0x41
je 0x10060a86
fld qword [esp + 0x60]
fcomp st(3)
fnstsw ax
test ah, 0x41
jnp 0x10060a86
fld qword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10060a86
fld qword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x10060a89
or edi, 0xffffffff
fld st(4)
fmul st(6)
faddp st(2)
fxch st(1)
fadd qword [esp + 0xb8]
fxch st(4)
fmul st(6)
faddp st(3)
fxch st(2)
fadd qword [esp + 0xb0]
fld qword [esp + 0x80]
fcomp st(4)
fnstsw ax
test ah, 0x41
je 0x10060ade
fld qword [esp + 0x60]
fcomp st(4)
fnstsw ax
test ah, 0x41
jnp 0x10060ade
fld qword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10060ade
fld qword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x10060b38
fxch st(3)
fsub st(4)
fxch st(3)
fsub st(5)
cmp edi, 0x80000000
jle 0x10060aef
dec edi
fld qword [esp + 0x80]
fcomp st(4)
fnstsw ax
test ah, 0x41
je 0x10060b2f
fld qword [esp + 0x60]
fcomp st(4)
fnstsw ax
fstp st(3)
test ah, 0x41
jnp 0x10060b31
fld qword [esp + 0x78]
fcomp st(3)
fnstsw ax
test ah, 0x41
je 0x10060b31
fld qword [esp + 0x58]
fcomp st(3)
fnstsw ax
fstp st(2)
test ah, 0x41
jp 0x10060b3c
or edi, 0xffffffff
jmp 0x10060b3c
fstp st(3)
fstp st(2)
or edi, 0xffffffff
jmp 0x10060b3c
fstp st(3)
fstp st(2)
fld qword [esp + 0xd8]
fmul st(2), st(0)
fld qword [esp + 0xd0]
fadd st(3), st(0)
fxch st(3)
fmul qword [esp + 0x90]
call fcn.1007d380
fmulp st(1)
mov ecx, dword [ebp + 0x34]
mov ebx, eax
faddp st(1)
mov esi, ebx
sar esi, cl
fmul qword [esp + 0x98]
call fcn.1007d380
mov ecx, dword [ebp + 0x38]
mov edx, eax
sar edx, cl
mov ecx, dword [esp + 0x34]
cmp esi, ecx
jge 0x10060b8d
mov ebx, ecx
mov ecx, dword [ebp + 0x34]
shl ebx, cl
jmp 0x10060b9d
mov ecx, dword [esp + 0x54]
cmp esi, ecx
jl 0x10060b9d
mov ebx, ecx
mov ecx, dword [ebp + 0x34]
shl ebx, cl
dec ebx
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x10060bae
mov eax, ecx
mov ecx, dword [ebp + 0x38]
shl eax, cl
jmp 0x10060bbe
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jl 0x10060bbe
mov eax, ecx
mov ecx, dword [ebp + 0x38]
shl eax, cl
dec eax
cmp edi, dword [esp + 0x14]
jl 0x10060c2a
mov ecx, dword [ebp + 0x34]
mov edx, edi
sub edx, dword [esp + 0x14]
mov esi, edx
imul edx, dword [esp + 0x28]
imul esi, dword [esp + 0x10]
add esi, ebx
sar esi, cl
mov ecx, dword [ebp + 0x38]
add edx, eax
sar edx, cl
cmp esi, dword [esp + 0x34]
jl 0x10060bf0
cmp esi, dword [esp + 0x54]
jl 0x10060c08
cmp dword [esp + 0x10], 0
mov ecx, 1
jle 0x10060c02
sub dword [esp + 0x10], ecx
jmp 0x10060c0d
add dword [esp + 0x10], ecx
jmp 0x10060c0d
mov ecx, 1
cmp edx, dword [esp + 0x3c]
jl 0x10060c19
cmp edx, dword [esp + 0x18]
jl 0x10060c2a
cmp dword [esp + 0x28], 0
jle 0x10060c26
sub dword [esp + 0x28], ecx
jmp 0x10060c2a
add dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
mov dword [esi + ecx], edx
mov esi, dword [esp + 0x44]
mov dword [ecx], edi
sub edi, edx
mov dword [esi + ecx], ebx
mov esi, dword [esp + 0x40]
inc edi
mov dword [esi + ecx], eax
cmp edi, dword [esp + 0x8c]
jle 0x10060c5c
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x1c]
inc eax
add ecx, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], ecx
cmp eax, dword [esp + 0x74]
jle 0x1006098e
jmp 0x10060f8c
cmp eax, dword [esp + 0x74]
jg 0x10060f8c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x6c]
sub ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
sub ecx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x48]
fld qword [0x1007e218]
mov edi, dword [ecx]
mov eax, dword [esp + 0x38]
mov eax, dword [ecx + eax]
xor ecx, ecx
test eax, eax
sets cl
mov dword [esp + 0x20], edi
dec ecx
and ecx, eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x14], ecx
cmp edi, eax
jl 0x10060ce9
lea edi, [eax - 1]
mov dword [esp + 0x20], edi
fild dword [esp + 0x14]
fadd st(1)
fild dword [esp + 0x1c]
fadd st(2)
fild dword [esp + 0x20]
faddp st(3)
fld qword [esp + 0xc0]
fmul st(1)
fld st(2)
fmul st(5)
fadd st(1)
fadd qword [esp + 0xb8]
fxch st(2)
fmul qword [esp + 0xa0]
fxch st(3)
fmul st(6)
fadd st(3)
fadd qword [esp + 0xb0]
fld qword [esp + 0x80]
fcomp st(3)
fnstsw ax
test ah, 5
jnp 0x10060d5e
fld qword [esp + 0x60]
fcomp st(3)
fnstsw ax
test ah, 1
je 0x10060d5e
fld qword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x10060d5e
fld qword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10060dad
fxch st(2)
fadd st(5)
fxch st(2)
fadd st(6)
cmp ecx, 0x7fffffff
jge 0x10060d73
inc ecx
mov dword [esp + 0x14], ecx
fld qword [esp + 0x80]
fcomp st(3)
fnstsw ax
test ah, 5
jnp 0x10060daa
fld qword [esp + 0x60]
fcomp st(3)
fnstsw ax
test ah, 1
je 0x10060daa
fld qword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x10060daa
fld qword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10060dad
or edi, 0xffffffff
fld st(4)
fmul st(6)
faddp st(2)
fxch st(1)
fadd qword [esp + 0xb8]
fxch st(4)
fmul st(6)
faddp st(3)
fxch st(2)
fadd qword [esp + 0xb0]
fld qword [esp + 0x80]
fcomp st(4)
fnstsw ax
test ah, 5
jnp 0x10060e02
fld qword [esp + 0x60]
fcomp st(4)
fnstsw ax
test ah, 1
je 0x10060e02
fld qword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x10060e02
fld qword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10060e5c
fxch st(3)
fsub st(4)
fxch st(3)
fsub st(5)
cmp edi, 0x80000000
jle 0x10060e13
dec edi
fld qword [esp + 0x80]
fcomp st(4)
fnstsw ax
test ah, 5
jnp 0x10060e53
fld qword [esp + 0x60]
fcomp st(4)
fnstsw ax
fstp st(3)
test ah, 1
je 0x10060e55
fld qword [esp + 0x78]
fcomp st(3)
fnstsw ax
test ah, 5
jnp 0x10060e55
fld qword [esp + 0x58]
fcomp st(3)
fnstsw ax
fstp st(2)
test ah, 1
jne 0x10060e60
or edi, 0xffffffff
jmp 0x10060e60
fstp st(3)
fstp st(2)
or edi, 0xffffffff
jmp 0x10060e60
fstp st(3)
fstp st(2)
fld qword [esp + 0xd8]
fmul st(2), st(0)
fld qword [esp + 0xd0]
fadd st(3), st(0)
fxch st(3)
fmul qword [esp + 0x90]
call fcn.1007d380
mov ecx, dword [ebp + 0x34]
mov edx, dword [esp + 0x34]
mov ebx, eax
sar eax, cl
cmp eax, edx
jge 0x10060e95
mov ebx, edx
shl ebx, cl
jmp 0x10060ea2
mov edx, dword [esp + 0x54]
cmp eax, edx
jl 0x10060ea2
mov ebx, edx
shl ebx, cl
dec ebx
fmulp st(1)
faddp st(1)
fmul qword [esp + 0x98]
call fcn.1007d380
mov ecx, dword [ebp + 0x38]
mov esi, dword [esp + 0x3c]
mov edx, eax
sar edx, cl
cmp edx, esi
jge 0x10060ec7
mov eax, esi
shl eax, cl
jmp 0x10060ed4
mov esi, dword [esp + 0x18]
cmp edx, esi
jl 0x10060ed4
mov eax, esi
shl eax, cl
dec eax
cmp edi, dword [esp + 0x14]
jl 0x10060f40
mov ecx, dword [ebp + 0x34]
mov edx, edi
sub edx, dword [esp + 0x14]
mov esi, edx
imul edx, dword [esp + 0x28]
imul esi, dword [esp + 0x10]
add esi, ebx
sar esi, cl
mov ecx, dword [ebp + 0x38]
add edx, eax
sar edx, cl
cmp esi, dword [esp + 0x34]
jl 0x10060f06
cmp esi, dword [esp + 0x54]
jl 0x10060f1e
cmp dword [esp + 0x10], 0
mov ecx, 1
jle 0x10060f18
sub dword [esp + 0x10], ecx
jmp 0x10060f23
add dword [esp + 0x10], ecx
jmp 0x10060f23
mov ecx, 1
cmp edx, dword [esp + 0x3c]
jl 0x10060f2f
cmp edx, dword [esp + 0x18]
jl 0x10060f40
cmp dword [esp + 0x28], 0
jle 0x10060f3c
sub dword [esp + 0x28], ecx
jmp 0x10060f40
add dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
mov dword [ecx + esi], edx
mov esi, dword [esp + 0x44]
mov dword [ecx], edi
sub edi, edx
mov dword [ecx + esi], ebx
mov esi, dword [esp + 0x40]
inc edi
mov dword [ecx + esi], eax
cmp edi, dword [esp + 0x8c]
jle 0x10060f72
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x1c]
inc eax
add ecx, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], ecx
cmp eax, dword [esp + 0x74]
jle 0x10060cb2
mov edi, dword [esp + 0x50]
fstp st(1)
mov ebx, dword [esp + 0x6c]
fstp st(0)
mov ecx, dword [ebx + edi*4]
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
lea eax, [ebx + edi*4]
cmp ecx, dword [esi + edi*4]
jle 0x10060fbd
sub esi, ebx
cmp edi, edx
jg 0x10060fde
mov ecx, dword [eax + 4]
add eax, 4
inc edi
cmp ecx, dword [esi + eax]
jg 0x10060fad
cmp edi, edx
jge 0x10060fde
mov esi, dword [ebx + edx*4]
mov ecx, dword [esp + 0x70]
lea eax, [ebx + edx*4]
cmp esi, dword [ecx + edx*4]
jle 0x10060fde
sub ecx, ebx
mov esi, dword [eax - 4]
sub eax, 4
dec edx
cmp esi, dword [eax + ecx]
jg 0x10060fd2
mov eax, dword [esp + 0xe4]
lea ecx, [edi - 1]
imul ecx, dword [esp + 0xe0]
add ecx, dword [esp + 0xc8]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x24], edi
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1007d356
mov esp, ebp
pop ebp
ret
fstp st(2)
xor eax, eax
fstp st(4)
fstp st(1)
fstp st(2)
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1007d356
mov esp, ebp
pop ebp
ret
fstp st(3)
fstp st(0)
fstp st(2)
fstp st(1)
fstp st(2)
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1007d356
mov esp, ebp
pop ebp
ret