Function at 0x1400024e0
Capabilities:
Get session user name
Get storage device properties
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [rbp - 0x18]
xor edx, edx
mov dword [rbp - 0x18], r15d
mov ecx, 2
call qword [sym.imp.Secur32.dll_GetUserNameExW]
movzx ebx, al
mov r13, 0xffffffffffffffff
test al, al
jne 0x1400025b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x1400025a7
mov edx, dword [rbp - 0x18]
mov eax, 2
inc edx
mul rdx
cmovb rax, r13
xor ecx, ecx
mov rdx, rax
call fcn.140009284
mov rdi, rax
test rax, rax
je 0x140002599
lea r8, [rbp - 0x18]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.Secur32.dll_GetUserNameExW]
cmp al, 1
jne 0x14000258f
mov ecx, dword [rbp - 0x18]
mov ebx, r15d
add ecx, ecx
mov qword [rbp - 0x40], rdi
mov dword [rbp - 0x18], ecx
jmp 0x1400025a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400025a7
call fcn.140009318
xor ecx, ecx
mov ebx, dword [rax]
call fcn.140009338
mov r12, qword [rbp - 0x40]
mov r14d, dword [rbp - 0x18]
test ebx, ebx
je 0x1400025f9
jmp 0x1400025bc
mov r14d, dword [rbp - 0x18]
mov r12, r15
mov qword [rbp - 0x40], r15
test ebx, ebx
jns 0x1400025ca
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r15
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x40]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov qword [rsp + 0x30], r15
lea rcx, str..PhysicalDrive0
mov dword [rsp + 0x28], r15d
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, r13
jne 0x140002638
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000271c
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x40]
mov dword [rsp + 0x28], 8
mov r9d, 0xc
mov qword [rsp + 0x20], rax
mov edx, 0x2d1400
mov dword [rbp - 0x18], r15d
mov rcx, rdi
mov qword [rbp - 0x2c], r15
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x30], r15d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140002690
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000271c
mov esi, dword [rbp - 0x3c]
mov edx, 1
mov ecx, esi
call fcn.14000927c
mov rbx, rax
test rax, rax
je 0x140002715
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x30]
mov dword [rsp + 0x28], esi
mov r9d, 0xc
mov edx, 0x2d1400
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
test eax, eax
jne 0x1400026e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000271c
mov esi, dword [rbx + 0x18]
lea rdx, [0x140021718]
add rsi, rbx
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrTrimA]
mov qword [rbp - 0x38], rsi
mov rbx, r13
inc rbx
cmp byte [rsi + rbx], r15b
jne 0x140002703
cmp edi, 1
cmove edi, r15d
jmp 0x14000271f
call fcn.140009318
mov edi, dword [rax]
mov ebx, dword [rbp - 0x18]
test edi, edi
je 0x14000275e
mov qword [rbp - 0x20], r15
jns 0x14000272f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r15
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x20]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rax, 0xffffffffffffffff
mov r15d, ebx
mov esi, r14d
lea r13, [rsi + r15]
lea rcx, [r13 + 8]
add rcx, 1
cmovb rcx, rax
call fcn.14000bd24
mov rdi, rax
test rax, rax
je 0x14000285e
lea rcx, [rax + 4]
mov dword [rax], r14d
mov r8d, esi
mov rdx, r12
call fcn.140017910
mov rdx, qword [rbp - 0x38]
lea rcx, [rdi + 8]
add rcx, rsi
mov dword [rsi + rdi + 4], ebx
mov r8d, r15d
call fcn.140017910
mov rcx, qword [0x140026f70]
lea eax, [rbx + 9]
xor ebx, ebx
mov byte [rdi + r13 + 8], 1
mov qword [rsp + 0x30], rbx
lea r9, [rbp - 0x18]
add eax, r14d
mov qword [rsp + 0x28], rbx
mov r8d, 1
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x30], eax
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x1400027fd
cmp dword [rbp - 0x18], ebx
jne 0x14000282f
mov qword [rbp - 0x38], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov r9d, 0x400
mov qword [rsp + 0x20], rdx
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400037f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, 0xffffffffffffffff
call fcn.140009654
int3