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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10039f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
fld qword [esi + 0x10]
fsub qword [ebp + 0x10]
fld qword [esi + 0x18]
fsub qword [ebp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0xc]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov dword [esp + 0x48], eax
or eax, 0xffffffff
test ecx, ecx
faddp st(1)
push edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
fstp qword [esp + 0x24]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
fstp st(0)
fstp st(0)
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0
jle 0x1001d6b2
mov edi, dword [ebp + 0x1c]
add esi, 0x30
mov ebx, edx
mov eax, dword [esi - 0x30]
test eax, eax
jne 0x1001d573
push esi
lea ecx, [esp + 0x54]
call fcn.10023be0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push edi
push ebx
push ecx
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0
call fcn.10023ec0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
fstp qword [esp + 0x14]
push edi
push ebx
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.10023e70
fstp qword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x80], 0xffffffff
call fcn.10032a70
jmp 0x1001d60c
cmp eax, 1
jne 0x1001d5c8
fld qword [ebp + 0x10]
fsub qword [esi]
fstp qword [esp + 0x34]
fld qword [ebp + 0x18]
fsub qword [esi + 8]
mov ecx, dword [esp + 0x38]
fstp qword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
call dword [sym.imp.msvcrt.dll__hypot]
fsubr qword [esi + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
add esp, 0x10
fabs
fstp qword [esp + 0x1c]
push edi
push ebx
push eax
push ecx
mov ecx, esi
call fcn.1001c470
fstp qword [esp + 0x14]
jmp 0x1001d60c
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x60]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.10026210
cmp eax, 2
je 0x1001d60c
fld qword [esp + 0x24]
fadd qword [0x1003cc60]
fstp qword [esp + 0x1c]
fld qword [esp + 0x14]
fcomp qword [0x1003cba0]
fld qword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x1001d63f
fcomp qword [0x1003cc60]
fnstsw ax
test ah, 0x41
je 0x1001d646
fld qword [esp + 0x1c]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x1001d697
jmp 0x1001d66f
fmul qword [esi - 0x28]
fchs
jmp 0x1001d653
fld qword [esp + 0x14]
fsub qword [0x1003cc60]
fmul qword [esi - 0x28]
fcomp qword [0x1003cd38]
fnstsw ax
test ah, 1
je 0x1001d697
fld qword [esp + 0x1c]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x1001d697
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0x20]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
inc eax
add esi, 0x70
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x1001d510
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret