Function at 0x180012ad4
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 - 0x328]
sub rsp, 0x3e8
xorps xmm0, xmm0
movaps xmmword [rax - 0x58], xmm6
comiss xmm0, dword [rcx + 0x20]
mov rsi, rcx
movaps xmmword [rax - 0x68], xmm7
jae 0x180013329
comiss xmm0, dword [rcx + 0x24]
jae 0x180013329
mov r14, qword [0x18010ebd0]
xor ebx, ebx
test r14, r14
je 0x180012b2a
mov r14, qword [r14 + 0xa0]
jmp 0x180012b2d
mov r14, rbx
mov rdi, qword [r14]
lea r12, [r14 + 0x10]
mov rcx, qword [r12]
mov r13d, 1
test rcx, rcx
je 0x180012b56
mov eax, dword [rsi + 0xc]
cmp dword [r14 + 0x68], eax
jge 0x180012bb6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r12], rbx
mov eax, dword [rsi + 0xc]
lea rcx, [rsp + 0x30]
xor edx, edx
add eax, 0x1388
mov dword [r14 + 0x68], eax
lea r8d, [rdx + 0x14]
call qword [sym.imp.msvcrt.dll_memset]
mov eax, dword [r14 + 0x68]
lea rdx, [rsp + 0x30]
mov r9, r12
mov dword [rsp + 0x34], 2
xor r8d, r8d
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x3c], 0x10000
lea ecx, [rax + rax*4]
mov rax, qword [rdi]
shl ecx, 2
mov dword [rsp + 0x30], ecx
mov rcx, rdi
call qword [rax + 0x238]
test eax, eax
js 0x180013329
lea r15, [r14 + 0x18]
mov rcx, qword [r15]
test rcx, rcx
je 0x180012bd4
mov eax, dword [rsi + 8]
cmp dword [r14 + 0x6c], eax
jge 0x180012c2f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r15], rbx
mov eax, dword [rsi + 8]
lea rcx, [rsp + 0x30]
xor edx, edx
add eax, 0x2710
mov dword [r14 + 0x6c], eax
lea r8d, [rdx + 0x14]
call qword [sym.imp.msvcrt.dll_memset]
mov eax, dword [r14 + 0x6c]
lea rdx, [rsp + 0x30]
add eax, eax
mov dword [rsp + 0x3c], 0x10000
mov ecx, 2
mov dword [rsp + 0x30], eax
mov rax, qword [rdi]
mov r9, r15
mov dword [rsp + 0x34], ecx
xor r8d, r8d
mov dword [rsp + 0x38], ecx
mov rcx, rdi
call qword [rax + 0x238]
test eax, eax
js 0x180013329
mov qword [rbp + 0x348], rbx
lea r9, [rbp + 0x348]
mov qword [rsp + 0x48], rbx
xor r8d, r8d
mov rcx, qword [r12]
lea edx, [r8 + 4]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [r15]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x50]
cmp dword [rsi + 4], ebx
jle 0x180012cf8
mov r9, qword [rbp + 0x348]
mov r13, rbx
mov r12d, ebx
mov rax, qword [rsi + 0x10]
mov rcx, r9
mov rbx, qword [rax + r13]
movsxd rax, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
lea r8, [rax + rax*4]
shl r8, 2
call qword [sym.imp.msvcrt.dll_memcpy]
movsxd r8, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
add r8, r8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.msvcrt.dll_memcpy]
movsxd rax, dword [rbx + 0x20]
lea r13, [r13 + 8]
inc r12d
lea rcx, [rax + rax*4]
mov rax, qword [rbp + 0x348]
lea r9, [rax + rcx*4]
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x348], r9
movsxd rcx, dword [rbx + 0x10]
lea rcx, [rax + rcx*2]
mov qword [rsp + 0x48], rcx
cmp r12d, dword [rsi + 4]
jl 0x180012c7e
xor ebx, ebx
lea r12, [r14 + 0x10]
lea r13d, [rbx + 1]
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [r15]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [r14 + 0x30]
lea r9, [rbp + 0x330]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x50]
test eax, eax
jne 0x180013329
movss xmm4, dword [rsi + 0x18]
lea r8d, [rax + 0x40]
movss xmm5, dword [rsi + 0x1c]
lea rdx, [rsp + 0x60]
movss xmm2, dword [0x1800ce96c]
movaps xmm3, xmm4
addss xmm3, dword [rsi + 0x20]
mov rcx, qword [rbp + 0x330]
movaps xmm0, xmm2
and dword [rbp - 0x74], eax
movaps xmm6, xmm5
addss xmm6, dword [rsi + 0x24]
mov dword [rbp - 0x78], 0x3f000000
movaps xmm1, xmm3
mov dword [rbp - 0x68], 0x3f000000
subss xmm1, xmm4
mov dword [rbp - 0x64], 0x3f800000
divss xmm0, xmm1
movaps xmm1, xmm5
subss xmm1, xmm6
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x78], xmm0
divss xmm2, xmm1
movaps xmm0, xmm6
movaps xmm1, xmm3
addss xmm1, xmm4
movss dword [rsp + 0x74], xmm2
addss xmm0, xmm5
subss xmm4, xmm3
subss xmm6, xmm5
divss xmm1, xmm4
divss xmm0, xmm6
movss dword [rbp - 0x70], xmm1
movss dword [rbp - 0x6c], xmm0
call qword [sym.imp.msvcrt.dll_memcpy]
mov rcx, qword [r14 + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x58]
xor edx, edx
lea rcx, [rbp - 0x58]
mov r8d, 0x310
call sub.msvcrt.dll_memset
mov eax, 0x10
lea r8, [rbp - 0x58]
mov dword [rbp - 0x5c], eax
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], eax
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + 0x1f0]
mov rax, qword [rdi]
lea r8, [rbp + 0xa8]
lea rdx, [rbp - 0x5c]
mov rcx, rdi
call qword [rax + 0x1e8]
mov rax, qword [rdi]
lea rdx, [rbp + 0x228]
mov rcx, rdi
call qword [rax + 0x1e0]
mov rax, qword [rdi]
lea r9, [rbp + 0x248]
lea r8, [rbp + 0x238]
mov rcx, rdi
lea rdx, [rbp + 0x230]
call qword [rax + 0x1c8]
mov rax, qword [rdi]
lea r8, [rbp + 0x24c]
lea rdx, [rbp + 0x250]
mov rcx, rdi
call qword [rax + 0x1d0]
mov rax, qword [rdi]
lea r9, [rbp + 0x258]
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x140]
mov rax, qword [rdi]
lea r9, [rbp + 0x260]
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x150]
mov rax, qword [rdi]
lea rdx, [rbp + 0x268]
mov rcx, rdi
call qword [rax + 0x148]
mov rax, qword [rdi]
lea rdx, [rbp + 0x270]
mov rcx, rdi
call qword [rax + 0x158]
mov rax, qword [rdi]
lea r9, [rbp + 0x298]
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
mov rax, qword [rdi]
lea rdx, [rbp + 0x278]
mov rcx, rdi
call qword [rax + 0x188]
mov rax, qword [rdi]
lea rdx, [rbp + 0x280]
mov rcx, rdi
call qword [rax + 0x190]
mov rax, qword [rdi]
lea r9, [rbp + 0x2a0]
lea r8, [rbp + 0x2ac]
mov rcx, rdi
lea rdx, [rbp + 0x288]
call qword [rax + 0x178]
mov rax, qword [rdi]
lea rcx, [rbp + 0x2a8]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x290]
lea rcx, [rbp + 0x2a4]
mov r8d, r13d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x170]
mov rax, qword [rdi]
lea rdx, [rbp + 0x2b0]
mov rcx, rdi
call qword [rax + 0x168]
mov rdx, rdi
mov rcx, rsi
call fcn.18001295c
mov edx, ebx
movss xmm6, dword [rsi + 0x18]
mov r8d, ebx
movss xmm7, dword [rsi + 0x1c]
mov ecx, ebx
mov dword [rbp + 0x338], ebx
mov dword [rbp + 0x330], ebx
mov dword [rbp + 0x340], ebx
cmp dword [rsi + 4], ebx
jle 0x1800130fb
mov r15, rbx
mov qword [rsp + 0x50], rbx
mov rax, qword [rsi + 0x10]
mov r13d, ebx
mov r14, qword [r15 + rax]
cmp dword [r14], ebx
jle 0x1800130c5
mov r15d, dword [rbp + 0x338]
mov r12, rbx
mov rbx, qword [r14 + 8]
add rbx, r12
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x180012ffc
cmp rax, 0xffffffffffffffff
jne 0x180012fef
mov rdx, rdi
mov rcx, rsi
call fcn.18001295c
jmp 0x18001309b
mov rdx, rbx
mov rcx, r14
call rax
jmp 0x18001309b
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 0x18001309b
comiss xmm0, xmm1
jae 0x18001309b
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 + 0x330]
add r9d, r15d
mov r10, qword [rdi]
add r8d, dword [rbx + 0x1c]
mov edx, dword [rbx + 0x20]
call qword [r10 + 0x40]
inc r13d
add r12, 0x38
cmp r13d, dword [r14]
jl 0x180012fc9
mov r15, qword [rsp + 0x50]
xor ebx, ebx
mov ecx, dword [rbp + 0x340]
mov edx, dword [rbp + 0x338]
mov r8d, dword [rbp + 0x330]
add r8d, dword [r14 + 0x10]
add r15, 8
add edx, dword [r14 + 0x20]
mov r13d, 1
add ecx, r13d
mov dword [rbp + 0x330], r8d
mov dword [rbp + 0x338], edx
mov dword [rbp + 0x340], ecx
mov qword [rsp + 0x50], r15
cmp ecx, dword [rsi + 4]
jl 0x180012fab
mov rax, qword [rdi]
lea r8, [rbp - 0x58]
mov edx, dword [rbp - 0x60]
mov rcx, rdi
call qword [rax + 0xf8]
mov rax, qword [rdi]
lea r8, [rbp + 0xa8]
mov edx, dword [rbp - 0x5c]
mov rcx, rdi
call qword [rax + 0xf0]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x228]
call qword [rax + 0xe8]
mov rcx, qword [rbp + 0x228]
test rcx, rcx
je 0x180013149
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r8, [rbp + 0x238]
mov r9d, dword [rbp + 0x248]
mov rcx, rdi
mov rdx, qword [rbp + 0x230]
call qword [rax + 0xc8]
mov rcx, qword [rbp + 0x230]
test rcx, rcx
je 0x18001317c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov r8d, dword [rbp + 0x24c]
mov rdx, qword [rbp + 0x250]
call qword [rax + 0xd0]
mov rcx, qword [rbp + 0x250]
test rcx, rcx
je 0x1800131a8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x258]
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x1800131cf
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x260]
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x30]
mov rcx, qword [rbp + 0x260]
test rcx, rcx
je 0x1800131f6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x268]
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x268]
test rcx, rcx
je 0x180013218
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x270]
call qword [rax + 0x38]
mov rcx, qword [rbp + 0x270]
test rcx, rcx
je 0x18001323a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x278]
call qword [rax + 0x88]
mov rcx, qword [rbp + 0x278]
test rcx, rcx
je 0x18001325f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x298]
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x298]
test rcx, rcx
je 0x180013286
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rbp + 0x280]
call qword [rax + 0x90]
mov rax, qword [rdi]
mov rcx, rdi
mov r9d, dword [rbp + 0x2a0]
mov r8d, dword [rbp + 0x2ac]
mov rdx, qword [rbp + 0x288]
call qword [rax + 0x68]
mov rcx, qword [rbp + 0x288]
test rcx, rcx
je 0x1800132c8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea rcx, [rbp + 0x2a8]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x290]
lea rcx, [rbp + 0x2a4]
mov r8d, r13d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x290]
test rcx, rcx
je 0x180013307
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x2b0]
call qword [rax + 0x58]
mov rcx, qword [rbp + 0x2b0]
test rcx, rcx
je 0x180013329
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r11, [rsp + 0x3e8]
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