Function at 0x1800cee4c
Capabilities:
Get disk information

Disassembly:
jmp 0x1800cee4c
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor r14d, r14d
mov rbx, rdx
mov rsi, rcx
cmp rcx, r14
jne 0x1800ceeaf
call fcn.1800cca94
mov dword [rax], r14d
call fcn.1800cca74
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x20], r14
call fcn.1800caf04
jmp 0x1800cf322
cmp rdx, r14
je 0x1800cee83
lea rdx, [0x18011f7b4]
call fcn.1800e57f4
cmp rax, r14
je 0x1800ceedd
call fcn.1800cca74
mov ebx, 2
mov dword [rax], ebx
call fcn.1800cca94
mov dword [rax], ebx
jmp 0x1800cf322
cmp byte [rsi + 1], 0x3a
jne 0x1800ceefc
cmp byte [rsi], r14b
je 0x1800ceeee
cmp byte [rsi + 2], r14b
je 0x1800ceec5
movsx ecx, byte [rsi]
call fcn.1800e56e8
lea r13d, [rax - 0x60]
jmp 0x1800cef04
call fcn.1800e5478
mov r13d, eax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r15d, 1
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800cf0dd
lea rdx, [0x18011f7b0]
mov rcx, rsi
mov rbp, r14
call fcn.1800e57f4
cmp rax, r14
je 0x1800ceec5
call fcn.1800cca74
mov r12d, dword [rax]
call fcn.1800cca74
lea rcx, [rsp + 0x1a0]
mov r8d, 0x104
mov rdx, rsi
mov dword [rax], r14d
call fcn.1800e4194
mov rdi, rax
cmp rax, r14
je 0x1800cef74
call fcn.1800cca74
mov dword [rax], r12d
jmp 0x1800cef9d
call fcn.1800cca74
cmp dword [rax], 0x22
jne 0x1800ceec5
call fcn.1800cca74
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov dword [rax], r12d
call fcn.1800e4194
mov rbp, rax
mov rdi, rax
cmp rdi, r14
je 0x1800cf0c7
mov rcx, rdi
call fcn.1800d53b0
cmp rax, 3
je 0x1800cf05c
mov rcx, rdi
call fcn.1800d53b0
cmp rax, 5
jb 0x1800cf0c7
mov r8b, 0x5c
mov dl, 0x2f
cmp byte [rdi], r8b
je 0x1800cefdc
cmp byte [rdi], dl
jne 0x1800cf0c7
mov al, byte [rdi + 1]
cmp al, r8b
je 0x1800cefec
cmp al, dl
jne 0x1800cf0c7
mov al, byte [rdi + 2]
cmp al, r8b
je 0x1800cf0c7
cmp al, dl
je 0x1800cf0c7
lea rax, [rdi + 3]
mov cl, byte [rax]
cmp cl, r14b
je 0x1800cf0c7
cmp cl, r8b
je 0x1800cf022
cmp cl, dl
je 0x1800cf022
add rax, r15
mov cl, byte [rax]
cmp cl, r14b
jne 0x1800cf00f
cmp byte [rax], r14b
je 0x1800cf0c7
inc rax
cmp byte [rax], r14b
je 0x1800cf0c7
mov cl, byte [rax]
cmp cl, r14b
je 0x1800cf05c
cmp cl, r8b
je 0x1800cf051
cmp cl, dl
je 0x1800cf051
add rax, r15
mov cl, byte [rax]
cmp cl, r14b
jne 0x1800cf03e
cmp byte [rax], r14b
je 0x1800cf05c
cmp byte [rax + 1], r14b
jne 0x1800cf0c7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, r15d
jbe 0x1800cf0c7
cmp rbp, r14
je 0x1800cf077
mov rcx, rbp
call fcn.1800cb340
or dword [rsp + 0x30], 0xffffffff
xor r9d, r9d
mov r8d, r15d
mov edx, r15d
mov ecx, 0x7bc
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x60], reloc.WS2_32.dll_recv
mov dword [rsp + 0x7c], r14d
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x20], r14d
mov byte [rsp + 0x8c], r14b
call fcn.1800e3dc4
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x30], rax
jmp 0x1800cf2c5
cmp rbp, r14
je 0x1800ceec5
mov rcx, rbp
call fcn.1800cb340
jmp 0x1800ceec5
bt dword [rsp + 0x60], 0xa
jae 0x1800cf142
cmp dword [rsp + 0x84], 0xa000000c
jne 0x1800cf142
or dword [rsp + 0x50], 0xffffffff
lea rcx, [rsp + 0x50]
mov r9d, 0x40
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x20], r14d
call fcn.1800e5444
cmp eax, r14d
jne 0x1800ceec5
mov ecx, dword [rsp + 0x50]
cmp ecx, 0xffffffff
je 0x1800ceec5
mov rdx, rbx
call fcn.1800ce1c0
mov ecx, dword [rsp + 0x50]
mov ebx, eax
call fcn.1800dfb9c
mov eax, ebx
jmp 0x1800cf325
cmp dword [rsp + 0x74], r14d
jne 0x1800cf156
cmp dword [rsp + 0x78], r14d
jne 0x1800cf156
mov qword [rbx + 0x28], r14
jmp 0x1800cf1c0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x74]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
cmp eax, r14d
je 0x1800cf30c
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, r14d
je 0x1800cf30c
or dword [rsp + 0x30], 0xffffffff
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x4a]
movzx r9d, word [rsp + 0x48]
movzx r8d, word [rsp + 0x46]
movzx edx, word [rsp + 0x42]
movzx ecx, word [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.1800e3dc4
mov qword [rbx + 0x28], rax
cmp dword [rsp + 0x6c], r14d
jne 0x1800cf1d4
cmp dword [rsp + 0x70], r14d
jne 0x1800cf1d4
mov rax, qword [rbx + 0x28]
jmp 0x1800cf23a
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
cmp eax, r14d
je 0x1800cf30c
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, r14d
je 0x1800cf30c
or dword [rsp + 0x30], 0xffffffff
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x4a]
movzx r9d, word [rsp + 0x48]
movzx r8d, word [rsp + 0x46]
movzx edx, word [rsp + 0x42]
movzx ecx, word [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.1800e3dc4
mov qword [rbx + 0x20], rax
cmp dword [rsp + 0x64], r14d
jne 0x1800cf252
cmp dword [rsp + 0x68], r14d
jne 0x1800cf252
mov rax, qword [rbx + 0x28]
jmp 0x1800cf2b8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
cmp eax, r14d
je 0x1800cf30c
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, r14d
je 0x1800cf30c
or dword [rsp + 0x30], 0xffffffff
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x4a]
movzx r9d, word [rsp + 0x48]
movzx r8d, word [rsp + 0x46]
movzx edx, word [rsp + 0x42]
movzx ecx, word [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.1800e3dc4
mov rcx, rdi
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [rsp + 0x60]
mov rdx, rsi
call fcn.1800e42d0
mov ecx, dword [rsp + 0x7c]
mov word [rbx + 8], r15w
mov word [rbx + 6], ax
mov eax, dword [rsp + 0x80]
shl rcx, 0x20
add rcx, rax
lea eax, [r13 - 1]
mov word [rbx + 4], r14w
mov dword [rbx], eax
mov dword [rbx + 0x10], eax
mov word [rbx + 0xc], r14w
xor eax, eax
mov qword [rbx + 0x18], rcx
mov word [rbx + 0xa], r14w
jmp 0x1800cf325
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800ccab4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret