Function at 0x180053d10
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 [0x18021a280]
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.1800b9d20
lea rdx, [rbp + 0x240]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov r15d, eax
cmp eax, 0x200
jbe 0x180053d8d
mov qword [r14], rsi
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rsi
jmp 0x18005424b
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 0x180054084
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 0x180053df4
cmp rcx, qword [rbp - 0x20]
je 0x180053de3
mov word [rcx], ax
mov rcx, qword [rbp - 0x28]
add rcx, 2
mov qword [rbp - 0x28], rcx
jmp 0x180054075
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.18004dcd0
jmp 0x180054071
mov r8, rcx
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp + 8]
call fcn.18004db70
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 0x18005401d
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 0x18005401d
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 0x180053e80
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.180008f40
nop
cmp qword [rbp - 8], 0
jne 0x180053eef
mov rax, qword [rbp]
cmp rax, 9
jb 0x180053eda
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.1800b9680
mov word [rbx + 0x12], si
jmp 0x180053eef
lea r9, str.USB_Drive
mov edx, 9
lea rcx, [rbp - 0x18]
call fcn.180029400
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 0x180053f4d
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 0x180053f63
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.180054a10
mov rdx, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x180053f9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053f9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054280
call fcn.18008a530
cmp rbx, 7
jbe 0x180053fdd
lea rdx, [rbx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053fd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054280
call fcn.18008a530
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x18005401d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054018
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054286
call fcn.18008a530
mov rcx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x30]
cmp r8, rcx
je 0x180054031
mov rcx, r8
mov qword [rbp - 0x28], rcx
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x180054075
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005406c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005428c
call fcn.18008a530
mov rcx, qword [rbp - 0x28]
inc di
movzx eax, di
cmp eax, r15d
jb 0x180053db2
mov rbx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
cmp rbx, rdi
je 0x18005417e
cmp qword [rbx + 0x10], 1
jbe 0x18005416d
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 0x1800540bf
mov rdx, qword [rbx]
mov r8d, 2
lea rcx, [rsp + 0x40]
call fcn.180008f40
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x18005412b
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x180054118
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180054113
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180054298
mov rcx, r8
call fcn.18008a530
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
jmp 0x18005416d
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x18005416d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054168
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054298
call fcn.18008a530
add rbx, 0x40
cmp rbx, rdi
jne 0x180054095
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 0x1800541f8
mov rax, qword [rbp - 0x20]
sub rax, r8
sar rax, 1
lea rdx, [rax + rax]
mov rax, r8
cmp rdx, 0x1000
jb 0x1800541dc
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054292
mov rcx, r8
call fcn.18008a530
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 0x18005424b
cmp rdi, rsi
je 0x180054217
mov rcx, rdi
call fcn.1800542a0
add rdi, 0x40
cmp rdi, rsi
jne 0x180054202
mov rdi, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
sub rdx, rdi
and rdx, 0xffffffffffffffc0
mov rax, rdi
cmp rdx, 0x1000
jb 0x180054243
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005427a
mov rcx, rdi
call fcn.18008a530
mov rax, r14
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.18008a510
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.1800997f4
nop
call fcn.1800997f4
nop
call fcn.1800997f4
nop
call fcn.1800997f4
nop
call fcn.1800997f4
nop
call fcn.1800997f4
int3