Function at 0x1800e9ce0
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 [0x18066dcd8]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov rsi, rdx
mov qword [rsp + 0x78], rdx
mov r15, rcx
mov qword [rbp - 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
test rdx, rdx
jne 0x1800e9d76
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rcx + 0x10], xmm1
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
jmp 0x1800ea418
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1805bf050]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], r13w
mov r8d, recv
lea rdx, [0x1805a3168]
lea rcx, [rsp + 0x50]
call fcn.18007d760
nop
call fcn.1800e3b00
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.1800e3be0
mov rdi, rax
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1800e9e0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e9e05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e9e05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf050]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1805bf050]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], r13w
mov r8d, 9
lea rdx, str.Psapi.dll
lea rcx, [rsp + 0x28]
call fcn.18007d760
nop
call fcn.1800e3b00
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.1800e3be0
mov r12, rax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800e9eb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e9ead
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e9ead
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf050]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
test r12, r12
je 0x1800ea3f6
test rdi, rdi
je 0x1800ea3f6
lea rcx, [rbp + 0x10]
call fcn.1800e8ea0
mov r14, 0xffffffffffffffff
cmp dword [rbp + 0x14], 6
jb 0x1800e9f78
lea rdx, str.QueryFullProcessImageNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x1800e9f78
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x30], 0x208
lea r9, [rbp - 0x30]
lea r8, [rbp + 0x10]
xor edx, edx
mov rcx, rsi
call rbx
test eax, eax
je 0x1800e9f78
mov eax, dword [rbp - 0x30]
cmp eax, 0x208
jae 0x1800e9f54
add rax, rax
cmp rax, 0x412
jae 0x1800ea464
mov word [rbp + rax + 0x10], r13w
lea rax, [rbp + 0x10]
mov r8, r14
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800e9f60
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.18007d760
cmp qword [rbp - 0x40], 0
jne 0x1800ea35b
lea rdx, str.GetProcessImageFileNameW
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1800e9fb3
lea rdx, str.GetProcessImageFileNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x1800ea018
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x208
lea rdx, [rbp + 0x10]
mov rcx, rsi
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x1800ea018
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x1800ea46a
mov word [rbp + rax + 0x10], r13w
lea rax, [rbp + 0x10]
mov r8, r14
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800ea000
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.18007d760
cmp qword [rbp - 0x40], 0
je 0x1800ea2c1
mov ecx, 0x410
call fcn.18042d314
mov rsi, rax
xor edx, edx
mov r8d, 0x410
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
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
mov qword [rbp - 0x18], r13
lea rdx, [rbp + 0x10]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1800ea07d
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x28]
call fcn.1800eab00
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x1800ea231
xor ebx, ebx
mov r12d, ebx
nop word [rax + rax]
lea rdi, [rcx + r12]
cmp qword [rdi + 0x10], 3
jb 0x1800ea0d2
mov rax, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 8
jb 0x1800ea0bb
mov rax, qword [rdi]
cmp word [rax + 4], 0x5c
jne 0x1800ea0d2
mov rax, rdi
cmp rcx, 8
jb 0x1800ea0ce
mov rax, qword [rdi]
mov word [rax + 4], bx
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800ea0df
mov rcx, qword [rdi]
mov r8d, 0x208
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x1800ea0f5
mov word [rsi], bx
mov rbx, r14
nop dword [rax + rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1800ea100
test ebx, ebx
je 0x1800ea132
mov r8d, ebx
cmp r8, qword [rbp - 0x40]
jae 0x1800ea132
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x1800ea158
inc r13
add r12, 0x20
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
sub rax, rcx
sar rax, 5
cmp r13, rax
jae 0x1800ea22c
xor ebx, ebx
jmp 0x1800ea0a0
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1805bf050]
movdqu xmmword [rbp], xmm1
xor r13d, r13d
mov word [rbp - 0x10], r13w
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
cmp qword [rdi + 0x18], 8
jb 0x1800ea18d
mov rdi, qword [rdi]
mov eax, ebx
lea r9, [rcx + rax*2]
mov r8, rdi
lea rdx, str._s_s
lea rcx, [rbp - 0x10]
call fcn.1800dd390
movups xmm2, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x70], xmm2
movups xmm3, xmmword [rbp - 0x40]
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x10], xmm2
movups xmmword [rbp], xmm3
psrldq xmm3, 8
movq rdx, xmm3
cmp rdx, 8
jb 0x1800ea213
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ea20e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ea20e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf050]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r13w
mov r12, qword [rsp + 0x48]
jmp 0x1800ea234
mov r12, qword [rsp + 0x48]
xor r13d, r13d
mov rcx, rsi
call fcn.18042ce14
nop
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x1800ea2ac
mov rdi, qword [rbp - 0x20]
cmp rbx, rdi
je 0x1800ea265
nop
mov rcx, rbx
call fcn.18007d6f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1800ea250
mov rbx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x18]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800ea298
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ea298
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.18042ce14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
cmp qword [rbp - 0x40], 0
jne 0x1800ea35b
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
lea rdx, str.GetModuleFileNameExW
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1800ea2f1
lea rdx, str.GetModuleFileNameExW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x1800ea35b
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x208
lea r8, [rbp + 0x10]
xor edx, edx
mov rcx, rsi
call rbx
lea ecx, [rax - 1]
cmp ecx, 0x206
ja 0x1800ea35b
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x1800ea45e
mov word [rbp + rax + 0x10], r13w
lea rax, [rbp + 0x10]
nop dword [rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x1800ea340
mov r8, r14
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.18007d760
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x28]
call fcn.1800e1c20
mov rbx, rax
lea rax, [rbp - 0x50]
cmp rax, rbx
je 0x1800ea39d
lea rcx, [rbp - 0x50]
call fcn.18007d6f0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800ea3e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ea3dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ea3dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf050]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [r15], xmm0
mov word [rbp - 0x50], r13w
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r13
movups xmmword [r15 + 0x10], xmm1
mov dword [rsp + 0x20], 1
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
mov rax, r15
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.18042cdf0
mov rbx, qword [rsp + 0x970]
add rsp, 0x920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18042d470
int3
call fcn.18042d470
int3
call fcn.18042d470
int3