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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov ecx, 0x10a4df90
call fcn.10004782
mov eax, dword [0x10a18d7c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x70]
push edx
mov ecx, dword [0x10a18c1c]
call dword [ebp - 0x48]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x101645dc
xor eax, eax
jmp 0x10164b58
mov eax, dword [ebp - 4]
mov ecx, dword [0x10a18bec]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0xc8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0
jge 0x101645fe
xor eax, eax
jmp 0x10164b58
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x64], edx
mov eax, dword [0x10a18bc4]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [edx], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x34]
call dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x10164af4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jge 0x10164685
mov dword [ebp - 0x38], 0
jmp 0x1016468d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x150], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x154], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x158], edx
mov eax, dword [ebp - 4]
vxorps xmm0, xmm0, xmm0
vmovss dword [eax + 0xf8], xmm0
mov ecx, dword [ebp - 4]
vxorps xmm0, xmm0, xmm0
vmovss dword [ecx + 0xf4], xmm0
mov edx, dword [0x10a18bc4]
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov dword [ebp - 0x78], eax
mov ecx, 8
shl ecx, 2
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
call dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov dword [eax + 0x15c], edx
mov ecx, dword [0x10a18bec]
mov edx, dword [ebp + 8]
vmovss xmm0, dword [ecx + 0x10]
vmulss xmm0, xmm0, dword [edx + 0x58]
mov eax, dword [ebp - 4]
vmovss dword [eax + 0xc4], xmm0
mov ecx, dword [0x10a18bec]
mov edx, dword [ebp + 8]
vmovss xmm0, dword [ecx + 0x10]
vaddss xmm0, xmm0, dword [edx + 0x40]
mov eax, dword [ebp - 4]
vmovss dword [eax + 0xc8], xmm0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov dword [ecx + 0xcc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
mov dword [ecx + 0xd0], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0xd4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x50]
mov dword [ecx + 0xd8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
mov dword [ecx + 0xec], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov dword [ecx + 0xf0], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
mov dword [ecx + 0xdc], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp + 8]
add edx, 0x14
mov dword [ebp - 0x14], edx
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
add ecx, 0x20
mov dword [ebp - 0x1c], ecx
mov edx, 0xc
shl edx, 0
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 0x3c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 8]
add edx, 0x20
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
vmovss xmm0, dword [ecx]
vsubss xmm0, xmm0, dword [edx]
vmovss dword [ebp - 0x90], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
vmovss xmm0, dword [eax + 4]
vsubss xmm0, xmm0, dword [ecx + 4]
vmovss dword [ebp - 0x94], xmm0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
vmovss xmm0, dword [edx + 8]
vsubss xmm0, xmm0, dword [eax + 8]
vmovss dword [ebp - 0x98], xmm0
vmovss xmm0, dword [ebp - 0x90]
vmovss dword [ebp - 0xc8], xmm0
vmovss xmm0, dword [ebp - 0x94]
vmovss dword [ebp - 0xc4], xmm0
vmovss xmm0, dword [ebp - 0x98]
vmovss dword [ebp - 0xc0], xmm0
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
add eax, 0xb4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x74], 0xffffffff
jne 0x10164ae5
mov edx, dword [ebp - 4]
vcvtss2sd xmm0, xmm0, dword [edx + 0xd8]
vcomisd xmm0, qword [0x1031f2c8]
jb 0x10164a2f
mov eax, dword [ebp - 4]
add eax, 0xb4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
vmovss xmm0, dword [ecx]
vmulss xmm0, xmm0, dword [edx]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
vmovss xmm1, dword [eax + 4]
vmulss xmm1, xmm1, dword [ecx + 4]
vaddss xmm0, xmm0, xmm1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
vmovss xmm1, dword [edx + 8]
vmulss xmm1, xmm1, dword [eax + 8]
vaddss xmm0, xmm0, xmm1
vmovss dword [ebp - 0xa0], xmm0
vmovss xmm0, dword [ebp - 0xa0]
vcvtss2sd xmm0, xmm0, xmm0
sub esp, 8
vmovsd qword [esp], xmm0
call sub.ucrtbased.dll_sqrt
add esp, 8
fstp dword [ebp - 0xa4]
vmovss xmm0, dword [ebp - 0xa4]
vmovss dword [ebp - 0xa8], xmm0
vmovss xmm0, dword [ebp - 0xa8]
vmovss dword [ebp - 0xac], xmm0
vmovss xmm0, dword [ebp - 0xac]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x1031f2b8]
vaddsd xmm0, xmm0, qword [0x1031f2d8]
vcvttsd2si ecx, xmm0
mov edx, dword [ebp - 4]
mov dword [edx + 0xfc], ecx
jmp 0x10164ae3
mov eax, dword [ebp - 4]
add eax, 0xb4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
vmovss xmm0, dword [ecx]
vmulss xmm0, xmm0, dword [edx]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
vmovss xmm1, dword [eax + 4]
vmulss xmm1, xmm1, dword [ecx + 4]
vaddss xmm0, xmm0, xmm1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
vmovss xmm1, dword [edx + 8]
vmulss xmm1, xmm1, dword [eax + 8]
vaddss xmm0, xmm0, xmm1
vmovss dword [ebp - 0xb0], xmm0
vmovss xmm0, dword [ebp - 0xb0]
vcvtss2sd xmm0, xmm0, xmm0
sub esp, 8
vmovsd qword [esp], xmm0
call sub.ucrtbased.dll_sqrt
add esp, 8
fstp dword [ebp - 0xb4]
vmovss xmm0, dword [ebp - 0xb4]
vmovss dword [ebp - 0xb8], xmm0
vmovss xmm0, dword [ebp - 0xb8]
vmovss dword [ebp - 0xbc], xmm0
vmovss xmm0, dword [ebp - 0xbc]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x1031f2a8]
vaddsd xmm0, xmm0, qword [0x1031f2d8]
vcvttsd2si ecx, xmm0
mov edx, dword [ebp - 4]
mov dword [edx + 0xfc], ecx
jmp 0x10164af4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
mov dword [eax + 0xfc], edx
mov eax, dword [ebp + 8]
vcvtsi2ss xmm0, xmm0, dword [eax + 0x5c]
mov ecx, dword [ebp - 4]
vmovss dword [ecx + 0xf8], xmm0
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov dword [edx + 0xf4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x34]
or ecx, dword [eax + 0x78]
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x64]
mov dword [eax + 0xe0], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov dword [eax + 0xe4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0xe8], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret