Function at 0x1401a04e0
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x178
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov eax, dword [0x1403d29e8]
xor r13d, r13d
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov edi, r13d
lea r15d, [r13 + 1]
test eax, eax
jne 0x1401a052d
call fcn.1401a0930
test eax, eax
je 0x1401a07da
mov qword [rsp + 0x1c8], rbp
mov ebp, 2
test rsi, rsi
je 0x1401a0622
cmp byte [rsi], dil
je 0x1401a0622
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp eax, 0x104
jbe 0x1401a0565
xor eax, eax
jmp 0x1401a07d2
lea r9d, [rdi + 1]
mov r10d, 0x5c
lea rax, [rsp + 0x50]
mov r8d, r9d
sub rsi, rax
mov edx, r9d
lea rcx, [rsp + 0x50]
movzx eax, byte [rsi + rcx]
lea rcx, [rcx + 1]
cmp al, 0x2f
cmove eax, r10d
mov byte [rcx - 1], al
sub rdx, r15
jne 0x1401a0582
movzx eax, byte [rsp + 0x51]
cmp byte [rsp + 0x50], r10b
jne 0x1401a0609
cmp al, r10b
jne 0x1401a0609
mov eax, ebp
mov ecx, r13d
cmp edi, eax
jbe 0x1401a0622
lea rdx, [rsp + 0x52]
cmp byte [rdx], r10b
jne 0x1401a05c2
inc ecx
cmp ecx, ebp
je 0x1401a05f3
inc eax
inc rdx
cmp eax, edi
jb 0x1401a05b7
cmp ecx, r15d
jne 0x1401a0622
cmp byte [rsp + rdi + 0x50], r10b
je 0x1401a0622
mov byte [rsp + rdi + 0x50], r10b
cmp r8, 0x105
jae 0x1401a0801
mov byte [rsp + r9 + 0x50], r13b
mov edi, r9d
jmp 0x1401a0622
inc eax
cmp eax, 0x105
jae 0x1401a07fb
mov byte [rsp + rax + 0x50], r13b
mov edi, eax
jmp 0x1401a0622
cmp al, 0x3a
jne 0x1401a061a
mov word [rsp + 0x52], r10w
mov edi, 3
jmp 0x1401a0622
mov byte [rsp + 0x50], r13b
mov edi, r13d
lea rcx, [0x1403dbbc0]
mov qword [rsp + 0x170], r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1403dbc00], r13d
je 0x1401a065a
lea rdx, [rsp + 0x50]
lea rcx, [0x1403dbc18]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1401a0736
lea rcx, [0x1403dbbc0]
mov dword [rsp + 0x40], r13d
mov esi, r13d
mov r14d, r13d
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [rsp + 0x50], sil
lea rax, [rsp + 0x44]
mov dword [rsp + 0x38], r13d
lea rcx, [rsp + 0x50]
cmove rcx, r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov r15d, eax
test eax, eax
je 0x1401a06e9
test byte [rsp + 0x44], 8
je 0x1401a06e9
cmp dword [rbx + 4], r13d
je 0x1401a06e9
cmp byte [rsp + 0x50], sil
lea rcx, [rsp + 0x50]
cmove rcx, r13
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x1401a06e9
lea rdx, [rsp + 0x40]
mov rcx, r12
lea r14d, [rax - 3]
call fcn.1401a0390
mov esi, dword [rsp + 0x40]
lea rcx, [0x1403dbbc0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test r15d, r15d
je 0x1401a07b3
lea r8d, [rdi + 1]
lea rdx, [rsp + 0x50]
lea rcx, [0x1403dbc18]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [rsp + 0x44]
mov dword [0x1403dbc08], eax
mov dword [0x1403dbc0c], r14d
mov dword [0x1403dbc10], esi
mov dword [0x1403dbc00], 1
mov eax, dword [rbx + 4]
mov dword [0x1403dbc04], eax
mov eax, dword [rbx + 0x14]
mov dword [0x1403dbc14], eax
lea rax, [0x1403dbc00]
nop
lea rbx, [rbx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rbx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rbx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rbx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rbx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rbx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rbx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rbx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rbx - 0x10], xmm1
sub rbp, 1
jne 0x1401a0750
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
jmp 0x1401a07ba
mov dword [0x1403dbc00], r13d
lea rcx, [0x1403dbbc0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r14, qword [rsp + 0x170]
mov eax, r15d
mov rbp, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140229810
add rsp, 0x178
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140229f3c
int3
call fcn.140229f3c
int3