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

Disassembly:
mov r11, rsp
push rbp
push r13
lea rbp, [r11 - 0x2e8]
sub rsp, 0x3d8
mov rax, qword [0x1800b2280]
xor rax, rsp
mov qword [rbp + 0x298], rax
xorps xmm0, xmm0
mov r13, rcx
comiss xmm0, dword [rcx + 0x28]
jae 0x18003d29a
comiss xmm0, dword [rcx + 0x2c]
jae 0x18003d29a
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
call fcn.18006b4c0
xor r15d, r15d
test rax, rax
je 0x18003ca2e
call fcn.18006b800
mov rsi, qword [rax + 0x90]
jmp 0x18003ca31
mov rsi, r15
mov rcx, qword [rsi + 0x10]
mov rdi, qword [rsi]
test rcx, rcx
je 0x18003ca50
mov eax, dword [r13 + 0xc]
cmp dword [rsi + 0x68], eax
jge 0x18003caa9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x10], r15
mov eax, dword [r13 + 0xc]
lea r9, [rsi + 0x10]
add eax, 0x1388
mov dword [rbp + 0x284], 2
mov dword [rsi + 0x68], eax
lea rdx, [rbp + 0x280]
xor r8d, r8d
mov dword [rbp + 0x288], 1
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 0x18003d272
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x18003cac5
mov eax, dword [r13 + 8]
cmp dword [rsi + 0x6c], eax
jge 0x18003cb1a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x18], r15
mov eax, dword [r13 + 8]
lea r9, [rsi + 0x18]
add eax, 0x2710
mov qword [rbp + 0x28c], 0x10000
mov dword [rsi + 0x6c], eax
lea rdx, [rbp + 0x280]
add eax, eax
mov dword [rbp + 0x284], 2
mov dword [rbp + 0x280], eax
xor r8d, r8d
mov rax, qword [rdi]
mov rcx, rdi
mov dword [rbp + 0x288], 2
call qword [rax + 0x238]
test eax, eax
js 0x18003d272
mov qword [rsp + 0x40], r15
lea r9, [rsp + 0x40]
mov qword [rsp + 0x48], r15
xor r8d, r8d
mov rcx, qword [rsi + 0x10]
lea edx, [r8 + 4]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsi + 0x18]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x50]
xor ebx, ebx
cmp dword [r13 + 4], ebx
jle 0x18003cbcc
mov r9, qword [rsp + 0x40]
mov r14d, ebx
mov rax, qword [r13 + 0x18]
mov rcx, r9
mov rbx, qword [r14 + rax]
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 + 0x48]
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbx + 0x20]
lea r14, [r14 + 8]
inc r15d
lea rcx, [rax + rax*4]
mov rax, qword [rsp + 0x40]
lea r9, [rax + rcx*4]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], r9
movsxd rcx, dword [rbx + 0x10]
lea rcx, [rax + rcx*2]
mov qword [rsp + 0x48], rcx
cmp r15d, dword [r13 + 4]
jl 0x18003cb60
xor ebx, ebx
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rsi + 0x30]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x50]
test eax, eax
jne 0x18003d272
movss xmm4, dword [r13 + 0x20]
movss xmm5, dword [r13 + 0x24]
movaps xmm3, xmm4
addss xmm3, dword [r13 + 0x28]
movss xmm2, dword [0x18009e768]
mov rax, qword [rsp + 0x30]
movaps xmm0, xmm2
mov qword [rsp + 0x3d0], r12
movaps xmmword [rsp + 0x3b0], xmm6
movaps xmm6, xmm5
addss xmm6, dword [r13 + 0x2c]
movaps xmmword [rsp + 0x3a0], xmm7
movaps xmm1, xmm3
subss xmm1, xmm4
divss xmm0, xmm1
movaps xmm1, xmm6
movss dword [rax], xmm0
addss xmm1, xmm5
mov rax, qword [rsp + 0x30]
movaps xmm0, xmm5
subss xmm0, xmm6
subss xmm6, xmm5
mov dword [rax + 4], ebx
mov rax, qword [rsp + 0x30]
divss xmm2, xmm0
mov dword [rax + 8], ebx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], ebx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x10], ebx
mov rax, qword [rsp + 0x30]
movaps xmm0, xmm3
movss dword [rax + 0x14], xmm2
addss xmm0, xmm4
mov rax, qword [rsp + 0x30]
subss xmm4, xmm3
divss xmm1, xmm6
mov dword [rax + 0x18], ebx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1c], ebx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x20], ebx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x24], ebx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x28], 0x3f000000
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x2c], ebx
mov rax, qword [rsp + 0x30]
divss xmm0, xmm4
movss dword [rax + 0x30], xmm0
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x34], xmm1
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x3f000000
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x3c], 0x3f800000
mov rcx, qword [rsi + 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 dword [rsp + 0x64], 0x10
lea r8, [rsp + 0x68]
mov dword [rsp + 0x60], 0x10
lea rdx, [rsp + 0x60]
mov rax, qword [rdi]
mov rcx, 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]
mov rcx, rdi
lea r8, [rbp + 0x1f8]
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]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x140]
mov rax, qword [rdi]
lea r9, [rbp + 0x220]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
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]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
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]
xor edx, edx
lea rcx, [rbp + 0x264]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x170]
mov rax, qword [rdi]
lea rdx, [rbp + 0x270]
mov rcx, rdi
call qword [rax + 0x168]
mov rdx, rdi
mov rcx, r13
call fcn.18003d2c0
cmp dword [r13 + 4], 0
mov r12d, ebx
movss xmm6, dword [r13 + 0x20]
mov ecx, ebx
movss xmm7, dword [r13 + 0x24]
mov r8d, ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
jle 0x18003d028
mov rdx, rbx
mov qword [rsp + 0x50], rbx
mov rax, qword [r13 + 0x18]
mov r14d, ebx
mov rsi, qword [rdx + rax]
cmp dword [rsi], 0
jle 0x18003d002
mov r15, rbx
nop dword [rax + rax]
mov rbx, qword [rsi + 8]
add rbx, r15
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x18003cf33
cmp rax, 0xfffffffffffffff8
jne 0x18003cf26
mov rdx, rdi
mov rcx, r13
call fcn.18003d2c0
jmp 0x18003cfe2
mov rdx, rbx
mov rcx, rsi
call rax
jmp 0x18003cfe2
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 0x18003cfe2
comiss xmm0, xmm1
jae 0x18003cfe2
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 + 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 [rsp + 0x38]
add r9d, r12d
mov r10, qword [rdi]
add r8d, dword [rbx + 0x1c]
mov edx, dword [rbx + 0x20]
call qword [r10 + 0x40]
inc r14d
add r15, 0x38
cmp r14d, dword [rsi]
jl 0x18003cf00
mov ecx, dword [rsp + 0x38]
xor ebx, ebx
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x30]
add ecx, dword [rsi + 0x10]
inc r8d
add r12d, dword [rsi + 0x20]
add rdx, 8
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x50], rdx
cmp r8d, dword [r13 + 4]
jl 0x18003cee1
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]
movaps xmm7, xmmword [rsp + 0x3a0]
movaps xmm6, xmmword [rsp + 0x3b0]
mov r12, qword [rsp + 0x3d0]
test rcx, rcx
je 0x18003d08e
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 0x18003d0c1
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 0x18003d0ed
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x218]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x18003d115
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x220]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x30]
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x18003d13d
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 0x18003d15f
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 0x18003d181
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 0x18003d1a6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x258]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x18003d1ce
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 0x18003d210
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]
xor edx, edx
lea rcx, [rbp + 0x264]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x250]
test rcx, rcx
je 0x18003d250
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 0x18003d272
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14, qword [rsp + 0x3c8]
mov rdi, qword [rsp + 0x408]
mov rsi, qword [rsp + 0x400]
mov rbx, qword [rsp + 0x3f8]
mov r15, qword [rsp + 0x3c0]
mov rcx, qword [rbp + 0x298]
xor rcx, rsp
call fcn.180081860
add rsp, 0x3d8
pop r13
pop rbp
ret