Function at 0x18004e7ec
Capabilities:
Get disk information
Get system information on windows
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], r12b
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x7c]
lea rcx, [rbp - 0x78]
call fcn.18001ec80
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
lea rcx, [rbp - 0x58]
call fcn.180013d7c
nop
mov r13d, 0x1000
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x18004e8b2
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x18004e8ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004eaaa
call fcn.1800ac2c0
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x180338930]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.18001ec80
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
lea rcx, [rbp - 0x58]
call fcn.180013d7c
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x18004e93e
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x18004e939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004eab0
call fcn.1800ac2c0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMHardwareConfigCurrent
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18004ea28
mov dword [rsp + 0x44], 0x200
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SystemFamily
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18004ea1d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
or rdi, 0xffffffffffffffff
mov r9d, edi
lea r8, [rbp - 0x30]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rcx, rbx
call fcn.1800b5f74
mov rsi, rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rbp - 0x30]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc rdi
cmp byte [rsi + rdi], r12b
jne 0x18004ea05
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.180013d7c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
mov rcx, r14
call fcn.180026424
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18004ea76
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, r13
jb 0x18004ea71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004eaa4
call fcn.1800ac2c0
mov rax, r14
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1800ac760
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.1800b36a4
nop
call fcn.1800b36a4
nop
call fcn.1800b36a4
int3