Function at 0x18004f9f0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x18017c280]
xor rax, rsp
mov qword [rbp + 0x620], rax
mov r14, rdx
mov qword [rbp - 0x70], rdx
xor edi, edi
lea rdx, [rbp + 0x220]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov r15d, eax
cmp eax, 0x200
jbe 0x18004fa59
mov qword [r14], rdi
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rdi
jmp 0x18004fe2f
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8, rdi
mov qword [rbp - 0x40], rdi
movdqu xmmword [rbp - 0x68], xmm1
mov rdx, rdi
mov qword [rbp - 0x58], rdx
movzx esi, di
test r15d, r15d
je 0x18004fd67
mov rcx, qword [rbp - 0x60]
nop dword [rax]
nop dword [rax + rax]
movzx eax, si
lea r8, [rbp + 0x220]
lea r8, [r8 + rax*2]
movzx eax, word [r8]
test ax, ax
je 0x18004fad1
cmp rcx, rdx
je 0x18004fac0
mov word [rcx], ax
mov rcx, qword [rbp - 0x60]
add rcx, 2
mov qword [rbp - 0x60], rcx
jmp 0x18004fd50
mov rdx, rcx
lea rcx, [rbp - 0x68]
call fcn.180049fc0
jmp 0x18004fd4c
mov r8, rcx
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x18]
call fcn.180049e60
nop
lea rcx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x18004fcf8
lea rcx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rcx, qword [rbp - 0x18]
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x18004fcf8
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x18004fb55
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x38]
call fcn.18000b080
nop
cmp qword [rbp - 0x28], 0
jne 0x18004fbc4
mov rax, qword [rbp - 0x20]
cmp rax, 9
jb 0x18004fbaf
lea rbx, [rbp - 0x38]
cmp rax, 7
cmova rbx, qword [rbp - 0x38]
mov qword [rbp - 0x28], 9
mov r8d, Ordinal_21
lea rdx, str.USB_Drive
mov rcx, rbx
call fcn.1800b8e10
mov word [rbx + 0x12], di
jmp 0x18004fbc4
lea r9, str.USB_Drive
mov edx, 9
lea rcx, [rbp - 0x38]
call fcn.180028b10
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.1800067b0
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.1800067b0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x40]
je 0x18004fc26
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov ebx, 7
mov word [rsp + 0x50], di
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movups xmmword [rdx + 0x30], xmm1
mov edx, ebx
mov word [rsp + 0x70], di
add qword [rbp - 0x48], 0x40
jmp 0x18004fc3d
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.180050e80
mov rdx, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18004fc7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004fc75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe6a
call fcn.180085240
cmp rbx, 7
jbe 0x18004fcb8
lea rdx, [rbx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004fcb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe6a
call fcn.180085240
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x18004fcf8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004fcf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe70
call fcn.180085240
mov rcx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
cmp r8, rcx
je 0x18004fd0c
mov rcx, r8
mov qword [rbp - 0x60], rcx
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x18004fd50
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004fd47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe76
call fcn.180085240
mov rcx, qword [rbp - 0x60]
inc si
movzx eax, si
mov rdx, qword [rbp - 0x58]
cmp eax, r15d
jb 0x18004fa90
mov r8, qword [rbp - 0x40]
mov qword [rbp - 0x40], rdi
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x48], rdi
mov rax, qword [rbp - 0x50]
mov rbx, rdi
mov qword [rbp - 0x50], rbx
mov qword [r14], rax
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], r8
mov r8, qword [rbp - 0x68]
test r8, r8
je 0x18004fddc
sub rdx, r8
sar rdx, 1
add rdx, rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x18004fdc0
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe64
mov rcx, r8
call fcn.180085240
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov rdi, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x18004fe2f
cmp rbx, rdi
je 0x18004fdfb
mov rcx, rbx
call fcn.18004fe80
add rbx, 0x40
cmp rbx, rdi
jne 0x18004fde6
mov rbx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffc0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18004fe27
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe5e
mov rcx, rbx
call fcn.180085240
mov rax, r14
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.180085220
lea r11, [rsp + 0x730]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18009a08c
nop
call fcn.18009a08c
nop
call fcn.18009a08c
nop
call fcn.18009a08c
nop
call fcn.18009a08c
int3