Function at 0x14006a440
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 - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x950], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov r14, rdx
mov qword [rsp + 0x78], rdx
mov rsi, rcx
mov qword [rbp - 0x78], rcx
xor r12d, r12d
mov dword [rsp + 0x24], 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 0x14006a51d
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r12
mov word [rcx], r12w
mov rbx, qword [rbp - 0x58]
cmp rbx, 8
jae 0x14006a4e6
mov r8, qword [rbp - 0x60]
inc r8
je 0x14006a4fb
add r8, r8
lea rdx, [rbp - 0x70]
call fcn.1400bcb10
mov rbx, qword [rbp - 0x58]
jmp 0x14006a4fb
lea r8, [rbp - 0x70]
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140006f90
mov qword [rbp - 0x70], r12
mov rax, qword [rbp - 0x60]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rbx
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
jmp 0x14006ab4b
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
mov r8d, 0xc
lea rdx, str.Kernel32.dll
lea rcx, [rsp + 0x50]
call fcn.140006900
nop
call fcn.14007a6e0
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.14007a790
mov rdi, rax
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x68], 8
jb 0x14006a57f
mov rcx, qword [rsp + 0x50]
call fcn.1400bd20c
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
mov r8d, 9
lea rdx, str.Psapi.dll
lea rcx, [rsp + 0x30]
call fcn.140006900
nop
call fcn.14007a6e0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14007a790
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x48], 8
jb 0x14006a5f5
mov rcx, qword [rsp + 0x30]
call fcn.1400bd20c
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
test rbx, rbx
je 0x14006aae1
test rdi, rdi
je 0x14006aae1
call fcn.140068620
or r15, 0xffffffffffffffff
test al, al
je 0x14006a6cd
lea rdx, str.QueryFullProcessImageNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14006a6c8
mov word [rbp - 0x10], r12w
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0xe]
call fcn.1400c2130
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 0x14006a6c8
mov eax, dword [rbp - 0x50]
cmp eax, 0x208
jae 0x14006a69b
add rax, rax
cmp rax, 0x412
jae 0x14006a695
mov word [rbp + rax - 0x10], r12w
jmp 0x14006a69b
call fcn.1400bedf0
int3
cmp word [rbp - 0x10], 0
jne 0x14006a6a7
mov r8, r12
jmp 0x14006a6bb
lea rax, [rbp - 0x10]
mov r8, r15
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14006a6b0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140006900
mov rbx, qword [rsp + 0x28]
cmp qword [rbp - 0x60], 0
jne 0x14006aa73
lea rdx, str.GetProcessImageFileNameW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x14006a708
lea rdx, str.GetProcessImageFileNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14006a780
mov word [rbp - 0x10], r12w
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0xe]
call fcn.1400c2130
mov r8d, 0x208
lea rdx, [rbp - 0x10]
mov rcx, r14
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x14006a780
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x14006a77a
mov word [rbp + rax - 0x10], r12w
cmp word [rbp - 0x10], 0
jne 0x14006a757
mov r8, r12
jmp 0x14006a76b
lea rax, [rbp - 0x10]
mov r8, r15
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14006a760
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140006900
jmp 0x14006a780
call fcn.1400bedf0
int3
cmp qword [rbp - 0x60], 0
je 0x14006a9c1
mov ecx, 0x410
call fcn.1400bbc88
mov r14, rax
xor edx, edx
mov r8d, 0x410
mov rcx, rax
call fcn.1400c2130
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 0x14006a7e5
mov r8d, eax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x48]
call fcn.14007eeb0
mov rdi, qword [rbp - 0x40]
mov r13, rdi
mov rax, qword [rbp - 0x48]
sub r13, rax
sar r13, 5
test r13, r13
je 0x14006a950
mov rdi, rax
cmp qword [rdi + 0x10], 3
jb 0x14006a839
mov rcx, qword [rdi + 0x18]
cmp rcx, 8
jb 0x14006a819
mov rax, qword [rdi]
jmp 0x14006a81c
mov rax, rdi
cmp word [rax + 4], 0x5c
jne 0x14006a839
cmp rcx, 8
jb 0x14006a82e
mov rax, qword [rdi]
jmp 0x14006a831
mov rax, rdi
xor ebx, ebx
mov word [rax + 4], bx
jmp 0x14006a83b
xor ebx, ebx
cmp qword [rdi + 0x18], 8
jb 0x14006a847
mov rcx, qword [rdi]
jmp 0x14006a84a
mov rcx, rdi
mov r8d, 0x208
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x14006a861
mov word [r14], bx
mov rbx, r15
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x14006a864
test ebx, ebx
je 0x14006a896
mov r8d, ebx
cmp r8, qword [rbp - 0x60]
jae 0x14006a896
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov rdx, r14
call fcn.1400c1358
test eax, eax
je 0x14006a8ab
inc r12
add rdi, 0x20
cmp r12, r13
jae 0x14006a94c
jmp 0x14006a803
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 0x14006a8df
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.140061ab0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.14006af60
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 0x14006a935
mov rcx, qword [rbp - 0x30]
call fcn.1400bd20c
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
mov rdi, qword [rbp - 0x40]
jmp 0x14006a953
mov rdi, qword [rbp - 0x40]
xor r12d, r12d
mov rcx, r14
call fcn.1400bd2dc
nop
mov r14, qword [rbp - 0x48]
test r14, r14
je 0x14006a9ac
mov rbx, r14
cmp r14, rdi
je 0x14006a998
nop dword [rax]
cmp qword [rbx + 0x18], 8
jb 0x14006a97f
mov rcx, qword [rbx]
call fcn.1400bd20c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
add rbx, 0x20
cmp rbx, rdi
jne 0x14006a970
mov rcx, r14
call fcn.1400bd20c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
cmp qword [rbp - 0x60], 0
jne 0x14006aa73
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
lea rdx, str.GetModuleFileNameExW
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x14006a9f7
lea rdx, str.GetModuleFileNameExW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14006aa73
mov word [rbp - 0x10], r12w
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0xe]
call fcn.1400c2130
mov r9d, 0x208
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, r14
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x14006aa73
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x14006aa6d
mov word [rbp + rax - 0x10], r12w
cmp word [rbp - 0x10], 0
jne 0x14006aa48
mov r15, r12
jmp 0x14006aa5b
lea rax, [rbp - 0x10]
nop dword [rax]
inc r15
cmp word [rax + r15*2], 0
jne 0x14006aa50
mov r8, r15
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140006900
jmp 0x14006aa73
call fcn.1400bedf0
int3
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140062f60
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x14006aabb
cmp qword [rbp - 0x58], 8
jb 0x14006aa9d
mov rcx, qword [rbp - 0x70]
call fcn.1400bd20c
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14000b0c0
nop
cmp qword [rsp + 0x48], 8
jb 0x14006aacd
mov rcx, qword [rsp + 0x30]
call fcn.1400bd20c
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r12
mov word [rsi], r12w
mov rbx, qword [rbp - 0x58]
cmp rbx, 8
jae 0x14006ab19
mov r8, qword [rbp - 0x60]
inc r8
je 0x14006ab2e
add r8, r8
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.1400bcb10
mov rbx, qword [rbp - 0x58]
jmp 0x14006ab2e
lea r8, [rbp - 0x70]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140006f90
mov qword [rbp - 0x70], r12
mov rax, qword [rbp - 0x60]
mov word [rbp - 0x70], r12w
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x10], rax
mov dword [rsp + 0x24], 1
cmp qword [rbp - 0x58], 8
jb 0x14006ab63
mov rcx, qword [rbp - 0x70]
call fcn.1400bd20c
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.1400bcae0
mov rbx, qword [rsp + 0x950]
add rsp, 0x900
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret