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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rbp + 0x298], rax
xorps xmm0, xmm0
mov rsi, rcx
comiss xmm0, dword [rcx + 0x20]
jae 0x18004aff2
comiss xmm0, dword [rcx + 0x24]
jae 0x18004aff2
mov r14, qword [0x1800a3030]
xor ebx, ebx
test r14, r14
je 0x18004a7e4
mov r14, qword [r14 + 0xa0]
jmp 0x18004a7e7
mov r14, rbx
mov rdi, qword [r14]
lea r12, [r14 + 0x10]
mov rcx, qword [r12]
mov r13d, 1
test rcx, rcx
je 0x18004a810
mov eax, dword [rsi + 0xc]
cmp dword [r14 + 0x68], eax
jge 0x18004a865
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r12], rbx
mov eax, dword [rsi + 0xc]
lea rdx, [rbp + 0x280]
add eax, 0x1388
mov dword [rbp + 0x284], 2
mov dword [r14 + 0x68], eax
mov r9, r12
xor r8d, r8d
mov dword [rbp + 0x288], r13d
mov rcx, rdi
mov qword [rbp + 0x28c], 0x10000
lea eax, [rax + rax*4]
shl eax, 2
mov dword [rbp + 0x280], eax
mov rax, qword [rdi]
call qword [rax + 0x238]
test eax, eax
js 0x18004aff2
lea r15, [r14 + 0x18]
mov rcx, qword [r15]
test rcx, rcx
je 0x18004a883
mov eax, dword [rsi + 8]
cmp dword [r14 + 0x6c], eax
jge 0x18004a8d4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r15], rbx
mov eax, dword [rsi + 8]
lea rdx, [rbp + 0x280]
add eax, 0x2710
mov qword [rbp + 0x28c], 0x10000
mov dword [r14 + 0x6c], eax
mov ecx, 2
add eax, eax
mov dword [rbp + 0x284], ecx
mov dword [rbp + 0x280], eax
mov r9, r15
mov rax, qword [rdi]
xor r8d, r8d
mov dword [rbp + 0x288], ecx
mov rcx, rdi
call qword [rax + 0x238]
test eax, eax
js 0x18004aff2
mov qword [rsp + 0x48], rbx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x50], 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 + 0x50]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x50]
cmp dword [rsi + 4], ebx
jle 0x18004a98d
mov r9, qword [rsp + 0x48]
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 sub.VCRUNTIME140.dll_memcpy
movsxd r8, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
add r8, r8
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbx + 0x20]
lea r13, [r13 + 8]
inc r12d
lea rcx, [rax + rax*4]
mov rax, qword [rsp + 0x48]
lea r9, [rax + rcx*4]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], r9
movsxd rcx, dword [rbx + 0x10]
lea rcx, [rax + rcx*2]
mov qword [rsp + 0x50], rcx
cmp r12d, dword [rsi + 4]
jl 0x18004a919
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, [rsp + 0x40]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x50]
test eax, eax
jne 0x18004aff2
movss xmm1, dword [rsi + 0x1c]
mov ecx, 0x3f000000
movss xmm4, dword [rsi + 0x18]
movaps xmm2, xmm1
addss xmm2, dword [rsi + 0x24]
movss xmm3, dword [0x180097180]
movaps xmm0, xmm1
mov rax, qword [rsp + 0x40]
movaps xmm5, xmm4
addss xmm5, dword [rsi + 0x20]
movaps xmm6, xmm3
subss xmm0, xmm2
movaps xmm7, xmm5
addss xmm7, xmm4
divss xmm6, xmm0
movaps xmm0, xmm4
subss xmm0, xmm5
subss xmm5, xmm4
divss xmm7, xmm0
divss xmm3, xmm5
movaps xmm0, xmm2
subss xmm2, xmm1
movss dword [rax], xmm3
addss xmm0, xmm1
mov rax, qword [rsp + 0x40]
mov dword [rax + 4], ebx
mov rax, qword [rsp + 0x40]
divss xmm0, xmm2
mov dword [rax + 8], ebx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], ebx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x10], ebx
mov rax, qword [rsp + 0x40]
movss dword [rax + 0x14], xmm6
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x18], ebx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x1c], ebx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x20], ebx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], ebx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x2c], ebx
mov rax, qword [rsp + 0x40]
movss dword [rax + 0x30], xmm7
mov rax, qword [rsp + 0x40]
movss dword [rax + 0x34], xmm0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x40]
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.VCRUNTIME140.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, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x140]
mov rax, qword [rdi]
lea r9, [rbp + 0x220]
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x150]
mov rax, qword [rdi]
lea rdx, [rbp + 0x228]
mov rcx, rdi
call qword [rax + 0x148]
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, r13d
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, r13d
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.18004a5f0
mov edx, ebx
movss xmm6, dword [rsi + 0x18]
mov r8d, ebx
movss xmm7, dword [rsi + 0x1c]
mov ecx, ebx
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x40], ebx
cmp dword [rsi + 4], ebx
jle 0x18004adc4
mov r15, rbx
mov qword [rsp + 0x38], rbx
mov rax, qword [rsi + 0x10]
mov r13d, ebx
mov r14, qword [r15 + rax]
cmp dword [r14], ebx
jle 0x18004ad94
mov r15d, dword [rsp + 0x34]
mov r12, rbx
mov rbx, qword [r14 + 8]
add rbx, r12
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x18004acc9
cmp rax, 0xffffffffffffffff
jne 0x18004acbc
mov rdx, rdi
mov rcx, rsi
call fcn.18004a5f0
jmp 0x18004ad70
mov rdx, rbx
mov rcx, r14
call rax
jmp 0x18004ad70
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 0x18004ad70
comiss xmm0, xmm1
jae 0x18004ad70
cvttss2si eax, xmm2
lea r8, [rbp + 0x280]
mov edx, 1
mov rcx, rdi
mov dword [rbp + 0x280], eax
cvttss2si eax, xmm0
mov dword [rbp + 0x284], eax
cvttss2si eax, xmm3
mov dword [rbp + 0x288], eax
cvttss2si eax, xmm1
mov dword [rbp + 0x28c], eax
mov rax, qword [rdi]
call qword [rax + pe_nt_image_headers64]
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 [rsp + 0x30]
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 0x18004ac96
mov r15, qword [rsp + 0x38]
xor ebx, ebx
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
add r8d, dword [r14 + 0x10]
add r15, 8
add edx, dword [r14 + 0x20]
mov r13d, 1
add ecx, r13d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x38], r15
cmp ecx, dword [rsi + 4]
jl 0x18004ac7a
mov rax, qword [rdi]
lea r8, [rsp + 0x68]
mov edx, dword [rsp + 0x60]
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
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 0x18004ae12
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 0x18004ae45
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 0x18004ae71
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x218]
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x18004ae98
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x220]
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x30]
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x18004aebf
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 0x18004aee1
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 0x18004af03
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 0x18004af28
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 + 0x18]
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x18004af4f
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 0x18004af91
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, r13d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x250]
test rcx, rcx
je 0x18004afd0
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 0x18004aff2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x298]
xor rcx, rsp
call fcn.18007b7d0
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret