Function at 0x18028dd10
Capabilities:
Get common file path
Get disk information

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp 0x18028dd10
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x18065f280]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov r15, rdx
mov r14, rcx
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x78]
call fcn.180160570
mov rcx, r15
call fcn.180009780
xor edx, edx
mov rcx, r15
call fcn.18000c670
lea rdi, [0x180660020]
mov rsi, 0xffffffffffffffff
mov eax, dword [rbp - 0x7c]
test eax, eax
jle 0x18028e140
mov r12, qword [rsp + 0x78]
mov edi, eax
mov qword [rsp + 0x48], rax
mov rbx, qword [r12]
mov qword [rsp + 0x60], rbx
lea rax, [rbx - 0x10]
lea rcx, [0x180660020]
cmp rax, rcx
je 0x18028ddb3
lock inc dword [rax]
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rbx
lea rax, [rbx - 0x10]
cmp rax, rcx
je 0x18028ddc9
lock inc dword [rax]
mov rbx, qword [rsp + 0x68]
mov eax, dword [r15 + 0xc]
inc eax
cmp eax, dword [r15 + 8]
jle 0x18028ddf0
mov ecx, eax
test eax, eax
jns 0x18028ddde
lea ecx, [rax + 1]
sar ecx, 1
lea edx, [rax + 8]
add edx, ecx
and edx, 0xfffffff8
mov rcx, r15
call fcn.18000c670
movsxd rcx, dword [r15 + 0xc]
lea eax, [rcx + 1]
mov dword [r15 + 0xc], eax
mov rax, qword [r15]
mov qword [rax + rcx*8], rbx
mov rax, qword [r12]
cmp byte [rax], 0
je 0x18028dfc5
mov rcx, r12
call fcn.1801617f0
cmp eax, 3
je 0x18028de29
test eax, eax
je 0x18028de29
cmp eax, 6
jb 0x18028dfc5
mov rax, qword [r12]
mov qword [rsp + 0x68], rax
add rax, 0xfffffffffffffff0
lea rcx, [0x180660020]
cmp rax, rcx
je 0x18028de45
lock inc dword [rax]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x68]
call fcn.180161880
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180017f90
xor ecx, ecx
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, 0x40
lea rdx, [rbp - 0x60]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ebx, eax
mov rcx, qword [rbp - 0x68]
add rcx, 0xfffffffffffffff0
lea rax, [0x180660020]
cmp rcx, rax
je 0x18028deb4
mov edx, esi
lock xadd dword [rcx], edx
dec edx
cmp edx, 0xffffffff
jne 0x18028deb4
call fcn.18011d9c0
test ebx, ebx
jne 0x18028debe
xor eax, eax
mov word [rbp - 0x60], ax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.18001d210
nop
mov rax, qword [rsp + 0x70]
cmp byte [rax], 0
jne 0x18028df49
lea rdx, str.Hard_Drive
lea rcx, [rbp - 0x78]
call fcn.18001d070
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x70]
call fcn.18017e980
nop
mov rcx, qword [rbp - 0x78]
add rcx, 0xfffffffffffffff0
lea rbx, [0x180660020]
cmp rcx, rbx
je 0x18028df1c
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028df1c
call fcn.18011d9c0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x70]
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x70], rax
lea rcx, [rax - 0x10]
cmp rcx, rbx
je 0x18028df49
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028df49
call fcn.18011d9c0
mov ecx, 2
mov rax, qword [rsp + 0x60]
mov rbx, rsi
inc rbx
cmp byte [rax + rbx], 0
jne 0x18028df56
movsxd rdi, ecx
lea rdx, [rdi + rbx]
lea rcx, [rsp + 0x60]
call fcn.18017e6c0
movsxd rbx, ebx
add rbx, qword [rsp + 0x60]
mov r8, rdi
lea rdx, [0x1803b39e8]
mov rcx, rbx
call fcn.18037edb0
mov byte [rdi + rbx], 0
mov rdi, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.1801936e0
mov dl, 0x5d
mov rcx, rax
call fcn.18017cdf0
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff0
lea rax, [0x180660020]
cmp rcx, rax
jmp 0x18028e090
mov rcx, r12
call fcn.1801617f0
cmp eax, 5
jne 0x18028e0a4
mov ecx, 2
mov rax, qword [rsp + 0x60]
mov rbx, rsi
inc rbx
cmp byte [rax + rbx], 0
jne 0x18028dfe3
movsxd rdi, ecx
lea rdx, [rdi + rbx]
lea rcx, [rsp + 0x60]
call fcn.18017e6c0
movsxd rbx, ebx
add rbx, qword [rsp + 0x60]
mov r8, rdi
lea rdx, [0x1803b3a24]
mov rcx, rbx
call fcn.18037edb0
mov byte [rdi + rbx], 0
mov rdi, qword [rsp + 0x48]
lea rdx, str.CD_DVD_drive
lea rcx, [rsp + 0x58]
call fcn.18001d070
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.18017e980
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
lea rbx, [0x180660020]
cmp rcx, rbx
je 0x18028e06a
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e06a
call fcn.18011d9c0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1801936e0
mov dl, 0x5d
mov rcx, rax
call fcn.18017cc00
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rbx
je 0x18028e0a4
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e0a4
call fcn.18011d9c0
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rbx
lea rax, [rbx - 0x10]
lea rcx, [0x180660020]
cmp rax, rcx
je 0x18028e0c6
lock inc dword [rax]
mov rbx, qword [rsp + 0x68]
mov eax, dword [r14 + 0xc]
inc eax
cmp eax, dword [r14 + 8]
jle 0x18028e0ed
mov ecx, eax
test eax, eax
jns 0x18028e0db
lea ecx, [rax + 1]
sar ecx, 1
lea edx, [rax + 8]
add edx, ecx
and edx, 0xfffffff8
mov rcx, r14
call fcn.18000c670
movsxd rcx, dword [r14 + 0xc]
lea eax, [rcx + 1]
mov dword [r14 + 0xc], eax
mov rax, qword [r14]
mov qword [rax + rcx*8], rbx
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff0
lea rax, [0x180660020]
cmp rcx, rax
je 0x18028e126
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e126
call fcn.18011d9c0
add r12, 8
sub rdi, 1
mov qword [rsp + 0x48], rdi
jne 0x18028dd92
lea rdi, [0x180660020]
mov ecx, dword [r15 + 0xc]
inc ecx
cmp ecx, dword [r15 + 8]
jle 0x18028e163
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r15
call fcn.18000c670
movsxd rcx, dword [r15 + 0xc]
lea eax, [rcx + 1]
mov dword [r15 + 0xc], eax
mov rax, qword [r15]
lea r12, [0x180660030]
mov qword [rax + rcx*8], r12
mov ecx, dword [r14 + 0xc]
inc ecx
cmp ecx, dword [r14 + 8]
jle 0x18028e19f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r14
call fcn.18000c670
movsxd rcx, dword [r14 + 0xc]
lea eax, [rcx + 1]
mov dword [r14 + 0xc], eax
mov rax, qword [r14]
mov qword [rax + rcx*8], r12
xor r9d, r9d
mov r8d, 5
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x18028e20b
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.18001d210
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.18018e080
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18028e210
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e210
call fcn.18011d9c0
jmp 0x18028e210
mov qword [rsp + 0x48], r12
mov rbx, qword [rsp + 0x48]
add rbx, 0xfffffffffffffff0
cmp rbx, rdi
je 0x18028e221
lock inc dword [rbx]
mov ecx, dword [r15 + 0xc]
inc ecx
cmp ecx, dword [r15 + 8]
jle 0x18028e244
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r15
call fcn.18000c670
movsxd rcx, dword [r15 + 0xc]
lea eax, [rcx + 1]
mov dword [r15 + 0xc], eax
mov rax, qword [r15]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x48]
mov qword [rdx], rax
cmp rbx, rdi
je 0x18028e278
mov eax, esi
lock xadd dword [rbx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e278
mov rcx, rbx
call fcn.18011d9c0
lea rdx, str.Documents
lea rcx, [rsp + 0x40]
call fcn.18001d070
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.18017e980
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18028e2ba
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e2ba
call fcn.18011d9c0
mov ecx, dword [r14 + 0xc]
inc ecx
cmp ecx, dword [r14 + 8]
jle 0x18028e2dd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r14
call fcn.18000c670
movsxd rcx, dword [r14 + 0xc]
lea eax, [rcx + 1]
mov dword [r14 + 0xc], eax
mov rax, qword [r14]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x58]
mov qword [rdx], rax
xor r9d, r9d
mov r8d, SafeArrayGetDim
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x18028e351
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.18001d210
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.18018e080
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18028e356
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e356
call fcn.18011d9c0
jmp 0x18028e356
mov qword [rsp + 0x48], r12
mov rbx, qword [rsp + 0x48]
add rbx, 0xfffffffffffffff0
cmp rbx, rdi
je 0x18028e367
lock inc dword [rbx]
mov ecx, dword [r15 + 0xc]
inc ecx
cmp ecx, dword [r15 + 8]
jle 0x18028e38a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r15
call fcn.18000c670
movsxd rcx, dword [r15 + 0xc]
lea eax, [rcx + 1]
mov dword [r15 + 0xc], eax
mov rax, qword [r15]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x48]
mov qword [rdx], rax
cmp rbx, rdi
je 0x18028e3be
mov eax, esi
lock xadd dword [rbx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e3be
mov rcx, rbx
call fcn.18011d9c0
lea rdx, str.Music
lea rcx, [rsp + 0x40]
call fcn.18001d070
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.18017e980
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18028e400
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e400
call fcn.18011d9c0
mov ecx, dword [r14 + 0xc]
inc ecx
cmp ecx, dword [r14 + 8]
jle 0x18028e423
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r14
call fcn.18000c670
movsxd rcx, dword [r14 + 0xc]
lea eax, [rcx + 1]
mov dword [r14 + 0xc], eax
mov rax, qword [r14]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x58]
mov qword [rdx], rax
xor r9d, r9d
mov r8d, 0x27
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x18028e497
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.18001d210
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.18018e080
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18028e49c
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e49c
call fcn.18011d9c0
jmp 0x18028e49c
mov qword [rsp + 0x48], r12
mov rbx, qword [rsp + 0x48]
add rbx, 0xfffffffffffffff0
cmp rbx, rdi
je 0x18028e4ad
lock inc dword [rbx]
mov ecx, dword [r15 + 0xc]
inc ecx
cmp ecx, dword [r15 + 8]
jle 0x18028e4d0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r15
call fcn.18000c670
movsxd rcx, dword [r15 + 0xc]
lea eax, [rcx + 1]
mov dword [r15 + 0xc], eax
mov rax, qword [r15]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x48]
mov qword [rdx], rax
cmp rbx, rdi
je 0x18028e504
mov eax, esi
lock xadd dword [rbx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e504
mov rcx, rbx
call fcn.18011d9c0
lea rdx, str.Pictures
lea rcx, [rsp + 0x40]
call fcn.18001d070
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.18017e980
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18028e546
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e546
call fcn.18011d9c0
mov ecx, dword [r14 + 0xc]
inc ecx
cmp ecx, dword [r14 + 8]
jle 0x18028e569
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r14
call fcn.18000c670
movsxd rcx, dword [r14 + 0xc]
lea eax, [rcx + 1]
mov dword [r14 + 0xc], eax
mov rax, qword [r14]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x58]
mov qword [rdx], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x18028e5da
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.18001d210
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.18018e080
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18028e5df
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e5df
call fcn.18011d9c0
jmp 0x18028e5df
mov qword [rsp + 0x48], r12
mov rbx, qword [rsp + 0x48]
add rbx, 0xfffffffffffffff0
cmp rbx, rdi
je 0x18028e5f0
lock inc dword [rbx]
mov ecx, dword [r15 + 0xc]
inc ecx
cmp ecx, dword [r15 + 8]
jle 0x18028e613
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r15
call fcn.18000c670
movsxd rcx, dword [r15 + 0xc]
lea eax, [rcx + 1]
mov dword [r15 + 0xc], eax
mov rax, qword [r15]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x48]
mov qword [rdx], rax
cmp rbx, rdi
je 0x18028e647
mov eax, esi
lock xadd dword [rbx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18028e647
mov rcx, rbx
call fcn.18011d9c0
lea rdx, str.Desktop
lea rcx, [rsp + 0x40]
call fcn.18001d070
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.18017e980
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18028e687
lock xadd dword [rcx], esi
dec esi
cmp esi, 0xffffffff
jne 0x18028e687
call fcn.18011d9c0
mov ecx, dword [r14 + 0xc]
inc ecx
cmp ecx, dword [r14 + 8]
jle 0x18028e6aa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r14
call fcn.18000c670
movsxd rcx, dword [r14 + 0xc]
lea eax, [rcx + 1]
mov dword [r14 + 0xc], eax
mov rax, qword [r14]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x58]
mov qword [rdx], rax
lea rcx, [rsp + 0x78]
call fcn.180009780
mov rcx, qword [rsp + 0x78]
call fcn.180124068
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.18011d9a0
mov rbx, qword [rsp + 0x590]
add rsp, 0x540
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret