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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1328]
mov eax, 0x1428
call fcn.1400264d0
sub rsp, rax
mov rsi, rcx
movaps xmmword [rsp + 0x1410], xmm6
lea rcx, [0x14034b0dc]
movaps xmmword [rsp + 0x1400], xmm7
call fcn.140026484
mov rdx, qword [0x140346f88]
mov r12d, 0x18
mov rdi, qword [0x140346f90]
xor ebx, ebx
mov r15d, 0x10000
lea r14d, [r12 - 0x16]
test rdx, rdx
je 0x140022a56
mov eax, dword [rsi + 0x18]
cmp dword [0x140346b34], eax
jge 0x140022ac1
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [0x140346f88], rbx
mov eax, dword [rsi + 0x18]
lea rcx, [rsp + 0x30]
add eax, 0x1388
mov r8, r12
xor edx, edx
mov dword [0x140346b34], eax
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov eax, dword [0x140346b34]
lea r9, [0x140346f88]
mov dword [rsp + 0x34], r14d
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x38], 1
xor r8d, r8d
mov qword [rsp + 0x3c], r15
lea ecx, [rax + rax*4]
shl ecx, 2
mov dword [rsp + 0x30], ecx
mov rcx, qword [0x140346f70]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x1400233f1
mov rdx, qword [0x140346f88]
mov rcx, qword [0x140346f68]
test rcx, rcx
je 0x140022ae5
mov eax, dword [rsi + 0x14]
cmp dword [0x140346b30], eax
jge 0x140022b4a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140346f68], rbx
mov eax, dword [rsi + 0x14]
lea rcx, [rsp + 0x30]
add eax, 0x2710
mov r8, r12
xor edx, edx
mov dword [0x140346b30], eax
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov eax, dword [0x140346b30]
lea r9, [0x140346f68]
mov rcx, qword [0x140346f70]
lea rdx, [rsp + 0x30]
shl eax, 2
xor r8d, r8d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], r15d
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x1400233f1
mov rdx, qword [0x140346f88]
mov rax, qword [rdi]
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x28], rcx
mov r13d, 4
mov rcx, rdi
mov dword [rsp + 0x20], ebx
mov r9d, r13d
xor r8d, r8d
call qword [rax + 0x70]
test eax, eax
jne 0x1400233f1
mov rax, qword [rdi]
lea rcx, [rbp - 0x40]
mov rdx, qword [0x140346f68]
mov r9d, r13d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [rax + 0x70]
test eax, eax
jne 0x1400233f1
mov r12d, ebx
mov r14, qword [rbp - 0x50]
mov r15, qword [rbp - 0x40]
cmp dword [rsi + 0x10], ebx
jle 0x140022c0f
mov r13, rbx
mov rax, qword [rsi + 8]
mov rcx, r14
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.VCRUNTIME140.dll_memcpy]
movsxd r8, dword [rbx + 0x10]
mov rcx, r15
mov rdx, qword [rbx + 0x18]
shl r8, 2
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
movsxd rax, dword [rbx + 0x20]
lea r13, [r13 + 8]
inc r12d
lea rcx, [rax + rax*4]
movsxd rax, dword [rbx + 0x10]
lea r14, [r14 + rcx*4]
lea r15, [r15 + rax*4]
cmp r12d, dword [rsi + 0x10]
jl 0x140022bb2
xor ebx, ebx
lea r13d, [rbx + 4]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [0x140346f88]
mov rcx, rdi
call qword [rax + 0x78]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [0x140346f68]
mov rcx, rdi
call qword [rax + 0x78]
mov rax, qword [rdi]
lea rcx, [rsp + 0x30]
mov rdx, qword [0x140346f48]
mov r9d, r13d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [rax + 0x70]
test eax, eax
jne 0x1400233f1
movss xmm6, dword [rsi + 0x1c]
lea r8d, [rax + 0x40]
movss xmm5, dword [rsi + 0x20]
lea rdx, [rsp + 0x70]
movss xmm2, dword [0x14002be6c]
movaps xmm3, xmm6
addss xmm3, dword [rsi + 0x24]
mov rcx, qword [rsp + 0x30]
movaps xmm0, xmm2
and dword [rbp - 0x64], eax
movaps xmm4, xmm5
addss xmm4, dword [rsi + 0x28]
mov dword [rbp - 0x68], 0x3f000000
movaps xmm1, xmm3
mov dword [rbp - 0x58], 0x3f000000
subss xmm1, xmm6
mov dword [rbp - 0x54], 0x3f800000
divss xmm0, xmm1
movaps xmm1, xmm5
subss xmm1, xmm4
movss dword [rsp + 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x78], xmm0
divss xmm2, xmm1
movaps xmm1, xmm4
movaps xmm0, xmm3
addss xmm0, xmm6
movss dword [rbp - 0x7c], xmm2
subss xmm6, xmm3
addss xmm1, xmm5
subss xmm4, xmm5
divss xmm0, xmm6
divss xmm1, xmm4
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [0x140346f48]
mov rcx, rdi
call qword [rax + 0x78]
mov eax, 0x10
lea r8, [rbp - 0x18]
mov dword [rbp - 0x1c], eax
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], eax
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + 0x300]
mov rax, qword [rdi]
lea r8, [rbp + 0xe8]
lea rdx, [rbp - 0x1c]
mov rcx, rdi
call qword [rax + 0x2f8]
mov rax, qword [rdi]
lea rdx, [rbp + 0x268]
mov rcx, rdi
call qword [rax + 0x2f0]
mov rax, qword [rdi]
lea r9, [rbp + 0x288]
lea r8, [rbp + 0x278]
mov rcx, rdi
lea rdx, [rbp + 0x270]
call qword [rax + 0x2d8]
mov rax, qword [rdi]
lea r8, [rbp + 0x28c]
lea rdx, [rbp + 0x290]
mov rcx, rdi
call qword [rax + 0x2e0]
mov rax, qword [rdi]
lea r9, [rbp + 0x298]
mov r14d, 1
xor edx, edx
mov r8d, r14d
mov rcx, rdi
call qword [rax + 0x248]
mov rax, qword [rdi]
lea r9, [rbp + 0x2a0]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x258]
mov eax, 0x100
lea r9, [rbp + 0x2b8]
mov dword [rbp + 0x2bc], eax
lea r8, [rbp + 0x2c0]
mov dword [rbp + 0x2b8], eax
lea rdx, [rbp + 0x2a8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x250]
mov rax, qword [rdi]
lea r9, [rbp + 0x2bc]
lea r8, [rbp + 0xac0]
mov rcx, rdi
lea rdx, [rbp + 0x2b0]
call qword [rax + 0x260]
mov rax, qword [rdi]
lea r9, [rbp + 0x12d8]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x240]
mov rax, qword [rdi]
lea rdx, [rbp + 0x12c0]
mov rcx, rdi
call qword [rax + 0x298]
mov rax, qword [rdi]
lea r9, [rbp + 0x12e0]
lea r8, [rbp + 0x12ec]
mov rcx, rdi
lea rdx, [rbp + 0x12c8]
call qword [rax + 0x280]
mov rax, qword [rdi]
lea rcx, [rbp + 0x12e8]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x12d0]
lea rcx, [rbp + 0x12e4]
mov r8d, r14d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x278]
mov rax, qword [rdi]
lea rdx, [rbp + 0x12f0]
mov rcx, rdi
call qword [rax + 0x270]
xor edx, edx
lea r8d, [r14 + 0x17]
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memset]
movss xmm0, dword [rsi + 0x24]
lea r8, [rsp + 0x50]
movss xmm1, dword [rsi + 0x28]
mov edx, r14d
and dword [rsp + 0x60], 0
mov rcx, rdi
and dword [rsp + 0x54], 0
and dword [rsp + 0x50], 0
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
mov dword [rsp + 0x64], 0x3f800000
mov rax, qword [rdi]
call qword [rax + 0x160]
mov rdx, qword [0x140346f50]
mov rcx, rdi
mov dword [rsp + 0x4c], 0x14
mov dword [rsp + 0x48], ebx
mov rax, qword [rdi]
call qword [rax + 0x88]
mov rax, qword [rdi]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea r9, [0x140346f88]
lea rcx, [rsp + 0x4c]
mov r8d, r14d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x90]
mov rax, qword [rdi]
mov rdx, qword [0x140346f68]
lea r8d, [r14 + 0x29]
xor r9d, r9d
mov rcx, rdi
call qword [rax + 0x98]
mov rax, qword [rdi]
mov edx, r13d
mov rcx, rdi
call qword [rax + 0xc0]
mov rax, qword [rdi]
xor r9d, r9d
mov rdx, qword [0x140346f40]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x58]
mov rax, qword [rdi]
lea r9, [0x140346f48]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x38]
mov rax, qword [rdi]
xor r9d, r9d
mov rdx, qword [0x140346f30]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x48]
mov rax, qword [rdi]
lea r9, [0x140346f80]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x50]
mov rdx, qword [0x140346f38]
lea r8, [rbp - 0x30]
xorps xmm0, xmm0
or r9d, 0xffffffff
movups xmmword [rbp - 0x30], xmm0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x118]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [0x140346f28]
mov rcx, rdi
call qword [rax + 0x120]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [0x140346f20]
call qword [rax + 0x158]
mov ecx, ebx
movss xmm6, dword [rsi + 0x1c]
mov r13d, ebx
movss xmm7, dword [rsi + 0x20]
mov dword [rbp + 0x1378], ebx
mov dword [rbp + 0x1380], ebx
mov dword [rbp + 0x1388], ebx
cmp dword [rsi + 0x10], ebx
jle 0x14002316b
mov r12, rbx
mov rax, qword [rsi + 8]
mov r15d, ebx
mov r14, qword [r12 + rax]
cmp dword [r14], ebx
jle 0x140023143
mov esi, dword [rbp + 0x1378]
mov r13d, dword [rbp + 0x1380]
mov edx, r15d
mov rcx, r14
call fcn.1400035ec
mov rbx, rax
mov rax, qword [rax + 0x20]
test rax, rax
je 0x14002308f
mov rdx, rbx
mov rcx, r14
call rax
jmp 0x140023117
movss xmm0, dword [rbx + 4]
lea r8, [rsp + 0x30]
movss xmm1, dword [rbx + 8]
subss xmm0, xmm6
subss xmm1, xmm7
mov edx, 1
mov rcx, rdi
cvttss2si eax, xmm0
movss xmm0, dword [rbx + 0xc]
mov dword [rsp + 0x30], eax
subss xmm0, xmm6
cvttss2si eax, xmm1
movss xmm1, dword [rbx + 0x10]
mov dword [rsp + 0x34], eax
subss xmm1, xmm7
cvttss2si eax, xmm0
mov dword [rsp + 0x38], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x3c], eax
mov rax, qword [rdi]
call qword [rax + 0x168]
mov rax, qword [rbx + 0x18]
lea r9, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x68], rax
mov rax, qword [rdi]
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x40]
mov rax, qword [rdi]
mov r9d, esi
mov edx, dword [rbx]
mov r8d, r13d
mov rcx, rdi
call qword [rax + 0x60]
add r13d, dword [rbx]
inc r15d
cmp r15d, dword [r14]
jl 0x14002306b
mov rsi, qword [rbp + 0x1370]
xor ebx, ebx
mov ecx, dword [rbp + 0x1378]
mov dword [rbp + 0x1380], r13d
mov r13d, dword [rbp + 0x1388]
add ecx, dword [r14 + 0x20]
add r12, 8
mov r14d, 1
mov dword [rbp + 0x1378], ecx
add r13d, r14d
mov dword [rbp + 0x1388], r13d
cmp r13d, dword [rsi + 0x10]
jl 0x14002304a
mov rax, qword [rdi]
lea r8, [rbp - 0x18]
mov edx, dword [rbp - 0x20]
mov rcx, rdi
call qword [rax + 0x168]
mov rax, qword [rdi]
lea r8, [rbp + 0xe8]
mov edx, dword [rbp - 0x1c]
mov rcx, rdi
call qword [rax + 0x160]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x268]
call qword [rax + 0x158]
mov rcx, qword [rbp + 0x268]
test rcx, rcx
je 0x1400231b9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r8, [rbp + 0x278]
mov r9d, dword [rbp + 0x288]
mov rcx, rdi
mov rdx, qword [rbp + 0x270]
call qword [rax + 0x118]
mov rcx, qword [rbp + 0x270]
test rcx, rcx
je 0x1400231ec
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov r8d, dword [rbp + 0x28c]
mov rdx, qword [rbp + 0x290]
call qword [rax + 0x120]
mov rcx, qword [rbp + 0x290]
test rcx, rcx
je 0x140023218
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x298]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x40]
mov rcx, qword [rbp + 0x298]
test rcx, rcx
je 0x14002323f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x2a0]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x2a0]
test rcx, rcx
je 0x140023266
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r8, [rbp + 0x2c0]
mov r9d, dword [rbp + 0x2b8]
mov rcx, rdi
mov rdx, qword [rbp + 0x2a8]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x2a8]
test rcx, rcx
je 0x140023296
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, dword [rbp + 0x2b8]
test edx, edx
je 0x1400232c2
mov eax, ebx
mov rcx, qword [rbp + rax*8 + 0x2c0]
test rcx, rcx
je 0x1400232bb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, dword [rbp + 0x2b8]
add ebx, r14d
cmp ebx, edx
jb 0x1400232a0
mov rax, qword [rdi]
lea r8, [rbp + 0xac0]
mov r9d, dword [rbp + 0x2bc]
mov rcx, rdi
mov rdx, qword [rbp + 0x2b0]
call qword [rax + 0x58]
mov rcx, qword [rbp + 0x2b0]
test rcx, rcx
je 0x1400232f2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x12d8]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x38]
mov rcx, qword [rbp + 0x12d8]
test rcx, rcx
je 0x140023319
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, dword [rbp + 0x2bc]
xor ebx, ebx
test edx, edx
je 0x140023345
mov rcx, qword [rbp + rbx*8 + 0xac0]
test rcx, rcx
je 0x14002333e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, dword [rbp + 0x2bc]
add ebx, r14d
cmp ebx, edx
jb 0x140023325
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rbp + 0x12c0]
call qword [rax + 0xc0]
mov rax, qword [rdi]
mov rcx, rdi
mov r9d, dword [rbp + 0x12e0]
mov r8d, dword [rbp + 0x12ec]
mov rdx, qword [rbp + 0x12c8]
call qword [rax + 0x98]
mov rcx, qword [rbp + 0x12c8]
test rcx, rcx
je 0x14002338a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea rcx, [rbp + 0x12e8]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x12d0]
lea rcx, [rbp + 0x12e4]
mov r8d, r14d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rdi
call qword [rax + 0x90]
mov rcx, qword [rbp + 0x12d0]
test rcx, rcx
je 0x1400233cc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x12f0]
call qword [rax + 0x88]
mov rcx, qword [rbp + 0x12f0]
test rcx, rcx
je 0x1400233f1
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r11, [rsp + 0x1428]
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