Function at 0x140002400
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor edi, edi
lea rdx, str.serialNumber:
lea rcx, [0x140040510]
call fcn.140005930
mov rbx, rax
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp]
call fcn.14002c0c0
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x110]
call fcn.14002c0c0
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x38], 0x105
lea rax, [rbp + 0x110]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8d, 0x105
lea rdx, [rbp]
lea rcx, [0x140039298]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, edi
test eax, eax
cmovne edx, dword [rsp + 0x60]
mov rcx, rbx
call fcn.140003360
mov rcx, rax
call fcn.140005be0
lea rdx, str.GUID:
lea rcx, [0x140040510]
call fcn.140005930
mov rbx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea r8d, [rdi + 0x28]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x28
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov rdi, 0xffffffffffffffff
mov r9d, edi
lea r8, [rbp - 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140002551
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140005db0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140007300
mov rcx, rax
call fcn.140005be0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400025ce
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027f2
call fcn.140009a20
lea rdx, str.username:
lea rcx, [0x140040510]
call fcn.140005930
mov rsi, rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x14000260e
lea rdx, str.Failed_to_load_advapi32.dll
lea rcx, [0x1400406b0]
call fcn.140005930
jmp 0x140002696
lea rdx, str.GetUserNameA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140002638
lea rdx, str.Failed_to_get_address_of_GetUserNameA
lea rcx, [0x1400406b0]
call fcn.140005930
jmp 0x140002696
mov dword [rsp + 0x60], 0x101
lea rdx, [rsp + 0x60]
lea rcx, [rbp]
call rax
test eax, eax
je 0x140002670
lea rdx, str.Username:
lea rcx, [0x140040510]
call fcn.140005930
mov rcx, rax
lea rdx, [rbp]
call fcn.140005930
jmp 0x140002696
lea rdx, str.Failed_to_get_username._Error_code:
lea rcx, [0x1400406b0]
call fcn.140005930
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140003360
mov rcx, rax
call fcn.140005be0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0x110]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400026b6
mov r8, rdi
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x40]
call fcn.140005db0
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rsi
call fcn.140007300
mov rcx, rax
call fcn.140005be0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000273a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002735
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027f8
call fcn.140009a20
lea rdx, str.mac:
lea rcx, [0x140040510]
call fcn.140005930
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.1400020f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140002769
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140007300
mov rcx, rax
call fcn.140005be0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400027b6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027ec
call fcn.140009a20
lea rcx, str.pause
call fcn.140012770
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140009a00
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140012d9c
int3
call fcn.140012d9c
int3
call fcn.140012d9c
int3