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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbx, qword [0x14022c040]
pxor xmm0, xmm0
mov rax, qword [rbx]
mov qword [rsp + 0x88], rax
xor eax, eax
sub edx, 1
mov rbp, rcx
mov eax, edx
shr eax, 1
or eax, edx
mov edx, eax
shr edx, 2
or edx, eax
mov eax, edx
shr eax, 4
or eax, edx
mov edx, eax
shr edx, 8
or edx, eax
mov eax, edx
shr eax, 0x10
or eax, edx
mov edx, 4
add eax, 1
cmp eax, edx
cmovae edx, eax
mov r14d, edx
cvtsi2sd xmm0, r14
mulsd xmm0, qword [0x14021be68]
mov r12, r14
addsd xmm0, qword [0x14021be70]
cvttsd2si r15, xmm0
cmp dword [rcx + 4], r15d
jae 0x14017951a
cmp eax, 0xf
ja 0x140179542
mov ecx, 4
mov esi, 4
call fcn.1400bd0a0
mov rbx, rax
mov r8, rsi
mov edx, 0xaa
mov rcx, rbx
call sub.msvcrt.dll_memset
cmp dword [rbp], r12d
jb 0x140179582
mov r13, qword [rbp + 0x10]
mov dword [rsp + 0x24], r12d
xor r9d, r9d
lea esi, [r12 - 1]
mov r10, r14
mov qword [rsp + 0x28], r15
jmp 0x140179351
mov r11d, dword [rbp]
add r9d, 1
cmp r9d, r11d
je 0x1401794cf
mov eax, r9d
lea ecx, [r9 + r9]
shr eax, 4
and ecx, 0x1e
lea rdx, [r13 + rax*4]
mov eax, dword [rdx]
mov r8d, eax
shr r8d, cl
and r8d, 3
jne 0x140179340
mov r15, qword [rbp + 0x18]
mov r8d, r9d
bts eax, ecx
mov dword [rsp + 0x20], r9d
lea r8, [r8 + r8*8]
lea r8, [r15 + r8*4]
mov r12d, dword [r8 + 0x20]
movdqu xmm3, xmmword [r8]
movdqu xmm0, xmmword [r8 + 0x10]
mov r14d, dword [r8]
mov dword [rdx], eax
mov dword [rsp + 0x50], r12d
movups xmmword [rsp + 0x30], xmm3
movups xmmword [rsp + 0x40], xmm0
nop dword [rax + rax]
mov edx, esi
and edx, r14d
mov eax, edx
lea ecx, [rdx + rdx]
shr eax, 4
and ecx, 0x1e
shl rax, 2
lea r9, [rbx + rax]
mov r11d, dword [r9]
mov r8d, r11d
shr r8d, cl
and r8d, 2
jne 0x140179429
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop dword [rax + rax]
add r8d, 1
add edx, r8d
and edx, esi
mov eax, edx
lea ecx, [rdx + rdx]
shr eax, 4
and ecx, 0x1e
shl rax, 2
lea r9, [rbx + rax]
mov r11d, dword [r9]
mov edi, r11d
shr edi, cl
and edi, 2
je 0x140179400
mov r8d, 2
shl r8d, cl
not r8d
and r8d, r11d
mov dword [r9], r8d
mov r8d, edx
mov r11d, dword [rbp]
lea r8, [r8 + r8*8]
lea r8, [r15 + r8*4]
cmp edx, r11d
jae 0x140179560
add rax, r13
mov edx, dword [rax]
shr edx, cl
and edx, 3
jne 0x140179560
mov rdx, qword [r8]
movdqu xmm2, xmmword [r8 + 0x10]
mov dword [rsp + 0x30], r14d
mov r9d, dword [r8 + 0x20]
mov r11, qword [r8 + 8]
mov dword [r8 + 0x20], r12d
movdqu xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x60], rdx
mov r14d, edx
mov qword [rsp + 0x30], rdx
mov edx, 1
mov r12d, r9d
movups xmmword [r8 + 0x10], xmm0
shl edx, cl
movdqa xmm0, xmm2
movups xmmword [r8], xmm1
mov qword [rsp + 0x68], r11
or dword [rax], edx
mov dword [rsp + 0x80], r9d
mov qword [rsp + 0x38], r11
mov dword [rsp + 0x50], r9d
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rsp + 0x40], xmm2
jmp 0x1401793b0
mov r12d, dword [rsp + 0x24]
mov r15, qword [rsp + 0x28]
cmp r12d, r9d
jae 0x1401794f7
lea rdx, [r10 + r10*8]
mov rcx, qword [rbp + 0x18]
shl rdx, 2
call fcn.1400bd2c0
mov r13, qword [rbp + 0x10]
mov qword [rbp + 0x18], rax
mov rcx, r13
call fcn.1400eaf30
movd xmm0, dword [rbp + 4]
movd xmm5, r15d
mov qword [rbp + 0x10], rbx
mov dword [rbp], r12d
punpckldq xmm0, xmm5
movq qword [rbp + 8], xmm0
mov rsi, qword [0x14022c040]
mov rax, qword [rsp + 0x88]
sub rax, qword [rsi]
jne 0x1401795ab
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov esi, r14d
shr esi, 4
shl rsi, 2
mov rcx, rsi
call fcn.1400bd0a0
mov rbx, rax
jmp 0x1401792e5
mov dword [rsp + 0x30], r14d
movdqu xmm4, xmmword [rsp + 0x30]
mov dword [r8 + 0x20], r12d
mov r9d, dword [rsp + 0x20]
movups xmmword [r8], xmm4
movups xmmword [r8 + 0x10], xmm0
jmp 0x140179344
mov rcx, qword [rbp + 0x18]
lea rdx, [r14 + r14*8]
shl rdx, 2
call fcn.1400bd2c0
mov r13, qword [rbp + 0x10]
mov qword [rbp + 0x18], rax
mov eax, dword [rbp]
test eax, eax
jne 0x140179303
jmp 0x1401794f7
call fcn.1401d96b0
nop
nop word cs:[rax + rax]
nop dword [rax]
pxor xmm0, xmm0
mov qword [rcx + 0x20], 0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
test rdx, rdx
jne 0x1401798d0
ret
jmp 0x140179240