Function at 0x1800418c0
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 [0x1800a1658]
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.1800057cc
nop
cmp qword [rsp + 0x60], r14
je 0x180041983
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 0x180041983
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.1800074f8
nop
cmp qword [rsp + 0x68], 8
jb 0x18004197b
mov rcx, qword [rsp + 0x50]
call fcn.180058ed8
mov rax, rdi
jmp 0x180041cab
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 0x180041ad5
lea ebp, [rsi + 0x61]
movsx eax, bpl
movzx r8d, ax
lea rdx, str._c:_
lea rcx, [rsp + 0x98]
call fcn.180005488
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 0x180041abd
mov byte [rsp + 0x30], r14b
lea rdx, [rsp + 0x30]
mov cl, bpl
call fcn.18000e54c
cmp al, r14b
je 0x180041a34
cmp byte [rsp + 0x30], r14b
je 0x180041a34
cmp qword [rsp + 0xb8], 8
jb 0x180041ad5
mov rcx, qword [rsp + 0xa0]
call fcn.180058ed8
jmp 0x180041ad5
movsx r8d, bpl
lea rdx, str._c:podlp_backup
lea rcx, [rsp + 0x70]
call fcn.180005488
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 0x180041ae5
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 0x180041aa7
cmp qword [rsp + 0x38], rbx
jbe 0x180041aa7
mov r12b, bpl
mov rbx, qword [rsp + 0x38]
cmp qword [rsp + 0x90], 8
jb 0x180041abd
mov rcx, qword [rsp + 0x78]
call fcn.180058ed8
nop
cmp qword [rsp + 0xb8], 8
jb 0x180041ad5
mov rcx, qword [rsp + 0xa0]
call fcn.180058ed8
inc esi
cmp esi, 0x1a
jge 0x180041bb5
jmp 0x1800419a2
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.1800056c8
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.1800074f8
nop
cmp qword [rsp + 0x90], 8
jb 0x180041b54
mov rcx, qword [rsp + 0x78]
call fcn.180058ed8
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], r14
mov word [rsp + 0x78], r14w
cmp qword [rsp + 0xb8], 8
jb 0x180041b82
mov rcx, qword [rsp + 0xa0]
call fcn.180058ed8
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xb0], r14
mov word [rsp + 0xa0], r14w
cmp qword [rsp + 0x68], 8
jb 0x180041bad
mov rcx, qword [rsp + 0x50]
call fcn.180058ed8
mov rax, rdi
jmp 0x180041cab
cmp r12b, r14b
jne 0x180041bfb
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.1800074f8
nop
cmp qword [rsp + 0x68], 8
jb 0x180041bf3
mov rcx, qword [rsp + 0x50]
call fcn.180058ed8
mov rax, rdi
jmp 0x180041cab
movsx eax, r12b
movzx r8d, ax
lea rdx, str._c:podlp_backup
lea rcx, [rsp + 0x70]
call fcn.180005488
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800074f8
nop
cmp qword [rsp + 0x90], 8
jb 0x180041c3f
mov rcx, qword [rsp + 0x78]
call fcn.180058ed8
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.1800056c8
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.1800074f8
nop
cmp qword [rsp + 0x68], 8
jb 0x180041ca8
mov rcx, qword [rsp + 0x50]
call fcn.180058ed8
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180059b00
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