Function at 0x180041594
Capabilities:
Get disk information
Get disk size

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xd0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
lea r9, str.bakpath
lea r8, str.SoftwareWOW6432Nodeprojonepodlpdlpcore_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1800057dc
nop
cmp qword [rsp + 0x60], r14
je 0x180041657
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, r14d
je 0x180041657
lea ebx, [r14 + 7]
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x18], r14
mov word [rdi + 8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1800075d0
nop
cmp qword [rsp + 0x68], 8
jb 0x18004164f
mov rcx, qword [rsp + 0x50]
call fcn.180058b34
mov rax, rdi
jmp 0x18004197f
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r13d, eax
mov r12b, r14b
mov dword [rsp + 0x38], r14d
xor eax, eax
mov dword [rsp + 0x3c], eax
mov esi, r14d
mov rbx, qword [rsp + 0x38]
bt r13d, esi
jae 0x1800417a9
lea ebp, [rsi + 0x61]
movsx eax, bpl
movzx r8d, ax
lea rdx, str._c:_
lea rcx, [rsp + 0x98]
call fcn.180005498
nop
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x180041791
mov byte [rsp + 0x30], r14b
lea rdx, [rsp + 0x30]
mov cl, bpl
call fcn.18000e608
cmp al, r14b
je 0x180041708
cmp byte [rsp + 0x30], r14b
je 0x180041708
cmp qword [rsp + 0xb8], 8
jb 0x1800417a9
mov rcx, qword [rsp + 0xa0]
call fcn.180058b34
jmp 0x1800417a9
movsx r8d, bpl
lea rdx, str._c:podlp_backup
lea rcx, [rsp + 0x70]
call fcn.180005498
nop
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, r14d
jne 0x1800417b9
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rcx, qword [rsp + 0xa0]
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp eax, r14d
je 0x18004177b
cmp qword [rsp + 0x38], rbx
jbe 0x18004177b
mov r12b, bpl
mov rbx, qword [rsp + 0x38]
cmp qword [rsp + 0x90], 8
jb 0x180041791
mov rcx, qword [rsp + 0x78]
call fcn.180058b34
nop
cmp qword [rsp + 0xb8], 8
jb 0x1800417a9
mov rcx, qword [rsp + 0xa0]
call fcn.180058b34
inc esi
cmp esi, 0x1a
jge 0x180041889
jmp 0x180041676
lea r9, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae r9, qword [rsp + 0x78]
mov dword [rsp + 0x20], r14d
lea r8, str.bakpath
lea rdx, str.SoftwareWOW6432Nodeprojonepodlpdlpcore_
mov rcx, 0xffffffff80000002
call fcn.1800056d8
mov ebx, 7
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x18], r14
mov word [rdi + 8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1800075d0
nop
cmp qword [rsp + 0x90], 8
jb 0x180041828
mov rcx, qword [rsp + 0x78]
call fcn.180058b34
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], r14
mov word [rsp + 0x78], r14w
cmp qword [rsp + 0xb8], 8
jb 0x180041856
mov rcx, qword [rsp + 0xa0]
call fcn.180058b34
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xb0], r14
mov word [rsp + 0xa0], r14w
cmp qword [rsp + 0x68], 8
jb 0x180041881
mov rcx, qword [rsp + 0x50]
call fcn.180058b34
mov rax, rdi
jmp 0x18004197f
cmp r12b, r14b
jne 0x1800418cf
mov ebx, 7
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x18], r14
mov word [rdi + 8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1800075d0
nop
cmp qword [rsp + 0x68], 8
jb 0x1800418c7
mov rcx, qword [rsp + 0x50]
call fcn.180058b34
mov rax, rdi
jmp 0x18004197f
movsx eax, r12b
movzx r8d, ax
lea rdx, str._c:podlp_backup
lea rcx, [rsp + 0x70]
call fcn.180005498
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800075d0
nop
cmp qword [rsp + 0x90], 8
jb 0x180041913
mov rcx, qword [rsp + 0x78]
call fcn.180058b34
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
mov dword [rsp + 0x20], r14d
lea r8, str.bakpath
lea rdx, str.SoftwareWOW6432Nodeprojonepodlpdlpcore_
mov rcx, 0xffffffff80000002
call fcn.1800056d8
mov ebx, 7
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x18], r14
mov word [rdi + 8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1800075d0
nop
cmp qword [rsp + 0x68], 8
jb 0x18004197c
mov rcx, qword [rsp + 0x50]
call fcn.180058b34
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180059760
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret