Function at 0x18005a2a0
Capabilities:
Get disk information
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x800]
sub rsp, 0x900
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x950], rbx
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rsi, rdx
mov qword [rsp + 0x28], rdx
mov r13, rcx
mov qword [rsp + 0x68], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rcx, [rbp - 0x68]
call fcn.180005bfc
nop
test rsi, rsi
jne 0x18005a315
lea rdx, [rbp - 0x68]
mov rcx, r13
call fcn.180005eac
jmp 0x18005a793
lea rdx, str.Kernel32.dll
lea rcx, [rsp + 0x70]
call fcn.180005ef8
nop
call fcn.18005e290
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.18005e330
mov rdi, rax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x70]
call fcn.180005bf4
lea rdx, str.Psapi.dll
lea rcx, [rsp + 0x40]
call fcn.180005ef8
nop
call fcn.18005e290
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.18005e330
mov r14, rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.180005bf4
test r14, r14
je 0x18005a787
test rdi, rdi
je 0x18005a787
lea rcx, [rbp - 0x10]
call fcn.180054360
cmp dword [rbp - 0xc], 6
jb 0x18005a41d
lea rdx, str.QueryFullProcessImageNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x18005a41d
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp - 0x10]
call fcn.18008a090
mov dword [rbp - 0x70], 0x208
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, rsi
call rbx
test eax, eax
je 0x18005a41d
mov eax, dword [rbp - 0x70]
cmp eax, 0x208
jae 0x18005a404
add rax, rax
cmp rax, 0x412
jae 0x18005a7dd
mov word [rbp + rax - 0x10], r15w
lea rcx, [rbp - 0x10]
call fcn.180006330
mov r8, rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x68]
call fcn.180006098
lea rcx, [rbp - 0x68]
call fcn.180005e24
test al, al
je 0x18005a6c3
lea rdx, str.GetProcessImageFileNameW
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x18005a45e
lea rdx, str.GetProcessImageFileNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x18005a4bc
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp - 0x10]
call fcn.18008a090
mov r8d, 0x208
lea rdx, [rbp - 0x10]
mov rcx, rsi
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x18005a4bc
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x18005a7d1
xor ebx, ebx
mov word [rbp + rax - 0x10], bx
lea rcx, [rbp - 0x10]
call fcn.180006330
mov r8, rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x68]
call fcn.180006098
jmp 0x18005a4be
xor ebx, ebx
lea rcx, [rbp - 0x68]
call fcn.180005e24
test al, al
jne 0x18005a6c0
mov ecx, 0x410
call fcn.180086e04
mov rdi, rax
xor edx, edx
mov r8d, 0x410
mov rcx, rax
call fcn.18008a090
lea rcx, [rbp - 0x48]
call fcn.180007360
lea rcx, [rbp - 0x48]
call fcn.180005e10
nop
lea rdx, [rbp - 0x10]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x18005a522
mov r8d, eax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x48]
call fcn.18006b0b0
mov r12, rbx
lea rcx, [rbp - 0x48]
call fcn.180006c48
test rax, rax
je 0x18005a6a9
lea rcx, [rbp - 0x48]
call fcn.180005c20
mov qword [rbp - 0x70], rax
mov r15, rbx
nop word [rax + rax]
mov rsi, qword [rax]
add rsi, r15
mov rcx, rsi
call fcn.180006090
cmp rax, 3
jb 0x18005a590
mov rcx, rsi
call fcn.180005c20
mov rcx, rax
mov rdx, qword [rax + 0x18]
cmp rdx, 8
jb 0x18005a57c
mov rcx, qword [rax]
cmp word [rcx + 4], 0x5c
jne 0x18005a590
cmp rdx, 8
jb 0x18005a58c
mov rax, qword [rax]
mov word [rax + 4], bx
mov rcx, rsi
call fcn.180005be4
mov rcx, rax
mov r8d, 0x208
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x18005a5b1
mov word [rdi], bx
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x18005a5c0
test ebx, ebx
je 0x18005a5fa
mov r14d, ebx
lea rcx, [rbp - 0x68]
call fcn.180006090
cmp r14, rax
jae 0x18005a5fa
lea rcx, [rbp - 0x68]
call fcn.180005be4
mov rcx, rax
mov r8d, r14d
mov rdx, rdi
call fcn.180094cdc
test eax, eax
je 0x18005a61e
inc r12
add r15, 0x20
lea rcx, [rbp - 0x48]
call fcn.180006c48
cmp r12, rax
jae 0x18005a69f
mov rax, qword [rbp - 0x70]
xor ebx, ebx
jmp 0x18005a550
lea rcx, [rbp - 0x30]
call fcn.180005bfc
nop
lea rcx, [rbp - 0x68]
call fcn.180005be4
mov ecx, ebx
lea rbx, [rax + rcx*2]
mov rcx, rsi
call fcn.180005be4
mov r8, rax
mov r9, rbx
lea rdx, str._s_s
lea rcx, [rbp - 0x30]
call fcn.180055100
lea rcx, [rbp - 0x68]
call fcn.180005c20
mov rcx, rax
call fcn.180005c20
mov rbx, rax
lea rcx, [rbp - 0x30]
call fcn.180005c20
mov rcx, rax
call fcn.180005c20
movups xmm2, xmmword [rbx]
movups xmm3, xmmword [rbx + 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rax], xmm2
movups xmmword [rax + 0x10], xmm3
lea rcx, [rbp - 0x30]
call fcn.180005bf4
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rcx, rdi
call fcn.1800862a4
nop
lea rcx, [rbp - 0x48]
call fcn.180005dfc
mov rdi, qword [rsp + 0x38]
xor r15d, r15d
lea rcx, [rbp - 0x68]
call fcn.180005e24
test al, al
je 0x18005a761
lea rdx, str.GetModuleFileNameExW
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x18005a704
lea rdx, str.GetModuleFileNameExW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x18005a761
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp - 0x10]
call fcn.18008a090
mov r9d, 0x208
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, rsi
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x18005a761
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x18005a7d7
mov word [rbp + rax - 0x10], r15w
lea rcx, [rbp - 0x10]
call fcn.180006330
mov r8, rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x68]
call fcn.180006098
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x40]
call fcn.180056470
nop
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.180005e60
nop
lea rcx, [rsp + 0x40]
call fcn.180005bf4
lea rdx, [rbp - 0x68]
mov rcx, r13
call fcn.180005eac
mov dword [rsp + 0x20], 1
lea rcx, [rbp - 0x68]
call fcn.180005bf4
mov rax, r13
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.180086280
mov rbx, qword [rsp + 0x950]
add rsp, 0x900
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800863bc
int3
call fcn.1800863bc
int3
call fcn.1800863bc
int3