Function at 0x1800541a0
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 - 0x650]
sub rsp, 0x750
mov rax, qword [0x18021b280]
xor rax, rsp
mov qword [rbp + 0x640], rax
mov r14, rdx
mov qword [rbp - 0x50], rdx
xor esi, esi
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x240]
call fcn.1800ba330
lea rdx, [rbp + 0x240]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov r15d, eax
cmp eax, 0x200
jbe 0x18005421d
mov qword [r14], rsi
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rsi
jmp 0x1800546db
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov qword [rbp - 0x38], rsi
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], rsi
movzx edi, si
test r15d, r15d
je 0x180054514
mov rcx, qword [rbp - 0x28]
movzx eax, di
lea r8, [rbp + 0x240]
lea r8, [r8 + rax*2]
movzx eax, word [r8]
test ax, ax
je 0x180054284
cmp rcx, qword [rbp - 0x20]
je 0x180054273
mov word [rcx], ax
mov rcx, qword [rbp - 0x28]
add rcx, 2
mov qword [rbp - 0x28], rcx
jmp 0x180054505
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.18004e160
jmp 0x180054501
mov r8, rcx
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp + 8]
call fcn.18004e000
nop
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x1800544ad
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1800544ad
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180054310
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.180008f40
nop
cmp qword [rbp - 8], 0
jne 0x18005437f
mov rax, qword [rbp]
cmp rax, 9
jb 0x18005436a
lea rbx, [rbp - 0x18]
cmp rax, 7
cmova rbx, qword [rbp - 0x18]
mov qword [rbp - 8], 9
mov r8d, Ordinal_21
lea rdx, str.USB_Drive
mov rcx, rbx
call fcn.1800b9c90
mov word [rbx + 0x12], si
jmp 0x18005437f
lea r9, str.USB_Drive
mov edx, 9
lea rcx, [rbp - 0x18]
call fcn.180029460
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x70]
call fcn.1800064f0
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x70]
call fcn.1800064f0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x1800543dd
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movups xmmword [rdx + 0x10], xmm1
mov ebx, 7
mov word [rsp + 0x70], si
movaps xmm0, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movups xmmword [rdx + 0x30], xmm1
mov edx, ebx
mov word [rbp - 0x70], si
add qword [rbp - 0x40], 0x40
jmp 0x1800543f3
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.180054ea0
mov rdx, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x18005442f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005442a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054710
call fcn.18008ab40
cmp rbx, 7
jbe 0x18005446d
lea rdx, [rbx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054467
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054710
call fcn.18008ab40
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x1800544ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800544a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054716
call fcn.18008ab40
mov rcx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x30]
cmp r8, rcx
je 0x1800544c1
mov rcx, r8
mov qword [rbp - 0x28], rcx
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x180054505
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800544fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005471c
call fcn.18008ab40
mov rcx, qword [rbp - 0x28]
inc di
movzx eax, di
cmp eax, r15d
jb 0x180054242
mov rbx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
cmp rbx, rdi
je 0x18005460e
cmp qword [rbx + 0x10], 1
jbe 0x1800545fd
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x18005454f
mov rdx, qword [rbx]
mov r8d, 2
lea rcx, [rsp + 0x40]
call fcn.180008f40
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x1800545bb
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x1800545a8
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800545a3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180054728
mov rcx, r8
call fcn.18008ab40
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
jmp 0x1800545fd
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1800545fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800545f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054728
call fcn.18008ab40
add rbx, 0x40
cmp rbx, rdi
jne 0x180054525
mov rbx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x38], rsi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], rsi
mov rdi, rsi
mov qword [rbp - 0x48], rsi
mov qword [r14], rbx
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rcx
mov r8, qword [rbp - 0x30]
test r8, r8
je 0x180054688
mov rax, qword [rbp - 0x20]
sub rax, r8
sar rax, 1
lea rdx, [rax + rax]
mov rax, r8
cmp rdx, 0x1000
jb 0x18005466c
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054722
mov rcx, r8
call fcn.18008ab40
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov rsi, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x48]
test rdi, rdi
je 0x1800546db
cmp rdi, rsi
je 0x1800546a7
mov rcx, rdi
call fcn.180054730
add rdi, 0x40
cmp rdi, rsi
jne 0x180054692
mov rdi, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
sub rdx, rdi
and rdx, 0xffffffffffffffc0
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800546d3
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005470a
mov rcx, rdi
call fcn.18008ab40
mov rax, r14
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.18008ab20
lea r11, [rsp + 0x750]
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.180099e04
nop
call fcn.180099e04
nop
call fcn.180099e04
nop
call fcn.180099e04
nop
call fcn.180099e04
nop
call fcn.180099e04
int3