Function at 0x180026950
Capabilities:
Encode data using xor
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x68], rcx
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x68], 0xf30af309
mov dword [rsp + 0x6c], 0xf304f379
mov dword [rsp + 0x70], 0xf332f309
mov dword [rsp + 0x74], 0xf32ff322
mov dword [rsp + 0x78], 0xf33df334
mov dword [rsp + 0x7c], 0xf30cf33e
mov dword [rbp - 0x80], 0xf310f325
mov dword [rbp - 0x7c], 0xf312f30a
mov dword [rbp - 0x78], 0xf300
xor ebx, ebx
mov ecx, ebx
mov edx, ebx
mov r8d, 0xcab
nop word [rax + rax]
movzx eax, cx
sub ax, r8w
xor word [rsp + rdx*2 + 0x68], ax
inc ecx
movsxd rdx, ecx
cmp rdx, 0x11
jb 0x1800269e0
mov word [rbp - 0x76], bx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
lea rax, [rsp + 0x68]
mov r15, 0xffffffffffffffff
mov r8, r15
inc r8
cmp word [rax + r8*2], bx
jne 0x180026a22
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.180006110
nop
mov rdx, qword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 8
jb 0x180026a4d
mov r9, qword [r14]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x180026a94
lea rdi, [rdx + rcx]
mov qword [rsp + 0x58], rdi
lea rbx, [rsp + 0x48]
cmp r8, 8
cmovae rbx, qword [rsp + 0x48]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor ecx, ecx
mov word [rbx + rdi*2], cx
xor ebx, ebx
jmp 0x180026aa3
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x48]
call fcn.180006f80
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x180026b3a
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], sendto
mov byte [rsi], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180026e06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
cmp rdx, 0x1000
mov rax, rcx
jb 0x180026b30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180026df8
call fcn.180029c7c
jmp 0x180026e06
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rax, [0x180026ea0]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x5c], 0
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x68], rbx
mov dword [rbp - 0x70], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, recvfrom
lea r8, [rbp - 0x60]
mov edx, 0x2d1400
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180026bc2
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], sendto
mov byte [rsi], al
test r12, r12
je 0x180026bbd
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x180026aef
mov edi, dword [rbp - 0x64]
mov ecx, edi
call fcn.18002a030
mov r13, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x20], r13
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
lea r9d, [rbx + 0xc]
lea r8, [rbp - 0x60]
mov edx, 0x2d1400
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180026c41
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], sendto
mov byte [rsi], bl
mov rcx, r13
call fcn.180029c7c
nop
test r12, r12
je 0x180026c3c
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x180026aef
mov eax, dword [r13 + 0x18]
test eax, eax
jne 0x180026c77
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], sendto
mov byte [rsi], bl
mov rcx, r13
call fcn.180029c7c
nop
test r12, r12
je 0x180026c72
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x180026aef
lea rdx, [rax + r13]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], sendto
mov byte [rbp - 0x50], bl
mov r8, r15
inc r8
cmp byte [rdx + r8], bl
jne 0x180026c91
lea rcx, [rbp - 0x50]
call fcn.180006240
nop
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], sendto
mov byte [rsp + 0x68], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov dword [rbp + 0x50], eax
mov edx, ebx
mov rdi, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x50]
mov r10, qword [rbp - 0x40]
test r10, r10
je 0x180026d33
xor ecx, ecx
cmp rdi, 0x10
setae r9b
lea r8, [rbp - 0x10]
nop dword [rax]
lea rax, [rbp - 0x50]
test r9b, r9b
cmovne rax, rbx
cmp byte [rax + rcx], 0x20
je 0x180026d26
lea rax, [rbp - 0x50]
test r9b, r9b
cmovne rax, rbx
movzx eax, byte [rax + rcx]
mov byte [r8], al
inc r8
inc edx
inc rcx
movsxd rax, edx
cmp rax, r10
jb 0x180026d00
lea rax, [rbp - 0x10]
nop word [rax + rax]
inc r15
cmp byte [rax + r15], 0
jne 0x180026d40
mov r8, r15
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.180006240
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x10], xmm1
cmp rdi, 0x10
jb 0x180026da7
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180026d9e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180026d9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180029c7c
nop
mov rcx, r13
call fcn.180029c7c
nop
test r12, r12
je 0x180026dbf
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180026e04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180026dff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180026dff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x180026e54
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x180026e4f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180026e8e
mov rcx, r8
call fcn.180029c7c
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 7
mov word [r14], bx
mov rax, rsi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.180029c20
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3