Function at 0x180082100
Capabilities:
Encode data using xor
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x180174838]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov dword [rcx], 0x2bc
mov dword [rcx + 4], 0x1c2
mov dword [rcx + 8], edx
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rcx + 0x10], sil
movups xmmword [rcx + 0x30], xmm0
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rcx + 0x30], sil
mov dword [rcx + 0x50], esi
movups xmmword [rcx + 0x58], xmm0
mov qword [rcx + 0x68], rsi
mov qword [rcx + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rcx + 0x58], sil
mov qword [rcx + 0x78], rsi
mov qword [rcx + 0x80], rsi
mov qword [rcx + 0x88], rsi
movups xmmword [rcx + 0x98], xmm0
mov qword [rcx + 0xa8], rsi
mov qword [rcx + 0xb0], 7
mov word [rcx + 0x98], si
lea rbx, [rcx + 0xb8]
mov qword [rsp + 0x38], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rsi + 0x40]
call fcn.1800f4ff4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [r14 + 0xc8], rsi
mov qword [r14 + 0xd0], rsi
mov qword [r14 + 0xd8], rsi
lea rdi, [r14 + 0xe0]
mov qword [rsp + 0x38], rdi
mov ecx, 0x200
call fcn.1800f4ff4
mov rbx, rax
test rax, rax
je 0x180082223
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
jmp 0x180082226
mov rbx, rsi
mov qword [rdi], rbx
xorps xmm0, xmm0
movups xmmword [r14 + 0xe8], xmm0
mov qword [r14 + 0xf8], rsi
mov qword [r14 + 0x100], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0xe8], 0
mov qword [r14 + 0x108], rsi
test byte [r14 + 8], 0x40
je 0x1800822a0
mov ecx, 0x200
call fcn.1800f4ff4
mov rbx, rax
test rax, rax
je 0x180082280
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
jmp 0x180082283
mov rbx, rsi
mov rcx, qword [r14 + 0x108]
mov qword [r14 + 0x108], rbx
test rcx, rcx
je 0x1800822a0
mov edx, 0x200
call fcn.1800f5030
mov rax, qword [rdi]
mov byte [rax], 0
mov rax, qword [rdi]
mov byte [rax + 0x1ff], 0
mov dword [rsp + 0x38], 0x26433b
mov byte [rsp + 0x3c], 1
mov rcx, rsi
lea eax, [rcx + 0x78]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 3
jb 0x1800822c0
mov byte [rsp + 0x3c], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x38]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1800822f0
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180073820
nop
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.18008f7d0
nop
lea rcx, [rsp + 0x40]
call fcn.18000a270
mov rbx, qword [r14 + 0x78]
mov rdi, qword [r14 + 0x80]
cmp rbx, rdi
je 0x18008239d
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18008237a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180082375
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180082428
mov rcx, r8
call fcn.1800f5030
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rdi
jne 0x180082340
mov rax, qword [r14 + 0x78]
mov qword [r14 + 0x80], rax
mov dword [r14 + 0x90], esi
mov byte [r14 + 0x94], 0
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov ebx, esi
nop word [rax + rax]
mov ecx, ebx
mov edi, 1
shl edi, cl
test ebp, edi
je 0x1800823f5
lea eax, [rbx + 0x41]
mov byte [rsp + 0x38], al
mov word [rsp + 0x39], 0x5c3a
mov byte [rsp + 0x3b], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 1
ja 0x1800823f5
or esi, edi
inc ebx
cmp ebx, 0x1a
jl 0x1800823c0
mov dword [r14 + 0x110], esi
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800f5150
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3