Function at 0x180041844
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.1800057d4
nop
cmp qword [rsp + 0x60], r14
je 0x180041907
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 0x180041907
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.180007594
nop
cmp qword [rsp + 0x68], 8
jb 0x1800418ff
mov rcx, qword [rsp + 0x50]
call fcn.1800018ec
mov rax, rdi
jmp 0x180041c2f
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 0x180041a59
lea ebp, [rsi + 0x61]
movsx eax, bpl
movzx r8d, ax
lea rdx, str._c:_
lea rcx, [rsp + 0x98]
call fcn.180005490
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 0x180041a41
mov byte [rsp + 0x30], r14b
lea rdx, [rsp + 0x30]
mov cl, bpl
call fcn.18000e61c
cmp al, r14b
je 0x1800419b8
cmp byte [rsp + 0x30], r14b
je 0x1800419b8
cmp qword [rsp + 0xb8], 8
jb 0x180041a59
mov rcx, qword [rsp + 0xa0]
call fcn.1800018ec
jmp 0x180041a59
movsx r8d, bpl
lea rdx, str._c:podlp_backup
lea rcx, [rsp + 0x70]
call fcn.180005490
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 0x180041a69
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 0x180041a2b
cmp qword [rsp + 0x38], rbx
jbe 0x180041a2b
mov r12b, bpl
mov rbx, qword [rsp + 0x38]
cmp qword [rsp + 0x90], 8
jb 0x180041a41
mov rcx, qword [rsp + 0x78]
call fcn.1800018ec
nop
cmp qword [rsp + 0xb8], 8
jb 0x180041a59
mov rcx, qword [rsp + 0xa0]
call fcn.1800018ec
inc esi
cmp esi, 0x1a
jge 0x180041b39
jmp 0x180041926
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.1800056d0
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.180007594
nop
cmp qword [rsp + 0x90], 8
jb 0x180041ad8
mov rcx, qword [rsp + 0x78]
call fcn.1800018ec
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], r14
mov word [rsp + 0x78], r14w
cmp qword [rsp + 0xb8], 8
jb 0x180041b06
mov rcx, qword [rsp + 0xa0]
call fcn.1800018ec
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xb0], r14
mov word [rsp + 0xa0], r14w
cmp qword [rsp + 0x68], 8
jb 0x180041b31
mov rcx, qword [rsp + 0x50]
call fcn.1800018ec
mov rax, rdi
jmp 0x180041c2f
cmp r12b, r14b
jne 0x180041b7f
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.180007594
nop
cmp qword [rsp + 0x68], 8
jb 0x180041b77
mov rcx, qword [rsp + 0x50]
call fcn.1800018ec
mov rax, rdi
jmp 0x180041c2f
movsx eax, r12b
movzx r8d, ax
lea rdx, str._c:podlp_backup
lea rcx, [rsp + 0x70]
call fcn.180005490
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180007594
nop
cmp qword [rsp + 0x90], 8
jb 0x180041bc3
mov rcx, qword [rsp + 0x78]
call fcn.1800018ec
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.1800056d0
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.180007594
nop
cmp qword [rsp + 0x68], 8
jb 0x180041c2c
mov rcx, qword [rsp + 0x50]
call fcn.1800018ec
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180059930
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