Function at 0x140101ca0
Capabilities:
Get memory capacity

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x138]
sub rsp, 0x220
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rsi, r8
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
mov rcx, qword [rdi + 0x100]
mov rax, qword [rcx]
call qword [rax + 0x1f8]
sub rbx, rax
xorps xmm6, xmm6
cvtsi2sd xmm6, rbx
movsd xmm7, qword [0x1401840a0]
movaps xmm1, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
lea r9, [rbp - 0x33]
cvttsd2si r8, xmm0
nop
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140101d20
xor r14d, r14d
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], sendto
mov byte [rbp - 0x68], r14b
lea rax, [rbp - 0x33]
cmp r9, rax
je 0x140101d7e
lea r8, [rbp - 0x33]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x68]
call fcn.140016a00
nop
divsd xmm6, xmm7
movaps xmm1, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si r8, xmm0
lea r9, [rsp + 0x6d]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140101da0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], sendto
mov byte [rbp + 0xd0], dl
lea rax, [rsp + 0x6d]
cmp r9, rax
je 0x140101e0b
lea r8, [rsp + 0x6d]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0xd0]
call fcn.140016a00
nop
divsd xmm6, xmm7
movsd xmm7, qword [0x140184098]
movaps xmm1, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si r8, xmm0
lea r9, [rbp - 0x33]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140101e30
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], sendto
mov byte [rbp - 0x28], dl
lea rax, [rbp - 0x33]
cmp r9, rax
je 0x140101e8a
lea r8, [rbp - 0x33]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x28]
call fcn.140016a00
nop
divsd xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si r8, xmm0
lea r9, [rsp + 0x6d]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140101ea0
mov qword [rsp + 0x78], r14
mov rcx, r14
mov qword [rbp - 0x78], rcx
mov edx, select
mov qword [rbp - 0x70], rdx
mov byte [rsp + 0x78], cl
lea rax, [rsp + 0x6d]
cmp r9, rax
je 0x140101f0a
lea r8, [rsp + 0x6d]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x78]
call fcn.140016a00
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140101f42
lea rax, [rcx + 2]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x78]
mov edx, 0x2064
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
lea rax, [rsp + 0x78]
jmp 0x140101f63
mov qword [rsp + 0x20], 2
lea r9, [0x1401834b8]
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x78]
call fcn.14000ca40
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], sendto
mov byte [rax], 0
lea r9, [rbp - 0x28]
lea r8, [rbp]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.140023560
nop
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x88]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140101fde
lea rax, [rcx + 2]
mov qword [rbp + 0x80], rax
lea rax, [rbp + 0x70]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x70]
mov edx, 0x2068
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
lea rax, [rbp + 0x70]
jmp 0x140101ffe
mov qword [rsp + 0x20], 2
lea r9, [0x1401834b4]
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rbp + 0x70]
call fcn.14000ca40
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], sendto
mov byte [rax], 0
lea r9, [rbp + 0xd0]
lea r8, [rsp + 0x58]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x50]
call fcn.140023560
nop
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140102076
lea rax, [rcx + 2]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x50]
mov edx, 0x206d
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
lea rax, [rbp + 0x50]
jmp 0x140102096
mov qword [rsp + 0x20], 2
lea r9, [0x1401834b0]
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rbp + 0x50]
call fcn.14000ca40
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], sendto
mov byte [rax], 0
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x48]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140023560
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140102107
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], reloc.WS2_32.dll_WSAStartup
lea rax, [rsp + 0x38]
jmp 0x140102128
mov qword [rsp + 0x20], 1
lea r9, [0x1401834ac]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.14000ca40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], sendto
mov byte [rax], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14010218c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102187
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102187
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], sendto
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1401021de
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401021d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401021d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x14010221c
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102217
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102217
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], sendto
mov byte [rbp + 0x50], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14010226d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102267
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102267
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1401022ae
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401022a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401022a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], sendto
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140102303
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401022fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401022fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140102342
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010233d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010233d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], sendto
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140102392
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010238c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010238c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x1401023d7
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401023d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401023d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140102415
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102410
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102410
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
lea rcx, [rbp - 0x48]
call fcn.140165720
movsd xmm0, qword [rax]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x58]
shr rax, 0x20
mov byte [rsi], al
lea rcx, [rbp - 0x48]
call fcn.140165720
movsd xmm0, qword [rax]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x60], eax
movzx eax, byte [rsp + 0x58]
mov byte [rsi + 1], al
lea rcx, [rbp]
call fcn.140165650
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140014490
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1401024af
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401024aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401024aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov dword [rbp], 0x40
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rbp + 8]
xorps xmm0, xmm0
test rcx, rcx
js 0x1401024d3
cvtsi2sd xmm0, rcx
jmp 0x1401024e8
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
movsd xmm6, qword [0x140191670]
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
mov dword [rsi + 0x28], eax
mov dword [rbp], 0x40
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rbp + 0x10]
xorps xmm0, xmm0
test rcx, rcx
js 0x140102520
cvtsi2sd xmm0, rcx
jmp 0x140102535
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
mov dword [rsi + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, 0x50
lea rdx, [rbp]
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
mov rcx, qword [rbp + 0x10]
xorps xmm0, xmm0
test rcx, rcx
js 0x14010256c
cvtsi2sd xmm0, rcx
jmp 0x140102581
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
mov dword [rsi + 0x34], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, 0x50
lea rdx, [rbp]
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
mov rcx, qword [rbp + 0x10]
xorps xmm0, xmm0
test rcx, rcx
js 0x1401025b8
cvtsi2sd xmm0, rcx
jmp 0x1401025cd
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
mov dword [rsi + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, 0x50
lea rdx, [rbp]
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
mov rcx, qword [rbp + 0x40]
xorps xmm0, xmm0
test rcx, rcx
js 0x140102604
cvtsi2sd xmm0, rcx
jmp 0x140102619
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
mov dword [rsi + 0x3c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, 0x50
lea rdx, [rbp]
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
mov rcx, qword [rbp + 8]
xorps xmm0, xmm0
test rcx, rcx
js 0x140102650
cvtsi2sd xmm0, rcx
jmp 0x140102665
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
mov dword [rsi + 0x40], eax
mov rdx, qword [rdi + 0x100]
add rdx, 0xc78
lea rcx, [rbp - 0x28]
call fcn.14000f170
nop
mov qword [rbp + 0x90], r14
movdqa xmm0, xmmword [0x140182b60]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], r14w
mov r8, qword [rbp - 0x18]
test r8, r8
je 0x1401026e6
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rbx, qword [rbp - 0x28]
lea rdi, [rbp - 0x28]
cmovae rdi, qword [rbp - 0x28]
add rbx, r8
call fcn.140031320
mov r9, rax
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, rdi
call fcn.1400306d0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140102724
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010271f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010271f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], sendto
mov byte [rbp - 0x28], 0
lea rdx, [rbp + 0x90]
lea rcx, [rbp]
call fcn.14000f3b0
lea rax, [rbp]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.140033140
mov rbx, qword [rbp - 0x80]
lea rcx, [rbp]
call fcn.140016660
lea r9, [rbp - 0x33]
shr rbx, 0x14
movabs rdi, 0xcccccccccccccccd
nop dword [rax]
dec r9
mov rax, rdi
mul rbx
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov rbx, rdx
test rdx, rdx
jne 0x140102780
mov qword [rsp + 0x38], r14
mov rcx, r14
mov qword [rsp + 0x48], rcx
mov edx, select
mov qword [rsp + 0x50], rdx
mov byte [rsp + 0x38], cl
lea rax, [rbp - 0x33]
cmp r9, rax
je 0x1401027ea
lea r8, [rbp - 0x33]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x38]
call fcn.140016a00
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x140102831
lea rax, [rcx + 3]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8d, 3
lea rdx, [0x1401904d8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
lea rax, [rsp + 0x38]
jmp 0x140102852
mov qword [rsp + 0x20], 3
lea r9, [0x1401904d8]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x38]
call fcn.14000ca40
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], sendto
mov byte [rax], 0
lea rcx, [rsi + 0x48]
lea rdx, [rbp - 0x68]
call fcn.140014490
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1401028bc
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401028b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401028b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1401028fc
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401028f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401028f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
lea rdx, [rbp + 0x90]
lea rcx, [rbp]
call fcn.14000f3b0
lea rax, [rbp]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.140033140
mov rbx, qword [rbp - 0x78]
lea rcx, [rbp]
call fcn.140016660
lea r9, [rbp - 0x33]
shr rbx, 0x14
nop dword [rax + rax]
dec r9
mov rax, rdi
mul rbx
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov rbx, rdx
test rdx, rdx
jne 0x140102940
mov qword [rsp + 0x38], r14
mov rcx, r14
mov qword [rsp + 0x48], rcx
mov edx, select
mov qword [rsp + 0x50], rdx
mov byte [rsp + 0x38], cl
lea rax, [rbp - 0x33]
cmp r9, rax
je 0x1401029aa
lea r8, [rbp - 0x33]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x38]
call fcn.140016a00
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x1401029f1
lea rax, [rcx + 3]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8d, 3
lea rdx, [0x1401904d8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
lea rax, [rsp + 0x38]
jmp 0x140102a12
mov qword [rsp + 0x20], 3
lea r9, [0x1401904d8]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x38]
call fcn.14000ca40
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], sendto
mov byte [rax], 0
lea rcx, [rsi + 0x68]
lea rdx, [rbp - 0x68]
call fcn.140014490
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140102a7c
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102a76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102a76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140102abc
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102ab7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102ab7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
lea rdx, [rbp + 0x90]
lea rcx, [rbp]
call fcn.14000f3b0
lea rax, [rbp]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.140033140
mov rbx, qword [rsp + 0x78]
lea rcx, [rbp]
call fcn.140016660
lea r9, [rbp - 0x33]
shr rbx, 0x14
nop dword [rax]
dec r9
mov rax, rdi
mul rbx
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov rbx, rdx
test rdx, rdx
jne 0x140102b00
mov qword [rsp + 0x38], r14
mov rcx, r14
mov qword [rsp + 0x48], rcx
mov edx, select
mov qword [rsp + 0x50], rdx
mov byte [rsp + 0x38], cl
lea rax, [rbp - 0x33]
cmp r9, rax
je 0x140102b6a
lea r8, [rbp - 0x33]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x38]
call fcn.140016a00
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x140102bb1
lea rax, [rcx + 3]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8d, 3
lea rdx, [0x1401904d8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
lea rax, [rsp + 0x38]
jmp 0x140102bd2
mov qword [rsp + 0x20], 3
lea r9, [0x1401904d8]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x38]
call fcn.14000ca40
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], sendto
mov byte [rax], 0
lea rcx, [rsi + 0x88]
lea rdx, [rbp - 0x68]
call fcn.140014490
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140102c3f
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102c39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102c39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140102c7f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102c7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102c7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
lea rcx, [rsi + 0xa8]
lea rax, [rbp + 0xb0]
cmp rcx, rax
je 0x140102cb5
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
call fcn.140016a00
lea rcx, [rsi + 0xc8]
mov r8d, 2
lea rdx, [0x14018d0e4]
call fcn.140016a00
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140102d18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102d13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102d13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
movdqa xmm0, xmmword [0x140182b60]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], r14w
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140102d74
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102d6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140102d6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov al, 1
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1401623e0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret