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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdcc
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp + 8]
test eax, eax
je 0x10017de8
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
push esi
push eax
mov edx, dword [ecx]
call dword [edx + 0xd8]
test eax, eax
jne 0x100186a7
lea ecx, [esp + 0xb8]
lea edx, [esp + 0xc0]
push ecx
lea eax, [esp + 0xac]
push edx
lea ecx, [esp + 0xb8]
push eax
push ecx
mov ecx, dword [ebx + 0x1c]
call fcn.1002c300
mov edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
fld qword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
fsub qword [esp + 0x78]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
fstp qword [esp + 0x30]
fld qword [esi + 0xd8]
fsub qword [esp + 0x90]
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fabs
fcom qword [0x10071268]
fnstsw ax
test ah, 5
jp 0x10017e8e
fld qword [esp + 0x28]
fabs
fcomp qword [0x10071268]
fnstsw ax
test ah, 5
jp 0x10017e8e
mov edi, 1
mov dword [esp + 0x64], edi
jmp 0x10017e9a
mov dword [esp + 0x64], 0
mov edi, dword [esp + 0x64]
fld qword [esp + 0x28]
fabs
fcompp
mov dword [esp + 0x60], 1
fnstsw ax
test ah, 5
jnp 0x10017eb9
mov dword [esp + 0x60], 0
test edi, edi
je 0x10017eda
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x10018028
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
fld qword [esp + 0x30]
fmul qword [esp + 0x30]
faddp st(1)
fdivr qword [0x10071148]
fld qword [esp + 0xb0]
fsub qword [esp + 0x78]
fmul qword [esp + 0x30]
fld qword [esp + 0xa8]
fsub qword [esp + 0x90]
fmul qword [esp + 0x28]
fst qword [esp + 0x50]
fadd st(1)
fmul st(2)
fstp qword [esp + 0x20]
fld qword [esp + 0xb8]
fsub qword [esp + 0x90]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fmul qword [esp + 0x28]
fst qword [esp + 0x18]
faddp st(1)
fmul st(1)
fcom qword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x10017f5a
fstp qword [esp + 0x10]
jmp 0x10017f6f
fcom qword [esp + 0x20]
fnstsw ax
and eax, 0x4100
jne 0x10017f6d
fstp qword [esp + 0x20]
jmp 0x10017f6f
fstp st(0)
fld qword [esp + 0xc0]
fsub qword [esp + 0x78]
fmul qword [esp + 0x30]
fld qword [esp + 0x50]
fadd st(1)
fmul st(2)
fcom qword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x10017f97
fstp qword [esp + 0x10]
jmp 0x10017fac
fcom qword [esp + 0x20]
fnstsw ax
and eax, 0x4100
jne 0x10017faa
fstp qword [esp + 0x20]
jmp 0x10017fac
fstp st(0)
fadd qword [esp + 0x18]
fmulp st(1)
fcom qword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x10017fc3
fstp qword [esp + 0x10]
jmp 0x10017fd8
fcom qword [esp + 0x20]
fnstsw ax
and eax, 0x4100
jne 0x10017fd6
fstp qword [esp + 0x20]
jmp 0x10017fd8
fstp st(0)
fld qword [esp + 0x10]
fcomp qword [0x10071140]
fnstsw ax
test ah, 5
jp 0x10018003
mov eax, dword [esi + 0x174]
test eax, eax
jne 0x10018003
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
fld qword [esp + 0x20]
fcomp qword [0x10071148]
fnstsw ax
and eax, 0x4100
jne 0x10018030
mov eax, dword [esi + 0x178]
test eax, eax
jne 0x10018030
mov dword [esp + 0x24], 0x3ff00000
mov dword [esp + 0x20], 0
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0xe0]
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0xec]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov dword [esp + 0x5c], edx
call dword [eax + 0x18]
fld qword [esp + 0x10]
fcomp qword [0x10071140]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x9c8], eax
mov dword [esp + 0x1c8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1cc], edx
fnstsw ax
mov dword [esp + 0x9d0], 0x100
mov dword [esp + 0x9cc], ecx
test ah, 5
jp 0x100180be
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x100180f7
fld qword [esp + 0x10]
fcomp qword [0x10071148]
fnstsw ax
and eax, 0x4100
jne 0x100180e3
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
jmp 0x100180f7
fld qword [esp + 0x58]
fsub qword [esp + 0x48]
fmul qword [esp + 0x10]
fadd qword [esp + 0x48]
fstp qword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.100278c0
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
test edi, edi
fadd qword [esp + 0x78]
fld qword [esp + 0x10]
fmul qword [esp + 0x28]
fadd qword [esp + 0x90]
je 0x1001814a
fld qword [0x10071140]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x100181cb
mov eax, dword [esp + 0x60]
fld qword [0x10071148]
test eax, eax
je 0x1001817c
fdiv qword [esp + 0x30]
fstp qword [esp + 0x18]
fld qword [esp + 0xa8]
fsub st(1)
fmul qword [esp + 0x18]
fld qword [esp + 0xb8]
fsub st(2)
fmul qword [esp + 0x18]
jmp 0x100181a2
fdiv qword [esp + 0x28]
fstp qword [esp + 0x18]
fld qword [esp + 0xb0]
fsub st(2)
fmul qword [esp + 0x18]
fchs
fld qword [esp + 0xc0]
fsub st(3)
fmul qword [esp + 0x18]
fchs
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
and eax, 0x4100
jne 0x100181cb
fstp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
fld qword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fld qword [esp + 0x28]
fmul st(1)
xor esi, esi
fsubr st(3)
fstp qword [esp + 0x68]
fmul qword [esp + 0x30]
fadd st(1)
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [esp + 0x28]
fsubr st(2)
fstp qword [esp + 0x80]
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
fadd st(1)
fstp qword [esp + 0x50]
fstp st(0)
fstp st(0)
mov edi, dword [esp + esi*4 + 0x9d0]
lea ecx, [esp + esi*4 + 0x9d0]
lea eax, [esi + 1]
mov dword [esp + 0x20], ecx
cmp edi, eax
jle 0x10018320
fld qword [esp + edi*8 + 0x1c8]
fcomp qword [0x10071140]
fnstsw ax
test ah, 5
jp 0x1001824c
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x1001828b
fld qword [esp + edi*8 + 0x1c8]
fcomp qword [0x10071148]
fnstsw ax
and eax, 0x4100
jne 0x10018274
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x1001828b
fld qword [esp + 0x58]
fsub qword [esp + 0x48]
fmul qword [esp + edi*8 + 0x1c8]
fadd qword [esp + 0x48]
fstp qword [esp + 0x38]
mov edx, edi
sub edx, esi
cmp edx, 0x40
jg 0x100182e7
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x148]
push eax
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.100278c0
mov eax, dword [esp + 0x44]
xor ecx, ecx
test eax, eax
jle 0x100182dd
mov eax, dword [esp + ecx*4 + 0x148]
mov edx, dword [esp + ecx*4 + 0xc8]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x100182dd
mov eax, dword [esp + 0x44]
inc ecx
cmp ecx, eax
jl 0x100182b8
cmp ecx, dword [esp + 0x44]
je 0x10018320
mov ecx, dword [esp + 0x20]
fld qword [esp + esi*8 + 0x1c8]
fadd qword [esp + edi*8 + 0x1c8]
lea eax, [edi + esi]
cdq
sub eax, edx
lea edx, [esi + 1]
fmul qword [0x10071138]
sar eax, 1
mov dword [ecx], eax
cmp eax, edx
mov dword [esp + eax*4 + 0x9d0], edi
mov edi, eax
fstp qword [esp + eax*8 + 0x1c8]
jg 0x10018226
mov eax, dword [esp + 0x44]
xor ecx, ecx
test eax, eax
jle 0x1001834f
mov eax, dword [esp + ecx*4 + 0x148]
mov edx, dword [esp + ecx*4 + 0xc8]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + ecx*4 + 0xc8], eax
mov eax, dword [esp + 0x44]
inc ecx
cmp ecx, eax
jl 0x1001832a
fld qword [esp + 0x30]
fmul qword [esp + edi*8 + 0x1c8]
lea edi, [esp + edi*8 + 0x1c8]
mov eax, dword [esp + 0x64]
test eax, eax
fadd qword [esp + 0x78]
fld qword [esp + 0x28]
fmul qword [edi]
fadd qword [esp + 0x90]
je 0x10018395
fld qword [0x10071140]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x10018416
mov eax, dword [esp + 0x60]
fld qword [0x10071148]
test eax, eax
je 0x100183c7
fdiv qword [esp + 0x30]
fstp qword [esp + 0x18]
fld qword [esp + 0xa8]
fsub st(1)
fmul qword [esp + 0x18]
fld qword [esp + 0xb8]
fsub st(2)
fmul qword [esp + 0x18]
jmp 0x100183ed
fdiv qword [esp + 0x28]
fstp qword [esp + 0x18]
fld qword [esp + 0xb0]
fsub st(2)
fmul qword [esp + 0x18]
fchs
fld qword [esp + 0xc0]
fsub st(3)
fmul qword [esp + 0x18]
fchs
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
and eax, 0x4100
jne 0x10018416
fstp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
fld qword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fld qword [esp + 0x28]
fmul st(1)
mov edi, dword [ebx + 0x1c]
mov ecx, 0x20
add edi, 0x7c
lea esi, [esp + 0xc8]
fsubr st(3)
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0xa0]
fmul qword [esp + 0x30]
fadd st(1)
fstp qword [esp + 0x98]
fld qword [esp + 0x10]
fmul qword [esp + 0x28]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
push eax
fsubr st(2)
mov edx, dword [ecx]
fstp qword [esp + 0x74]
fld qword [esp + 0x14]
fmul qword [esp + 0x34]
fadd st(1)
fstp qword [esp + 0x1c]
fstp st(0)
fstp st(0)
call dword [edx + 0x74]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [eax + 0x260], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x264], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [eax + 0x254]
push edx
call fcn.1002ba20
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [eax + 0x260], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x264], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [eax + 0x254]
push edx
call fcn.1002ba50
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x260], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x264], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [eax + 0x254]
push edx
call fcn.1002ba50
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [eax + 0x260], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 0x264], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [eax + 0x254]
push edx
call fcn.1002ba50
mov esi, dword [ebx + 0x1c]
mov ecx, dword [esi + 0x254]
call fcn.1002bc90
mov eax, dword [esi + 0x254]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx]
fld qword [ecx + edx*8 - 8]
fstp qword [esi + 0x258]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edx*4 - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
fld qword [edx + ecx*8 - 8]
fstp qword [esi + 0x260]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc8]
mov ecx, dword [ebx + 0x1c]
call fcn.1002c8e0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov ecx, 0x20
lea esi, [esp + 0x148]
lea edi, [esp + 0xc8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x9c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x18]
cmp esi, 0x100
mov dword [esp + 0x50], eax
jl 0x10018209
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4