Function at 0x14004cd70
Capabilities:
Get disk information
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14025d030]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, rdx
mov qword [rbp - 0x50], rdx
xor r13d, r13d
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x78]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea r9, [rbp + 0x2d]
mov ecx, dword [rbp - 0x78]
nop dword [rax + rax]
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 0x14004cde0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
lea rax, [rbp + 0x2d]
cmp r9, rax
jne 0x14004ce36
mov rdi, r13
mov qword [rbp - 0x38], r13
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x48], dil
jmp 0x14004ce51
lea r8, [rbp + 0x2d]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x48]
call fcn.140062b80
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x38]
mov dword [rbp - 0x50], reloc.WS2_32.dll_recv
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov r15, r13
mov qword [rbp - 0x18], r13
mov r12d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], r12
mov byte [rbp - 0x28], r15b
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x14004cf40
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14004cea4
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14005b8f0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x70]
cmovae rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.14005a600
lea rcx, [rbp - 0x28]
cmp rcx, rax
je 0x14004cf20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r12, xmm0
movq r15, xmm1
lea rcx, [rsp + 0x68]
call fcn.140057660
nop
lea rcx, [rbp - 0x70]
call fcn.140055ab0
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rbp - 0x70], eax
mov dword [rbp - 0x6c], ebx
mov dword [rbp - 0x68], ecx
mov dword [rbp - 0x64], edx
movdqu xmm1, xmmword [rbp - 0x70]
movdqa xmm0, xmm1
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
movzx edx, ax
lea rcx, [rbp - 8]
call fcn.140046370
nop
movabs rax, 0x7fffffffffffffff
sub rax, rdi
cmp rax, 1
jb 0x14004d121
lea r9, [rbp - 0x48]
cmp rsi, 0x10
cmovae r9, qword [rbp - 0x48]
mov qword [rsp + 0x30], 1
lea rbx, [0x1401e877c]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x68]
call fcn.14005ddb0
nop
lea rdx, [rbp - 0x28]
cmp r12, 0x10
cmovae rdx, qword [rbp - 0x28]
mov r8, r15
lea rcx, [rsp + 0x68]
call fcn.140057a80
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140057a80
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rdx, qword [rbp - 8]
mov r8, qword [rbp + 8]
lea rcx, [rbp - 0x70]
call fcn.140057a80
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x70]
call fcn.140057660
nop
lea rcx, [rsp + 0x48]
call fcn.140057660
nop
lea rcx, [rsp + 0x68]
call fcn.140057660
nop
lea rcx, [rbp - 8]
call fcn.140057660
nop
lea rcx, [rbp - 0x28]
call fcn.140057660
nop
lea rcx, [rbp - 0x48]
call fcn.140057660
mov rax, r14
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14013ea20
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140046350
nop
int3