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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3a8
xorps xmm0, xmm0
movaps xmmword [rax - 0x58], xmm6
comiss xmm0, dword [rcx + 0x20]
mov rsi, rcx
movaps xmmword [rax - 0x68], xmm7
jae 0x180018681
comiss xmm0, dword [rcx + 0x24]
jae 0x180018681
mov r14, qword [0x1801a0da0]
xor r13d, r13d
test r14, r14
je 0x180017e43
mov r14, qword [r14 + 0xa0]
jmp 0x180017e46
mov r14, r13
mov rdi, qword [r14]
lea r15, [r14 + 0x10]
mov rcx, qword [r15]
mov r12d, 2
test rcx, rcx
je 0x180017e6d
mov eax, dword [rsi + 0xc]
cmp dword [r14 + 0x68], eax
jge 0x180017eb8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r15], r13
mov eax, dword [rsi + 0xc]
lea rdx, [rsp + 0x30]
add eax, 0x1388
mov dword [rsp + 0x34], r12d
mov dword [r14 + 0x68], eax
mov r9, r15
xor r8d, r8d
mov dword [rsp + 0x38], 1
mov rcx, rdi
mov qword [rsp + 0x3c], 0x10000
lea eax, [rax + rax*4]
shl eax, 2
mov dword [rsp + 0x30], eax
mov rax, qword [rdi]
call qword [rax + 0x238]
test eax, eax
js 0x180018681
lea rbx, [r14 + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180017ed6
mov eax, dword [rsi + 8]
cmp dword [r14 + 0x6c], eax
jge 0x180017f1a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx], r13
mov eax, dword [rsi + 8]
lea rdx, [rsp + 0x30]
add eax, 0x2710
mov qword [rsp + 0x3c], 0x10000
mov dword [r14 + 0x6c], eax
mov r9, rbx
add eax, eax
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov rax, qword [rdi]
mov rcx, rdi
mov dword [rsp + 0x38], r12d
call qword [rax + 0x238]
test eax, eax
js 0x180018681
mov qword [rbp + 0x308], r13
lea r9, [rbp + 0x308]
mov qword [rsp + 0x48], r13
xor r8d, r8d
mov rcx, qword [r14 + 0x10]
lea edx, [r8 + 4]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbx]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x50]
mov r12d, r13d
cmp dword [rsi + 4], r13d
jle 0x180017fdb
mov r9, qword [rbp + 0x308]
mov r15, r13
mov rax, qword [rsi + 0x10]
mov rcx, r9
mov rbx, qword [r15 + rax]
movsxd rax, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
lea r8, [rax + rax*4]
shl r8, 2
call sub.msvcrt.dll_memcpy
movsxd r8, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
add r8, r8
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_memcpy
movsxd rax, dword [rbx + 0x20]
lea r15, [r15 + 8]
lea rcx, [rax + rax*4]
mov rax, qword [rbp + 0x308]
lea r9, [rax + rcx*4]
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x308], r9
movsxd rcx, dword [rbx + 0x10]
mov ebx, 1
add r12d, ebx
lea rcx, [rax + rcx*2]
mov qword [rsp + 0x48], rcx
cmp r12d, dword [rsi + 4]
jl 0x180017f66
jmp 0x180017fe0
mov ebx, 1
mov rcx, qword [r14 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [r14 + 0x30]
lea r9, [rbp + 0x2f0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x50]
test eax, eax
jne 0x180018681
movss xmm4, dword [rsi + 0x18]
mov ecx, 0x3f000000
movss xmm5, dword [rsi + 0x1c]
movaps xmm3, xmm4
addss xmm3, dword [rsi + 0x20]
movss xmm2, dword [0x1800d26a0]
movaps xmm6, xmm5
addss xmm6, dword [rsi + 0x24]
mov rax, qword [rbp + 0x2f0]
movaps xmm0, xmm2
movaps xmm1, xmm3
subss xmm1, xmm4
divss xmm0, xmm1
movaps xmm1, xmm6
movss dword [rax], xmm0
addss xmm1, xmm5
mov rax, qword [rbp + 0x2f0]
movaps xmm0, xmm5
subss xmm0, xmm6
subss xmm6, xmm5
mov dword [rax + 4], r13d
mov rax, qword [rbp + 0x2f0]
divss xmm2, xmm0
mov dword [rax + 8], r13d
mov rax, qword [rbp + 0x2f0]
mov dword [rax + 0xc], r13d
mov rax, qword [rbp + 0x2f0]
mov dword [rax + 0x10], r13d
mov rax, qword [rbp + 0x2f0]
movaps xmm0, xmm3
movss dword [rax + 0x14], xmm2
addss xmm0, xmm4
mov rax, qword [rbp + 0x2f0]
subss xmm4, xmm3
divss xmm1, xmm6
mov dword [rax + 0x18], r13d
mov rax, qword [rbp + 0x2f0]
mov dword [rax + 0x1c], r13d
mov rax, qword [rbp + 0x2f0]
mov dword [rax + 0x20], r13d
mov rax, qword [rbp + 0x2f0]
mov dword [rax + 0x24], r13d
mov rax, qword [rbp + 0x2f0]
mov dword [rax + 0x28], ecx
mov rax, qword [rbp + 0x2f0]
mov dword [rax + 0x2c], r13d
mov rax, qword [rbp + 0x2f0]
divss xmm0, xmm4
movss dword [rax + 0x30], xmm0
mov rax, qword [rbp + 0x2f0]
movss dword [rax + 0x34], xmm1
mov rax, qword [rbp + 0x2f0]
mov dword [rax + 0x38], ecx
mov rax, qword [rbp + 0x2f0]
mov dword [rax + 0x3c], 0x3f800000
mov rcx, qword [r14 + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x58]
xor edx, edx
lea rcx, [rsp + 0x68]
mov r8d, 0x310
call sub.msvcrt.dll_memset
mov eax, 0x10
lea r8, [rsp + 0x68]
mov dword [rsp + 0x64], eax
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], eax
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + 0x1f0]
mov rax, qword [rdi]
lea r8, [rbp + 0x68]
lea rdx, [rsp + 0x64]
mov rcx, rdi
call qword [rax + 0x1e8]
mov rax, qword [rdi]
lea rdx, [rbp + 0x1e8]
mov rcx, rdi
call qword [rax + 0x1e0]
mov rax, qword [rdi]
lea r9, [rbp + 0x208]
lea r8, [rbp + 0x1f8]
mov rcx, rdi
lea rdx, [rbp + 0x1f0]
call qword [rax + 0x1c8]
mov rax, qword [rdi]
lea r8, [rbp + 0x20c]
lea rdx, [rbp + 0x210]
mov rcx, rdi
call qword [rax + 0x1d0]
mov rax, qword [rdi]
lea r9, [rbp + 0x218]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x140]
mov rax, qword [rdi]
lea r9, [rbp + 0x220]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x150]
mov rax, qword [rdi]
lea rdx, [rbp + 0x228]
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
mov rax, qword [rdi]
lea rdx, [rbp + 0x230]
mov rcx, rdi
call qword [rax + 0x158]
mov rax, qword [rdi]
lea r9, [rbp + 0x258]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x138]
mov rax, qword [rdi]
lea rdx, [rbp + 0x238]
mov rcx, rdi
call qword [rax + 0x188]
mov rax, qword [rdi]
lea rdx, [rbp + 0x240]
mov rcx, rdi
call qword [rax + 0x190]
mov rax, qword [rdi]
lea r9, [rbp + 0x260]
lea r8, [rbp + 0x26c]
mov rcx, rdi
lea rdx, [rbp + 0x248]
call qword [rax + 0x178]
mov rax, qword [rdi]
lea rcx, [rbp + 0x268]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x250]
lea rcx, [rbp + 0x264]
mov r8d, ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x170]
mov rax, qword [rdi]
lea rdx, [rbp + 0x270]
mov rcx, rdi
call qword [rax + 0x168]
mov rdx, rdi
mov rcx, rsi
call fcn.180017c80
mov edx, r13d
movss xmm6, dword [rsi + 0x18]
mov ecx, r13d
movss xmm7, dword [rsi + 0x1c]
mov r8d, r13d
mov dword [rbp + 0x2f8], edx
mov dword [rbp + 0x300], ecx
mov dword [rbp + 0x2f0], r13d
cmp dword [rsi + 4], r13d
jle 0x180018453
mov r15, r13
mov qword [rsp + 0x50], r13
mov rax, qword [rsi + 0x10]
mov r14, qword [r15 + rax]
cmp dword [r14], 0
jle 0x18001841e
mov r15d, dword [rbp + 0x2f8]
xor r12d, r12d
mov rbx, qword [r14 + 8]
add rbx, r12
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x180018352
cmp rax, 0xffffffffffffffff
jne 0x180018345
mov rdx, rdi
mov rcx, rsi
call fcn.180017c80
jmp 0x1800183f1
mov rdx, rbx
mov rcx, r14
call rax
jmp 0x1800183f1
movss xmm2, dword [rbx]
movss xmm3, dword [rbx + 8]
subss xmm2, xmm6
movss xmm0, dword [rbx + 4]
subss xmm3, xmm6
movss xmm1, dword [rbx + 0xc]
subss xmm0, xmm7
subss xmm1, xmm7
comiss xmm2, xmm3
jae 0x1800183f1
comiss xmm0, xmm1
jae 0x1800183f1
cvttss2si eax, xmm2
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rdi
mov dword [rsp + 0x30], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x34], eax
cvttss2si eax, xmm3
mov dword [rsp + 0x38], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x3c], eax
mov rax, qword [rdi]
call qword [rax + 0xf8]
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x58]
xor edx, edx
mov qword [rsp + 0x58], rax
mov rax, qword [rdi]
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x20]
mov r9d, dword [rbx + 0x18]
mov rcx, rdi
mov r8d, dword [rbp + 0x2f0]
add r9d, r15d
mov r10, qword [rdi]
add r8d, dword [rbx + 0x1c]
mov edx, dword [rbx + 0x20]
call qword [r10 + 0x40]
mov ebx, 1
add r12, 0x38
add r13d, ebx
cmp r13d, dword [r14]
jl 0x18001831f
mov r15, qword [rsp + 0x50]
mov ecx, dword [rbp + 0x300]
mov edx, dword [rbp + 0x2f8]
mov r8d, dword [rbp + 0x2f0]
add r8d, dword [r14 + 0x10]
add ecx, ebx
add edx, dword [r14 + 0x20]
add r15, 8
mov r13d, 0
mov dword [rbp + 0x2f0], r8d
mov dword [rbp + 0x2f8], edx
mov dword [rbp + 0x300], ecx
mov qword [rsp + 0x50], r15
cmp ecx, dword [rsi + 4]
jl 0x180018303
mov rax, qword [rdi]
lea r8, [rsp + 0x68]
mov edx, dword [rsp + 0x60]
mov rcx, rdi
call qword [rax + 0xf8]
mov rax, qword [rdi]
lea r8, [rbp + 0x68]
mov edx, dword [rsp + 0x64]
mov rcx, rdi
call qword [rax + 0xf0]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x1e8]
call qword [rax + 0xe8]
mov rcx, qword [rbp + 0x1e8]
test rcx, rcx
je 0x1800184a1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r8, [rbp + 0x1f8]
mov r9d, dword [rbp + 0x208]
mov rcx, rdi
mov rdx, qword [rbp + 0x1f0]
call qword [rax + 0xc8]
mov rcx, qword [rbp + 0x1f0]
test rcx, rcx
je 0x1800184d4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov r8d, dword [rbp + 0x20c]
mov rdx, qword [rbp + 0x210]
call qword [rax + 0xd0]
mov rcx, qword [rbp + 0x210]
test rcx, rcx
je 0x180018500
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x218]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x180018527
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x220]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x30]
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x18001854e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x228]
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x228]
test rcx, rcx
je 0x180018570
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x230]
call qword [rax + 0x38]
mov rcx, qword [rbp + 0x230]
test rcx, rcx
je 0x180018592
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x238]
call qword [rax + 0x88]
mov rcx, qword [rbp + 0x238]
test rcx, rcx
je 0x1800185b7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x258]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x1800185de
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rbp + 0x240]
call qword [rax + 0x90]
mov rax, qword [rdi]
mov rcx, rdi
mov r9d, dword [rbp + 0x260]
mov r8d, dword [rbp + 0x26c]
mov rdx, qword [rbp + 0x248]
call qword [rax + 0x68]
mov rcx, qword [rbp + 0x248]
test rcx, rcx
je 0x180018620
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea rcx, [rbp + 0x268]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x250]
lea rcx, [rbp + 0x264]
mov r8d, ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x250]
test rcx, rcx
je 0x18001865f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x270]
call qword [rax + 0x58]
mov rcx, qword [rbp + 0x270]
test rcx, rcx
je 0x180018681
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r11, [rsp + 0x3a8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret