Function at 0x180033e80
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 [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x950], rbx
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov r14, rdx
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov qword [rbp - 0x80], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
test rdx, rdx
jne 0x180033f5a
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r12
mov word [rcx], r12w
cmp qword [rbp - 0x58], 8
jae 0x180033f1f
mov r8, qword [rbp - 0x60]
inc r8
je 0x180033f34
add r8, r8
lea rdx, [rbp - 0x70]
call fcn.180139340
jmp 0x180033f34
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov rax, qword [rbp - 0x70]
mov qword [rcx], rax
mov qword [rbp - 0x70], r12
mov rax, qword [rbp - 0x60]
mov qword [rsi + 0x10], rax
mov rax, qword [rbp - 0x58]
mov qword [rsi + 0x18], rax
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
jmp 0x180034602
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
mov r8d, 0xc
lea rdx, str.Kernel32.dll
lea rcx, [rsp + 0x60]
call fcn.180005920
nop
mov eax, dword [0x18034db90]
test al, 1
jne 0x180033fbe
or eax, 1
mov dword [0x18034db90], eax
xor eax, eax
mov qword [0x18034db88], rax
call fcn.180064890
lea rcx, [0x180197b50]
call fcn.180139aec
nop
lea rdx, [rsp + 0x60]
lea rcx, [0x18034db88]
call fcn.180064a80
mov rdi, rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x78], 8
jb 0x180033fe9
mov rcx, qword [rsp + 0x60]
call fcn.180139b7c
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
mov r8d, 9
lea rdx, str.Psapi.dll
lea rcx, [rsp + 0x40]
call fcn.180005920
nop
mov eax, dword [0x18034db90]
test al, 1
jne 0x180034061
or eax, 1
mov dword [0x18034db90], eax
xor eax, eax
mov qword [0x18034db88], rax
call fcn.180064890
lea rcx, [0x180197b50]
call fcn.180139aec
nop
lea rdx, [rsp + 0x40]
lea rcx, [0x18034db88]
call fcn.180064a80
mov rbx, rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x58], 8
jb 0x18003408c
mov rcx, qword [rsp + 0x40]
call fcn.180139b7c
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
test rbx, rbx
je 0x18003459b
test rdi, rdi
je 0x18003459b
call fcn.180031d80
or r15, 0xffffffffffffffff
test al, al
je 0x18003415e
lea rdx, str.QueryFullProcessImageNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180034159
mov word [rbp - 0x10], r12w
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0xe]
call fcn.180140c00
mov dword [rbp - 0x50], 0x208
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, r14
call rbx
test eax, eax
je 0x180034159
mov eax, dword [rbp - 0x50]
cmp eax, 0x208
jae 0x18003412e
add rax, rax
cmp rax, 0x412
jae 0x180034128
mov word [rbp + rax - 0x10], r12w
jmp 0x18003412e
call fcn.18013a820
int3
cmp word [rbp - 0x10], 0
jne 0x18003413a
mov r8, r12
jmp 0x18003414c
lea rax, [rbp - 0x10]
mov r8, r15
inc r8
cmp word [rax + r8*2], 0
jne 0x180034141
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.180005920
mov rbx, qword [rsp + 0x38]
cmp qword [rbp - 0x60], 0
jne 0x180034503
lea rdx, str.GetProcessImageFileNameW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x180034199
lea rdx, str.GetProcessImageFileNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180034210
mov word [rbp - 0x10], r12w
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0xe]
call fcn.180140c00
mov r8d, 0x208
lea rdx, [rbp - 0x10]
mov rcx, r14
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x180034210
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x18003420a
mov word [rbp + rax - 0x10], r12w
cmp word [rbp - 0x10], 0
jne 0x1800341e8
mov r8, r12
jmp 0x1800341fb
lea rax, [rbp - 0x10]
mov r8, r15
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1800341f0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.180005920
jmp 0x180034210
call fcn.18013a820
int3
cmp qword [rbp - 0x60], 0
je 0x180034451
mov ecx, 0x410
call fcn.180112448
mov r14, rax
xor edx, edx
mov r8d, 0x410
mov rcx, rax
call fcn.180140c00
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
lea rdx, [rbp - 0x10]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x180034275
mov r8d, eax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x48]
call fcn.18006ac20
mov rdi, qword [rbp - 0x40]
mov r13, rdi
mov rax, qword [rbp - 0x48]
sub r13, rax
sar r13, 5
test r13, r13
je 0x1800343e0
mov rdi, rax
cmp qword [rdi + 0x10], 3
jb 0x1800342c9
mov rcx, qword [rdi + 0x18]
cmp rcx, 8
jb 0x1800342a9
mov rax, qword [rdi]
jmp 0x1800342ac
mov rax, rdi
cmp word [rax + 4], 0x5c
jne 0x1800342c9
cmp rcx, 8
jb 0x1800342be
mov rax, qword [rdi]
jmp 0x1800342c1
mov rax, rdi
xor ebx, ebx
mov word [rax + 4], bx
jmp 0x1800342cb
xor ebx, ebx
cmp qword [rdi + 0x18], 8
jb 0x1800342d7
mov rcx, qword [rdi]
jmp 0x1800342da
mov rcx, rdi
mov r8d, 0x208
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x1800342f1
mov word [r14], bx
mov rbx, r15
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x1800342f4
test ebx, ebx
je 0x180034326
mov r8d, ebx
cmp r8, qword [rbp - 0x60]
jae 0x180034326
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov rdx, r14
call fcn.18013a550
test eax, eax
je 0x18003433b
inc r12
add rdi, 0x20
cmp r12, r13
jae 0x1800343dc
jmp 0x180034293
xor r12d, r12d
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
cmp qword [rdi + 0x18], 8
jb 0x18003436f
mov rdi, qword [rdi]
mov eax, ebx
lea r9, [rcx + rax*2]
mov r8, rdi
lea rdx, str._s_s
lea rcx, [rbp - 0x30]
call fcn.180022b70
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.180013610
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x20], rcx
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x18], rcx
cmp qword [rbp - 0x18], 8
jb 0x1800343c5
mov rcx, qword [rbp - 0x30]
call fcn.180139b7c
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
mov rdi, qword [rbp - 0x40]
jmp 0x1800343e3
mov rdi, qword [rbp - 0x40]
xor r12d, r12d
mov rcx, r14
call fcn.18013a400
nop
mov r14, qword [rbp - 0x48]
test r14, r14
je 0x18003443c
mov rbx, r14
cmp r14, rdi
je 0x180034428
nop dword [rax]
cmp qword [rbx + 0x18], 8
jb 0x18003440f
mov rcx, qword [rbx]
call fcn.180139b7c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
add rbx, 0x20
cmp rbx, rdi
jne 0x180034400
mov rcx, r14
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
cmp qword [rbp - 0x60], 0
jne 0x180034503
mov rdi, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
lea rdx, str.GetModuleFileNameExW
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x180034487
lea rdx, str.GetModuleFileNameExW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180034503
mov word [rbp - 0x10], r12w
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0xe]
call fcn.180140c00
mov r9d, 0x208
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, r14
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x180034503
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x1800344fd
mov word [rbp + rax - 0x10], r12w
cmp word [rbp - 0x10], 0
jne 0x1800344d8
mov r15, r12
jmp 0x1800344eb
lea rax, [rbp - 0x10]
nop dword [rax]
inc r15
cmp word [rax + r15*2], 0
jne 0x1800344e0
mov r8, r15
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.180005920
jmp 0x180034503
call fcn.18013a820
int3
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1800295c0
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x18003454b
cmp qword [rbp - 0x58], 8
jb 0x18003452d
mov rcx, qword [rbp - 0x70]
call fcn.180139b7c
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180005250
nop
cmp qword [rsp + 0x58], 8
jb 0x18003455d
mov rcx, qword [rsp + 0x40]
call fcn.180139b7c
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r12
mov word [rsi], r12w
cmp qword [rbp - 0x58], 8
jb 0x1800345b2
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov rax, qword [rbp - 0x70]
mov qword [rsi], rax
jmp 0x1800345dd
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r12
mov word [rsi], r12w
cmp qword [rbp - 0x58], 8
jae 0x1800345cc
mov r8, qword [rbp - 0x60]
inc r8
je 0x1800345e1
add r8, r8
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.180139340
jmp 0x1800345e1
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov rax, qword [rbp - 0x70]
mov qword [rsi], rax
mov qword [rbp - 0x70], r12
mov rax, qword [rbp - 0x60]
mov qword [rsi + 0x10], rax
mov rax, qword [rbp - 0x58]
mov word [rbp - 0x70], r12w
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov qword [rsi + 0x18], rax
mov dword [rsp + 0x20], 1
cmp qword [rbp - 0x58], 8
jb 0x18003461a
mov rcx, qword [rbp - 0x70]
call fcn.180139b7c
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
mov rax, rsi
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x950]
add rsp, 0x900
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret