Function at 0x1800c37d0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x128], 0
je 0x1800c381d
mov rcx, qword [rsp + 0x128]
call fcn.1800f9644
test rax, rax
jne 0x1800c3824
xor eax, eax
jmp 0x1800c3ab9
lea rcx, [rsp + 0x74]
call fcn.1800287a0
nop
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x48]
call fcn.1800c4d30
nop
cmp dword [rsp + 0x40], 0
je 0x1800c39e2
mov dword [rsp + 0x78], 0
cmp dword [rsp + 0x40], 0
je 0x1800c39e2
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x1800c39c9
xor eax, eax
mov word [rsp + 0x88], ax
lea rax, [rsp + 0x8a]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_ntohl
rep stosb byte [rdi], al
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x78]
add eax, 0x41
mov word [rsp + 0x88], ax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xc8]
call fcn.1800e9640
nop
lea rdx, [0x1801c8b44]
lea rcx, [rsp + 0xc8]
call fcn.1800e5f20
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x9c]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x1800c39a9
cmp dword [rsp + 0x9c], 0
je 0x1800c39a9
mov eax, dword [rsp + 0x9c]
and rax, 0xffff
movzx eax, ax
mov ecx, dword [rsp + 0x9c]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
mov r9d, eax
mov r8d, ecx
lea rdx, str._04X__04X
lea rcx, [rsp + 0xa0]
call fcn.180003a60
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x48]
call fcn.1800c4d90
nop
lea rcx, [rsp + 0xc8]
call fcn.1800e5c00
mov eax, dword [rsp + 0x40]
shr eax, 1
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
jmp 0x1800c3857
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x60]
call fcn.1800bb050
nop
lea rcx, [rsp + 0x48]
call fcn.1800c4d70
mov dword [rsp + 0x100], eax
lea rcx, [rsp + 0x48]
call fcn.1800c4d80
mov ecx, dword [rsp + 0x100]
mov r9d, ecx
mov r8, rax
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1800bdea0
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x60]
call fcn.1800bb780
test eax, eax
je 0x1800c3a87
lea rcx, [rsp + 0x48]
call fcn.1800c4d80
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x48]
call fcn.1800c4d70
cdqe
imul rax, rax, 0x38
mov dword [rsp + 0xd0], eax
mov r9d, dword [rsp + 0xd0]
mov r8, qword [rsp + 0xd8]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x128]
call fcn.1800d0a20
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xe0], eax
lea rcx, [rsp + 0x60]
call fcn.1800bb100
nop
lea rcx, [rsp + 0x48]
call fcn.1800c4dd0
nop
lea rcx, [rsp + 0x74]
call fcn.1800287f0
mov eax, dword [rsp + 0xe0]
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1800f98f0
add rsp, 0x110
pop rdi
ret