Function at 0x140017e40
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 - 0x820]
sub rsp, 0x920
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x970], rbx
mov rax, qword [0x14011c018]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov r12, rdx
mov qword [rsp + 0x58], rdx
mov r13, rcx
mov qword [rbp - 0x78], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x50]
call fcn.140001fec
nop
test r12, r12
jne 0x140017eb1
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.140002e18
jmp 0x14001876a
lea rdx, str.Kernel32.dll
lea rcx, [rbp - 0x70]
call fcn.140001c78
nop
call fcn.1400161e0
mov rcx, rax
lea rdx, [rbp - 0x70]
call fcn.140016280
mov r15, rax
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x70]
call fcn.140001c70
lea rdx, str.Psapi.dll
lea rcx, [rsp + 0x60]
call fcn.140001c78
nop
call fcn.1400161e0
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140016280
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x60]
call fcn.140001c70
test rbx, rbx
je 0x14001875e
test r15, r15
je 0x14001875e
lea rcx, [rbp + 0x10]
call fcn.14000b160
cmp dword [rbp + 0x14], 6
jb 0x140018182
lea rdx, str.QueryFullProcessImageNameW
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14001817d
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x10]
call fcn.1400a2390
mov dword [rbp - 0x30], 0x208
lea r9, [rbp - 0x30]
lea r8, [rbp + 0x10]
xor edx, edx
mov rcx, r12
call rbx
test eax, eax
je 0x14001817d
mov eax, dword [rbp - 0x30]
cmp eax, 0x208
jae 0x140017fa8
add rax, rax
cmp rax, 0x412
jae 0x140018931
mov word [rbp + rax + 0x10], di
lea rcx, [rbp + 0x10]
call fcn.140001de4
mov rsi, rax
lea rcx, [rbp - 0x50]
call fcn.140001ca0
mov rdi, rax
mov r14, qword [rax + 0x18]
cmp rsi, r14
ja 0x140018002
mov rbx, rax
cmp r14, 8
jb 0x140017fd5
mov rbx, qword [rax]
mov qword [rax + 0x10], rsi
mov r8, rsi
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140001ddc
xor edi, edi
mov word [rsp + 0x20], di
lea rcx, [rbx + rsi*2]
lea rdx, [rsp + 0x20]
call fcn.140001dd4
jmp 0x14001817d
lea rcx, [rbp - 0x50]
call fcn.140001f74
cmp rsi, rax
ja 0x140018937
lea rcx, [rbp - 0x50]
call fcn.140001f74
mov rbx, rax
lea rcx, [rbp - 0x50]
call fcn.140001ca0
mov rcx, rsi
or rcx, 7
mov qword [rsp + 0x48], rcx
cmp rcx, rbx
ja 0x14001806a
mov rdx, qword [rax + 0x18]
mov rcx, rdx
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdx, rax
ja 0x14001806a
lea rax, [rcx + rdx]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140001d84
mov rbx, qword [rax]
lea rax, [rbx + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x14001808d
mov rax, 0xffffffffffffffff
mov rdx, rax
jmp 0x14001809d
cmp rdx, 0x1000
jb 0x1400180c7
mov rax, 0xffffffffffffffff
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, rax
call fcn.1400a08c4
mov rcx, rax
test rax, rax
je 0x14001893d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400180d8
test rdx, rdx
je 0x1400180d6
mov rcx, rdx
call fcn.1400a08c4
jmp 0x1400180d8
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbx
mov rbx, qword [rsp + 0x28]
mov r8, rsi
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140001ddc
xor eax, eax
mov word [rsp + 0x20], ax
lea rcx, [rbx + rsi*2]
lea rdx, [rsp + 0x20]
call fcn.140001dd4
cmp r14, 8
jb 0x140018153
mov rcx, qword [rdi]
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x140018144
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140018943
mov rcx, r8
call fcn.1400a0900
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
jmp 0x14001817b
mov rcx, rdi
call fcn.140001ca0
mov rdx, rax
mov ecx, 8
call fcn.140001bf0
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140001ca0
mov rcx, qword [rax]
mov qword [rbx], rcx
xor edi, edi
mov rbx, qword [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140002da0
test al, al
je 0x140018652
lea rdx, str.GetProcessImageFileNameW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400181c7
lea rdx, str.GetProcessImageFileNameW
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140018261
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x10]
call fcn.1400a2390
mov r8d, 0x208
lea rdx, [rbp + 0x10]
mov rcx, r12
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x140018261
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x14001895b
mov word [rbp + rax + 0x10], di
lea rcx, [rbp + 0x10]
call fcn.140001de4
mov rsi, rax
lea rcx, [rbp - 0x50]
call fcn.140001ca0
mov rdi, rax
mov r14, qword [rax + 0x18]
cmp rsi, r14
ja 0x1400183bd
mov rbx, rax
cmp r14, 8
jb 0x140018239
mov rbx, qword [rax]
mov qword [rax + 0x10], rsi
mov r8, rsi
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140001ddc
xor eax, eax
mov word [rsp + 0x20], ax
lea rcx, [rbx + rsi*2]
lea rdx, [rsp + 0x20]
call fcn.140001dd4
lea rcx, [rbp - 0x50]
call fcn.140002da0
test al, al
jne 0x140018652
mov ecx, 0x410
call fcn.1400a10cc
mov rdi, rax
xor edx, edx
mov r8d, 0x410
mov rcx, rax
call fcn.1400a2390
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
xor ebx, ebx
mov qword [rbp - 0x18], rbx
lea rdx, [rbp + 0x10]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1400182ce
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x28]
call fcn.14001c1a0
mov r12, rbx
lea rcx, [rbp - 0x28]
call fcn.140002d00
test rax, rax
je 0x1400185c4
mov r15, rbx
nop word [rax + rax]
mov r14, qword [rbp - 0x28]
add r14, r15
mov rcx, r14
call fcn.140002db0
cmp rax, 3
jb 0x140018331
mov rcx, r14
call fcn.140001ca0
mov rcx, rax
mov rdx, qword [rax + 0x18]
cmp rdx, 8
jb 0x14001831d
mov rcx, qword [rax]
cmp word [rcx + 4], 0x5c
jne 0x140018331
cmp rdx, 8
jb 0x14001832d
mov rax, qword [rax]
mov word [rax + 4], bx
mov rcx, r14
call fcn.140001c60
mov rcx, rax
mov r8d, 0x208
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x140018352
mov word [rdi], bx
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140018360
test ebx, ebx
je 0x14001839d
mov esi, ebx
lea rcx, [rbp - 0x50]
call fcn.140002db0
cmp rsi, rax
jae 0x14001839d
lea rcx, [rbp - 0x50]
call fcn.140001c60
mov rcx, rax
mov r8d, esi
mov rdx, rdi
call fcn.1400a93d4
test eax, eax
je 0x14001853e
inc r12
add r15, 0x20
lea rcx, [rbp - 0x28]
call fcn.140002d00
cmp r12, rax
jae 0x1400185bf
xor ebx, ebx
jmp 0x1400182f0
lea rcx, [rbp - 0x50]
call fcn.140001f74
cmp rsi, rax
ja 0x140018949
lea rcx, [rbp - 0x50]
call fcn.140001f74
mov rbx, rax
lea rcx, [rbp - 0x50]
call fcn.140001ca0
mov rcx, rsi
or rcx, 7
mov qword [rsp + 0x40], rcx
cmp rcx, rbx
ja 0x140018425
mov rdx, qword [rax + 0x18]
mov rcx, rdx
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdx, rax
ja 0x140018425
lea rax, [rcx + rdx]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140001d84
mov rbx, qword [rax]
lea rax, [rbx + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x140018448
mov rax, 0xffffffffffffffff
mov rdx, rax
jmp 0x140018458
cmp rdx, 0x1000
jb 0x140018482
mov rax, 0xffffffffffffffff
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, rax
call fcn.1400a08c4
mov rcx, rax
test rax, rax
je 0x14001894f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140018493
test rdx, rdx
je 0x140018491
mov rcx, rdx
call fcn.1400a08c4
jmp 0x140018493
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbx
mov rbx, qword [rsp + 0x28]
mov r8, rsi
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140001ddc
xor eax, eax
mov word [rsp + 0x20], ax
lea rcx, [rbx + rsi*2]
lea rdx, [rsp + 0x20]
call fcn.140001dd4
cmp r14, 8
jb 0x140018511
mov rcx, qword [rdi]
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1400184ff
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140018955
mov rcx, r8
call fcn.1400a0900
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
jmp 0x140018261
mov rcx, rdi
call fcn.140001ca0
mov rdx, rax
mov ecx, 8
call fcn.140001bf0
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140001ca0
mov rcx, qword [rax]
mov qword [rbx], rcx
jmp 0x140018261
lea rcx, [rbp - 0x10]
call fcn.140001fec
nop
lea rcx, [rbp - 0x50]
call fcn.140001c60
mov ecx, ebx
lea rbx, [rax + rcx*2]
mov rcx, r14
call fcn.140001c60
mov r8, rax
mov r9, rbx
lea rdx, str._s_s
lea rcx, [rbp - 0x10]
call fcn.1400069c0
lea rcx, [rbp - 0x50]
call fcn.140001ca0
mov rcx, rax
call fcn.140001ca0
mov rbx, rax
lea rcx, [rbp - 0x10]
call fcn.140001ca0
mov rcx, rax
call fcn.140001ca0
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 - 0x10]
call fcn.140001c70
mov r15, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1400a0900
nop
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x14001864d
mov rdi, qword [rbp - 0x20]
cmp rbx, rdi
je 0x1400185f5
nop
mov rcx, rbx
call fcn.140001c70
add rbx, 0x20
cmp rbx, rdi
jne 0x1400185e0
mov rbx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.140001ca0
mov rdx, qword [rax + 0x10]
lea rcx, [rbp - 0x28]
call fcn.140001ca0
sub rdx, qword [rax]
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140018637
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018961
mov rcx, rbx
call fcn.1400a0900
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
xor eax, eax
mov qword [rbp - 0x18], rax
mov r12, qword [rsp + 0x58]
lea rcx, [rbp - 0x50]
call fcn.140002da0
test al, al
je 0x140018738
lea rdx, str.GetModuleFileNameExW
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x140018699
lea rdx, str.GetModuleFileNameExW
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140018738
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x10]
call fcn.1400a2390
mov r9d, 0x208
lea r8, [rbp + 0x10]
xor edx, edx
mov rcx, r12
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x140018738
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x14001892b
xor r15d, r15d
mov word [rbp + rax + 0x10], r15w
lea rcx, [rbp + 0x10]
call fcn.140001de4
mov rsi, rax
lea rcx, [rbp - 0x50]
call fcn.140001ca0
mov rdi, rax
mov r14, qword [rax + 0x18]
cmp rsi, r14
ja 0x1400187a8
mov rbx, rax
cmp r14, 8
jb 0x140018711
mov rbx, qword [rax]
mov qword [rax + 0x10], rsi
mov r8, rsi
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140001ddc
mov word [rsp + 0x20], r15w
lea rcx, [rbx + rsi*2]
lea rdx, [rsp + 0x20]
call fcn.140001dd4
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.14000f4d0
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140002dcc
nop
lea rcx, [rsp + 0x60]
call fcn.140001c70
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.140002e18
mov dword [rsp + 0x30], 1
lea rcx, [rbp - 0x50]
call fcn.140001c70
mov rax, r13
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.1400a08a0
mov rbx, qword [rsp + 0x970]
add rsp, 0x920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x50]
call fcn.140001f74
cmp rsi, rax
ja 0x140018967
lea rcx, [rbp - 0x50]
call fcn.140001f74
mov rbx, rax
lea rcx, [rbp - 0x50]
call fcn.140001ca0
mov rcx, rsi
or rcx, 7
mov qword [rsp + 0x40], rcx
cmp rcx, rbx
ja 0x140018810
mov rdx, qword [rax + 0x18]
mov rcx, rdx
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdx, rax
ja 0x140018810
lea rax, [rcx + rdx]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140001d84
mov rbx, qword [rax]
lea rax, [rbx + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x140018833
mov rax, 0xffffffffffffffff
mov rdx, rax
jmp 0x140018843
cmp rdx, 0x1000
jb 0x14001886d
mov rax, 0xffffffffffffffff
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, rax
call fcn.1400a08c4
mov rcx, rax
test rax, rax
je 0x14001896d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14001887f
test rdx, rdx
je 0x14001887c
mov rcx, rdx
call fcn.1400a08c4
jmp 0x14001887f
mov rax, r15
mov qword [rsp + 0x28], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbx
mov rbx, qword [rsp + 0x28]
mov r8, rsi
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140001ddc
mov word [rsp + 0x20], r15w
lea rcx, [rbx + rsi*2]
lea rdx, [rsp + 0x20]
call fcn.140001dd4
cmp r14, 8
jb 0x1400188f8
mov rcx, qword [rdi]
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1400188e6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140018925
mov rcx, r8
call fcn.1400a0900
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
jmp 0x140018738
mov rcx, rdi
call fcn.140001ca0
mov rdx, rax
mov ecx, 8
call fcn.140001bf0
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140001ca0
mov rcx, qword [rax]
mov qword [rbx], rcx
jmp 0x140018738
call fcn.1400a4d80
int3
call fcn.1400a0a10
int3
call fcn.1400a0a10
int3
call fcn.140001f60
int3
call fcn.1400a4d80
int3
call fcn.1400a4d80
int3
call fcn.140001f60
int3
call fcn.1400a4d80
int3
call fcn.1400a4d80
int3
call fcn.1400a0a10
int3
call fcn.1400a4d80
int3
call fcn.140001f60
int3
call fcn.1400a4d80
int3