Function at 0x140018e34
Capabilities:
Get disk size
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7f8]
sub rsp, 0x8c0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140197e90]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r15, rdx
mov r14, rcx
mov qword [rbp - 0x60], rcx
mov al, byte [0x14019fd84]
neg al
sbb rbx, rbx
add rbx, 0xffffffff80000002
mov r8d, dword [0x14019fd80]
mov ecx, r8d
imul ecx, r8d
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
mov edi, 1
xor r12d, r12d
cmp ecx, 0x11
jne 0x140018eca
test r8d, r8d
cmove r8d, edi
mov dword [0x14019fd80], r8d
lea rcx, [0x1401979a8]
mov rax, qword [0x1401979a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x58], r12
lea rdx, [0x140130a98]
lea rcx, [rbp - 0x80]
call fcn.1400029b8
nop
mov r8, rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.14000d514
nop
lea r8, [0x1401a00c0]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000d514
nop
lea r8, [0x140130a20]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140017478
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14000d514
nop
mov r9d, edi
mov r8, qword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140018038
test eax, eax
setne bl
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
or r13, 0xffffffffffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140018f8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140018fae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140018fd0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140018ff2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140019012
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140019078
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001902b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140019052
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140019071
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x140019332
mov dword [rsp + 0x40], 0x400
mov word [rbp - 0x50], r12w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x4e]
call fcn.1400be450
mov esi, r12d
mov r9d, dword [0x14019fd80]
mov ecx, r9d
imul ecx, r9d
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 0xb
jne 0x1400190ef
mov ecx, r9d
test r9d, r9d
je 0x1400190e2
dec ecx
je 0x1400190d6
add r9d, edi
jmp 0x1400190e8
mov r9d, r12d
mov dword [0x14019fd80], r12d
jmp 0x1400190ef
mov r9d, 2
mov dword [0x14019fd80], r9d
mov rbx, qword [rsp + 0x48]
lea ecx, [r9 + 2]
lea eax, [r9 + 1]
imul ecx, eax
imul ecx, r9d
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub ecx, edx
cmp ecx, 2
jne 0x14001915b
mov eax, 0x51eb851f
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub r9d, edx
add r9d, 0x63
movsxd rcx, r9d
mov eax, 4
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400b8688
mov rcx, rax
call fcn.1400ba0bc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x50]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
inc esi
test eax, eax
je 0x140019192
cmp eax, 0x103
jne 0x1400191f9
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.140001cb0
nop
mov rax, qword [rsp + 0x60]
cmp dword [rax - 0x10], r12d
je 0x1400191b9
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.140019760
mov dword [rsp + 0x40], 0x400
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x50]
call fcn.1400be450
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400191f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
mov r9d, dword [0x14019fd80]
lea ecx, [r9 + 1]
imul ecx, r9d
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 7
jne 0x140019265
mov eax, 0x51eb851f
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub r9d, edx
add r9d, 0x7b
movsxd rcx, r9d
mov eax, 4
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400b8688
mov rcx, rax
call fcn.1400ba0bc
mov r9d, dword [0x14019fd80]
test edi, edi
je 0x1400190f4
test rbx, rbx
je 0x14001928a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
mov qword [rsp + 0x48], rbx
mov r9d, dword [0x14019fd80]
mov dword [rsp + 0x50], r12d
lea r8d, [r9 + 2]
lea ecx, [r9 + 1]
imul r8d, ecx
imul r8d, r9d
mov eax, 0x88888889
imul r8d
add edx, r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub r8d, edx
cmp r8d, 2
jne 0x1400192d6
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
nop
test rbx, rbx
je 0x1400192e9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140019310
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov ecx, r13d
lock xadd dword [rdx + 0x10], ecx
add ecx, r13d
test ecx, ecx
jg 0x140019330
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, 1
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400b9010
mov rbx, qword [rsp + 0x910]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret