Function at 0x10013610c
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r14d, r14d
mov r12, rdx
mov r13, rcx
mov qword [rdx], r14
lea rdx, [r11 - 0x68]
mov qword [r11 - 0x68], r14
mov dword [r11 - 0x60], r14d
call fcn.10009b954
lea r15, [0x1001653b8]
cmp eax, r14d
mov ebx, eax
jl 0x100136302
lea r8d, [r14 + 0x20]
lea rcx, [rsp + 0x50]
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea esi, [r14 + 0x10]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, r14d
jne 0x1001362af
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x48]
mov rcx, r13
mov edi, eax
call fcn.100136d80
cmp eax, r14d
jge 0x100136214
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100136200
test byte [rcx + 0x1c], 1
je 0x100136200
cmp byte [rcx + 0x19], 3
jb 0x100136200
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x1c]
lea r8, [0x100002e10]
mov r9, r13
mov dword [rsp + 0x20], eax
call fcn.10001ddb0
mov rcx, qword [0x1001653b8]
movzx ebx, di
or ebx, 0x80070000
cmp edi, r14d
cmovle ebx, edi
jmp 0x100136309
mov eax, dword [rsp + 0x48]
shr eax, 0xb
test al, 1
je 0x100136381
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x10013625d
bt dword [rcx + 0x1c], 9
jae 0x10013625d
cmp byte [rcx + 0x19], 4
jb 0x10013625d
mov r9, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e10]
mov edx, 0x2d
call fcn.10001db08
mov rcx, qword [0x1001653b8]
lea r8, [0x100004a40]
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x50]
sub r8, rax
mov ebx, r14d
lea rax, [rsi + 0x7fffffee]
cmp rax, r14
je 0x100136298
movzx eax, word [r8 + rdx]
cmp ax, r14w
je 0x100136298
mov word [rdx], ax
add rdx, 2
sub rsi, 1
jne 0x100136274
cmp rsi, r14
jne 0x1001362a6
sub rdx, 2
mov ebx, 0x8007007a
cmp ebx, r14d
mov word [rdx], r14w
jl 0x100136309
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov rdx, r12
call fcn.10009bac4
cmp eax, r14d
mov ebx, eax
jl 0x100136302
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100136309
bt dword [rcx + 0x1c], 9
jae 0x100136309
cmp byte [rcx + 0x19], 5
jb 0x100136309
mov rax, qword [r12]
mov r9, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e10]
mov edx, 0x2f
mov qword [rsp + 0x20], rax
call fcn.10001df74
mov rcx, qword [0x1001653b8]
cmp qword [rsp + 0x40], r14
je 0x100136322
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp ebx, r14d
jge 0x100136355
cmp rcx, r15
je 0x100136355
bt dword [rcx + 0x1c], 9
jae 0x100136355
cmp byte [rcx + 0x19], 3
jb 0x100136355
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e10]
mov edx, 0x30
mov r9, r13
mov dword [rsp + 0x20], ebx
call fcn.10001ddb0
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.10014e600
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp edi, 0x3ed
je 0x1001363a7
cmp edi, 1
je 0x1001363a7
cmp edi, 0x57
je 0x1001363a7
movzx ebx, di
or ebx, 0x80070000
cmp edi, r14d
cmovle ebx, edi
jmp 0x100136302
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100136309
bt dword [rcx + 0x1c], 9
jae 0x100136309
cmp byte [rcx + 0x19], 4
jb 0x100136309
mov r9, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e10]
mov edx, 0x2e
call fcn.10001db08
jmp 0x100136302