Function at 0x1401638c0
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x178
mov rax, qword [0x140375828]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov eax, dword [0x14039d330]
xor r13d, r13d
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov edi, r13d
lea r15d, [r13 + 1]
test eax, eax
jne 0x14016390d
call fcn.140163d10
test eax, eax
je 0x140163bba
mov qword [rsp + 0x1c8], rbp
mov ebp, 2
test rsi, rsi
je 0x140163a02
cmp byte [rsi], dil
je 0x140163a02
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp eax, 0x104
jbe 0x140163945
xor eax, eax
jmp 0x140163bb2
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 0x140163962
movzx eax, byte [rsp + 0x51]
cmp byte [rsp + 0x50], r10b
jne 0x1401639e9
cmp al, r10b
jne 0x1401639e9
mov eax, ebp
mov ecx, r13d
cmp edi, eax
jbe 0x140163a02
lea rdx, [rsp + 0x52]
cmp byte [rdx], r10b
jne 0x1401639a2
inc ecx
cmp ecx, ebp
je 0x1401639d3
inc eax
inc rdx
cmp eax, edi
jb 0x140163997
cmp ecx, r15d
jne 0x140163a02
cmp byte [rsp + rdi + 0x50], r10b
je 0x140163a02
mov byte [rsp + rdi + 0x50], r10b
cmp r8, 0x105
jae 0x140163be1
mov byte [rsp + r9 + 0x50], r13b
mov edi, r9d
jmp 0x140163a02
inc eax
cmp eax, 0x105
jae 0x140163bdb
mov byte [rsp + rax + 0x50], r13b
mov edi, eax
jmp 0x140163a02
cmp al, 0x3a
jne 0x1401639fa
mov word [rsp + 0x52], r10w
mov edi, 3
jmp 0x140163a02
mov byte [rsp + 0x50], r13b
mov edi, r13d
lea rcx, [0x1403a6f00]
mov qword [rsp + 0x170], r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1403a6f40], r13d
je 0x140163a3a
lea rdx, [rsp + 0x50]
lea rcx, [0x1403a6f58]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140163b16
lea rcx, [0x1403a6f00]
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 0x140163ac9
test byte [rsp + 0x44], 8
je 0x140163ac9
cmp dword [rbx + 4], r13d
je 0x140163ac9
cmp byte [rsp + 0x50], sil
lea rcx, [rsp + 0x50]
cmove rcx, r13
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x140163ac9
lea rdx, [rsp + 0x40]
mov rcx, r12
lea r14d, [rax - 3]
call fcn.140163770
mov esi, dword [rsp + 0x40]
lea rcx, [0x1403a6f00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test r15d, r15d
je 0x140163b93
lea r8d, [rdi + 1]
lea rdx, [rsp + 0x50]
lea rcx, [0x1403a6f58]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [rsp + 0x44]
mov dword [0x1403a6f48], eax
mov dword [0x1403a6f4c], r14d
mov dword [0x1403a6f50], esi
mov dword [0x1403a6f40], 1
mov eax, dword [rbx + 4]
mov dword [0x1403a6f44], eax
mov eax, dword [rbx + 0x14]
mov dword [0x1403a6f54], eax
lea rax, [0x1403a6f40]
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 0x140163b30
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
jmp 0x140163b9a
mov dword [0x1403a6f40], r13d
lea rcx, [0x1403a6f00]
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.1401dd140
add rsp, 0x178
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.1401dd8c8
int3
call fcn.1401dd8c8
int3