Function at 0x180034630
Capabilities:
Get disk information
Get disk size
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x180101090]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea r9, str.bakpath
lea r8, str.SoftwareWOW6432Nodeprojonepodlpdlpcore_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.180053c64
nop
cmp qword [rsp + 0x58], r15
je 0x1800346f7
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1800346f7
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r15
mov word [rsi + 8], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.18000db80
nop
cmp qword [rsp + 0x60], 8
jb 0x1800346ef
mov rcx, qword [rsp + 0x48]
call fcn.18009a864
mov rax, rsi
jmp 0x180034aba
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r14d, eax
xor r13b, r13b
mov dword [rsp + 0x30], r15d
xor eax, eax
mov dword [rsp + 0x34], eax
mov ebp, r15d
mov rbx, qword [rsp + 0x30]
bt r14d, ebp
jae 0x180034899
lea r12d, [rbp + 0x61]
movsx eax, r12b
movzx r8d, ax
lea rdx, str._c:_
lea rcx, [rsp + 0x90]
call fcn.180053a60
nop
lea rcx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x180034881
mov edi, r15d
mov byte [rsp + 0xb8], r12b
mov byte [rsp + 0xb9], 0x3a
mov byte [rsp + 0xba], 0x5c
xor eax, eax
mov qword [rsp + 0xbb], rax
mov dword [rsp + 0xc3], eax
mov byte [rsp + 0xc7], al
lea rcx, [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x1800347b5
cmp eax, 3
jne 0x1800347ce
movzx ecx, r12b
call fcn.1800519a0
cmp eax, 0xffffffff
je 0x1800347f8
cmp eax, 7
mov eax, 1
cmove edi, eax
test edi, edi
setne al
test al, al
je 0x1800347f8
cmp qword [rsp + 0xb0], 8
jb 0x180034899
mov rcx, qword [rsp + 0x98]
call fcn.18009a864
jmp 0x180034899
movsx r8d, r12b
lea rdx, str._c:podlp_backup
lea rcx, [rsp + 0x68]
call fcn.180053a60
nop
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1800348a9
lea rcx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae rcx, qword [rsp + 0x98]
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x18003486b
mov rax, qword [rsp + 0x30]
cmp rax, rbx
jbe 0x18003486b
movzx r13d, r12b
mov rbx, rax
cmp qword [rsp + 0x88], 8
jb 0x180034881
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
nop
cmp qword [rsp + 0xb0], 8
jb 0x180034899
mov rcx, qword [rsp + 0x98]
call fcn.18009a864
inc ebp
cmp ebp, 0x1a
jge 0x1800349a3
jmp 0x180034716
cmp qword [rsp + 0x88], 8
jb 0x1800348c3
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x1800348c8
mov eax, r15d
jmp 0x1800348d1
lea rbx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
lea r8, str.bakpath
lea rdx, str.SoftwareWOW6432Nodeprojonepodlpdlpcore_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r15
mov word [rsi + 8], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.18000db80
nop
cmp qword [rsp + 0x88], 8
jb 0x18003493a
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], r15
mov word [rsp + 0x70], r15w
cmp qword [rsp + 0xb0], 8
jb 0x18003496c
mov rcx, qword [rsp + 0x98]
call fcn.18009a864
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], r15
mov word [rsp + 0x98], r15w
cmp qword [rsp + 0x60], 8
jb 0x18003499b
mov rcx, qword [rsp + 0x48]
call fcn.18009a864
mov rax, rsi
jmp 0x180034aba
test r13b, r13b
jne 0x1800349e8
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r15
mov word [rsi + 8], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.18000db80
nop
cmp qword [rsp + 0x60], 8
jb 0x1800349e0
mov rcx, qword [rsp + 0x48]
call fcn.18009a864
mov rax, rsi
jmp 0x180034aba
movsx eax, r13b
movzx r8d, ax
lea rdx, str._c:podlp_backup
lea rcx, [rsp + 0x68]
call fcn.180053a60
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000db80
nop
cmp qword [rsp + 0x88], 8
jb 0x180034a2c
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
cmp qword [rsp + 0x60], 8
jb 0x180034a43
mov rbx, qword [rsp + 0x48]
test rbx, rbx
jne 0x180034a48
mov eax, r15d
jmp 0x180034a51
lea rbx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
lea r8, str.bakpath
lea rdx, str.SoftwareWOW6432Nodeprojonepodlpdlpcore_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r15
mov word [rsi + 8], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.18000db80
nop
cmp qword [rsp + 0x60], 8
jb 0x180034ab7
mov rcx, qword [rsp + 0x48]
call fcn.18009a864
mov rax, rsi
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.180099fe0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret