Function at 0x14004e770
Capabilities:
Get disk information
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1402dc040]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rdi, rcx
mov qword [rbp + 0x10], rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x74]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea r9, [rbp + 0x65]
mov ecx, dword [rbp - 0x74]
nop
dec r9
mov eax, 0xcccccccd
mul ecx
mov ebx, edx
shr ebx, 3
movzx eax, bl
shl al, 2
lea edx, [rax + rbx]
add dl, dl
sub cl, dl
add cl, 0x30
mov byte [r9], cl
mov ecx, ebx
test ebx, ebx
jne 0x14004e7d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r14
mov qword [rbp], r14
lea rax, [rbp + 0x65]
cmp r9, rax
jne 0x14004e825
mov rsi, r14
mov qword [rbp - 8], r14
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], sil
jmp 0x14004e83c
lea r8, [rbp + 0x65]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x18]
call fcn.14004a000
mov rsi, qword [rbp - 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
mov byte [rsp + 0x20], 0
mov edx, reloc.WS2_32.dll_recv
mov r9d, edx
lea rcx, [rbp - 0x38]
call fcn.1400686d0
mov eax, dword [rbp - 0x28]
mov dword [rbp - 0x40], eax
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, qword [rbp - 0x38]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x14004e98b
mov dword [rbp - 0x70], 0x357e6e13
mov dword [rbp - 0x6c], 0xb3500fa8
mov dword [rbp - 0x68], 0x24714a99
mov dword [rbp - 0x64], 0xee77ad55
mov dword [rbp - 0x60], 0xcb11e362
mov dword [rbp - 0x5c], 0xf54d963f
mov dword [rbp - 0x58], 0xf20a09cc
mov dword [rbp - 0x54], 0x3ee0a239
mov dword [rbp - 0x50], 0xd6ffe525
mov dword [rbp - 0x4c], 0xad1240f4
mov dword [rbp - 0x48], 0x62b09d42
mov dword [rbp - 0x44], 0xf5e931d3
mov qword [rbp + 0x10], r14
mov rax, qword [rbp + 0x10]
nop dword [rax + rax]
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp + rcx - 0x70]
sub dl, byte [rbp + rax - 0x58]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rbp + 0x10]
mov byte [rbp + rax + 0x30], cl
mov rax, qword [rbp + 0x10]
inc rax
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
cmp rax, 0x18
jb 0x14004e8f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.14004a000
nop
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rax, qword [rsp + 0x68]
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
call fcn.140066320
nop
lea rcx, [rsp + 0x68]
call fcn.1400633d0
mov rsi, qword [rbp - 8]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x14], ebx
mov dword [rbp + 0x18], ecx
mov dword [rbp + 0x1c], edx
movdqu xmm0, xmmword [rbp + 0x10]
movups xmm1, xmm0
psrldq xmm0, 8
paddw xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddw xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 2
paddw xmm1, xmm0
movd eax, xmm1
movsx edx, ax
lea rcx, [rbp - 0x70]
call fcn.140046650
nop
movabs rax, 0x7fffffffffffffff
sub rax, rsi
cmp rax, 1
jb 0x14004ebc6
lea r9, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova r9, qword [rbp - 0x18]
mov qword [rsp + 0x30], 1
lea rbx, [0x14022018c]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
lea rcx, [rbp + 0x10]
call fcn.14006a050
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
lea rcx, [rbp + 0x10]
call fcn.140063730
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r14
mov byte [rax], 0
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140063730
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.140063730
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rbx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
cmova rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
cmp rbx, rdx
je 0x14004eb34
nop word [rax + rax]
movsx eax, byte [rbx]
bt eax, 8
jae 0x14004eb2c
mov byte [rbx], 0x2a
inc rbx
cmp rbx, rdx
jne 0x14004eb20
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.1400633d0
nop
lea rcx, [rsp + 0x68]
call fcn.1400633d0
nop
lea rcx, [rbp + 0x30]
call fcn.1400633d0
nop
lea rcx, [rbp + 0x10]
call fcn.1400633d0
nop
lea rcx, [rbp - 0x70]
call fcn.1400633d0
nop
lea rcx, [rbp - 0x38]
call fcn.1400633d0
nop
lea rcx, [rbp - 0x18]
call fcn.1400633d0
mov rax, rdi
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.14016dfe0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400465a0
nop
int3