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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10039f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x20]
fld qword [esi + 0x10]
fsub qword [ebp + 0x10]
fld qword [esi + 0x18]
fsub qword [ebp + 0x18]
mov dword [esp + 0x3c], ecx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edx, dword [ebp + 0x18]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov dword [edi], ecx
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x40], edx
faddp st(1)
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
fstp st(2)
fstp st(0)
fld dword [0x1003ced0]
fmul qword [0x1003cef8]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x1001d1ab
mov eax, dword [ebp + 0x24]
mov ebx, dword [ebp + 0xc]
cmp ebx, ecx
mov dword [eax], ecx
mov dword [eax + 4], 0x3ff00000
jle 0x1001d1b5
lea edx, [esi + 0x20]
fld qword [edx]
fsub qword [ebp + 0x10]
fld qword [edx + 8]
fsub qword [ebp + 0x18]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp + 0xc]
fstp st(0)
fstp st(0)
fld qword [esp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x1001d1a1
fstp st(0)
fld qword [esp + 0xc]
fld qword [esp + 0xc]
fcomp qword [0x1003cba0]
mov dword [edi], ecx
fnstsw ax
test ah, 0x40
jne 0x1001d1b5
inc ecx
add edx, 0x70
cmp ecx, ebx
jl 0x1001d15e
jmp 0x1001d1b5
mov eax, dword [ebp + 0x24]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
fsqrt
fstp qword [esp + 0x14]
fld dword [0x1003ced0]
fmul qword [0x1003cf08]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x1001d434
mov eax, dword [ebp + 0xc]
xor ebx, ebx
test eax, eax
jle 0x1001d434
add esi, 0x38
jmp 0x1001d1eb
mov edi, dword [ebp + 0x20]
mov eax, dword [esi - 0x38]
test eax, eax
jne 0x1001d30e
lea edi, [esi - 8]
lea ecx, [esp + 0x48]
push edi
call fcn.10023be0
fld dword [0x1003ced0]
fmul qword [0x1003cf08]
sub esp, 8
lea ecx, [esp + 0x50]
sub esp, 8
mov dword [esp + 0x88], 0
fdiv qword [esp + 0x78]
fld st(0)
fadd qword [0x1003cc60]
fstp qword [esp + 8]
fchs
fstp qword [esp]
call fcn.10023e00
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.10023e70
fst qword [esp + 0x1c]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x1001d2f8
fld qword [esp + 0x58]
fabs
fld qword [esp + 0x60]
fabs
fcompp
fnstsw ax
test ah, 1
je 0x1001d28c
fld qword [ebp + 0x10]
fsub qword [esp + 0x48]
fdiv qword [esp + 0x58]
jmp 0x1001d297
fld qword [ebp + 0x18]
fsub qword [esp + 0x50]
fdiv qword [esp + 0x60]
fcom qword [0x1003cba0]
fst qword [esp + 0xc]
fnstsw ax
test ah, 1
jne 0x1001d2f6
fcomp qword [0x1003cc60]
fnstsw ax
test ah, 1
je 0x1001d2f8
mov edx, dword [ebp + 0x20]
mov dword [edx], ebx
fld qword [esi + 8]
fabs
fld qword [esi + 0x10]
fabs
fcompp
fnstsw ax
test ah, 1
je 0x1001d2d7
fld qword [ebp + 0x10]
fsub qword [edi]
fdiv qword [esi + 8]
jmp 0x1001d2df
fld qword [ebp + 0x18]
fsub qword [esi]
fdiv qword [esi + 0x10]
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
fstp qword [eax]
mov dword [esp + 0x18], edx
jmp 0x1001d2f8
fstp st(0)
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 0xffffffff
call fcn.10032a70
jmp 0x1001d425
cmp eax, 1
jne 0x1001d3c2
fld qword [ebp + 0x10]
fsub qword [esi - 8]
lea edi, [esi - 8]
fstp qword [esp + 0x2c]
fld qword [ebp + 0x18]
fsub qword [esi]
mov edx, dword [esp + 0x30]
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call dword [sym.imp.msvcrt.dll__hypot]
fsubr qword [esi + 8]
add esp, 0x10
fabs
fst qword [esp + 0x1c]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x1001d425
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, edi
call fcn.1001c470
fst qword [esp + 0xc]
fcomp qword [0x1003cba0]
fnstsw ax
test ah, 1
jne 0x1001d425
fld qword [esp + 0xc]
fcomp qword [0x1003cc60]
fnstsw ax
test ah, 0x41
je 0x1001d425
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [edx], ebx
mov edx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x1c]
jmp 0x1001d41d
lea edx, [esp + 0x24]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esi - 8]
call fcn.10026210
fld qword [esp + 0x24]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x1001d425
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi], ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0xc]
inc ebx
add esi, 0x70
cmp ebx, eax
jl 0x1001d1e8
fld dword [0x1003ced0]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x1001d45c
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret