Function at 0x14007dfd0
Capabilities:
Get disk information
Get disk size

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov r15, rcx
lea rcx, [0x1400f2c58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x198]
call fcn.140044ef4
mov esi, 5
lea rcx, [rsp + 0x48]
mov edx, esi
call fcn.14004bedc
lea edx, [rsi + 0xf]
lea rcx, [rsp + 0x58]
call fcn.14004bedc
lea rcx, [rsp + 0x50]
call fcn.14004be6c
mov rax, qword [rsp + 0x198]
xor r12d, r12d
cmp word [rax], 0x2d
mov r14b, 0xff
mov byte [rsp + 0x1a8], r12b
mov byte [rsp + 0x40], r12b
lea edi, [rsi + 3]
lea r13d, [rsi - 4]
jne 0x14007e1a0
lea ebx, [rsi + 4]
lea rdx, [rsp + 0x198]
lea rcx, str._userfree
mov r8d, ebx
call fcn.14004e558
cmp al, r12b
je 0x14007e089
mov r14b, r12b
jmp 0x14007e18e
lea rdx, [rsp + 0x198]
lea rcx, str._userall
mov r8d, edi
call fcn.14004e558
cmp al, r12b
je 0x14007e0ad
mov r14b, r13b
jmp 0x14007e18e
lea rdx, [rsp + 0x198]
lea rcx, str._free
mov r8d, esi
call fcn.14004e558
cmp al, r12b
je 0x14007e0d1
mov r14b, 2
jmp 0x14007e18e
lea rdx, [rsp + 0x198]
lea rcx, str._raw
mov r8d, 4
call fcn.14004e558
cmp al, r12b
je 0x14007e0fd
mov byte [rsp + 0x1a8], r13b
jmp 0x14007e18e
lea rdx, [rsp + 0x198]
lea rcx, [0x1400df3ec]
mov r8d, 2
call fcn.14004e558
cmp al, r12b
je 0x14007e123
mov byte [rsp + 0x40], r13b
jmp 0x14007e18e
lea rdx, [rsp + 0x198]
lea rcx, str._clear
mov r8d, 6
call fcn.14004e558
cmp al, r12b
jne 0x14007e239
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx]
cmp ax, r12w
je 0x14007e181
cmp bx, ax
ja 0x14007e162
cmp ax, 0xd
jbe 0x14007e179
mov edx, 0x20
cmp dx, ax
je 0x14007e179
add rcx, 2
mov ax, word [rcx]
cmp ax, r12w
jne 0x14007e157
mov qword [rsp + 0x198], rcx
lea rcx, [rsp + 0x198]
call fcn.140044ef4
mov rax, qword [rsp + 0x198]
cmp word [rax], 0x2d
je 0x14007e065
mov ebx, 0x3d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x198]
mov r8d, ebx
call fcn.14004f5d4
lea rdx, [rsp + 0x58]
xor r8d, r8d
mov rcx, r15
call fcn.1400035d0
mov rax, qword [rsp + 0x198]
lea esi, [rbx - 0x11]
cmp bx, word [rax]
jne 0x14007e1fb
add rax, 2
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x198]
mov r8d, esi
mov qword [rsp + 0x198], rax
call fcn.14004f5d4
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x198], rcx
call fcn.140015cb4
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.1400589a0
lea rcx, [rsp + 0x198]
call fcn.140044f24
mov rdi, qword [rsp + 0x58]
movzx ecx, word [rdi]
mov rax, rdi
jmp 0x14007e25b
lea rcx, [0x1400f2378]
mov r8, rdi
xor edx, edx
call fcn.1400b93b0
jmp 0x14007e317
cmp cx, si
je 0x14007e263
add rax, 2
mov cx, word [rax]
cmp cx, r12w
jne 0x14007e24f
jmp 0x14007e288
mov word [rax], r12w
add rax, 2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x198]
mov r8d, esi
mov qword [rsp + 0x198], rax
call fcn.14004f5d4
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, r15
call fcn.1400035d0
mov rcx, rdi
call fcn.140012d94
mov rsi, qword [rsp + 0x50]
cmp word [rdi], r12w
jne 0x14007e2b1
cmp word [rsi], r12w
je 0x14007e2bc
mov r9, qword [rsp + 0x48]
cmp word [r9], r12w
jne 0x14007e2c1
mov r12d, r13d
jmp 0x14007e317
lea rcx, [0x1400db2d4]
mov rdx, r9
call fcn.140045ff4
cmp al, r12b
je 0x14007e34a
lea rcx, [rsp + 0x50]
mov edx, 0xca
call fcn.14004bf70
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x48]
mov edx, 0x7c
xor r9d, r9d
mov r8d, r13d
mov word [rax], r12w
mov dword [rsp + 0x20], r12d
call fcn.140052658
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, r15
call fcn.14004b578
lea rcx, [rsp + 0x50]
call fcn.140044f24
lea rcx, [rsp + 0x58]
call fcn.140044f24
lea rcx, [rsp + 0x48]
call fcn.140044f24
lea rcx, [0x1400f2c58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r12d
jmp 0x14007e788
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x48]
lea edx, [rax + 0x19]
mov ebp, eax
call fcn.14004bf70
cmp r14b, r12b
mov rbx, qword [rsp + 0x48]
jl 0x14007e468
mov ecx, 0x3a
lea eax, [rcx + 0x22]
cmp ebp, r13d
jne 0x14007e390
cmp word [rbx], 0x2e
je 0x14007e3a4
mov word [rbx + 2], cx
mov word [rbx + 4], ax
mov word [rbx + 6], r12w
cmp ebp, 2
jne 0x14007e3a4
cmp word [rbx + 2], cx
jne 0x14007e3a4
mov word [rbx + 4], ax
mov word [rbx + 6], r12w
mov eax, dword [0x1400da340]
lea rcx, [rsp + 0xd0]
xor edx, edx
mov dword [rcx], eax
movzx eax, word [0x1400da344]
lea r8d, [rdx + 0x76]
mov word [rcx + 4], ax
lea rcx, [rsp + 0xd6]
call fcn.1400b93b0
xor eax, eax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov rcx, rbx
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ebx, eax
cmp eax, r12d
je 0x14007e41e
movsx rdx, r14b
lea rcx, [rsp + 0xd0]
mov rdx, qword [rsp + rdx*8 + 0x70]
call fcn.1400a935c
lea r8, [rsp + 0xd0]
mov rdx, rdi
mov rcx, r15
call fcn.14004b578
lea rcx, [rsp + 0x50]
call fcn.140044f24
lea rcx, [rsp + 0x58]
call fcn.140044f24
lea rcx, [rsp + 0x48]
call fcn.140044f24
lea rcx, [0x1400f2c58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, r12d
sete r12b
jmp 0x14007e342
cmp word [rbx], 0x61
jb 0x14007e47c
cmp word [rbx], 0x7a
ja 0x14007e47c
mov eax, 0xffdf
and word [rbx], ax
lea rdx, str..C:
lea rcx, [rsp + 0x68]
call fcn.140058920
movzx r11d, word [rbx]
mov rbp, qword [rsp + 0x68]
or rax, 0xffffffffffffffff
mov word [rbp + 8], r11w
mov word [rbp + 0xe], r12w
lea rcx, str.._
lea r8d, [rax + 5]
mov rdx, rbx
mov word [rbp + 0xc], r12w
mov r13d, eax
mov r11d, eax
mov dword [rsp + 0x198], eax
mov qword [rsp + 0x60], rbx
mov r15d, 0x800
call fcn.140045fc8
mov rdx, rbx
cmp al, r12b
jne 0x14007e5e3
lea rcx, str.Device_
mov r8d, 8
call fcn.140045fc8
cmp al, r12b
jne 0x14007e5e0
mov ecx, 0x3a
mov rdx, rbp
mov word [rbx + 2], cx
mov word [rbx + 6], r12w
mov word [rbx + 4], r12w
mov qword [rsp + 0x60], rdx
cmp byte [rsp + 0x40], r12b
je 0x14007e556
lea ebp, [rcx + 7]
cmp word [rbx], bp
jb 0x14007e5e3
cmp word [rbx], 0x42
ja 0x14007e5e3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rdx, qword [rsp + 0x60]
cmp eax, 2
jne 0x14007e5e3
movzx r15d, word [rbx]
sub r15d, ebp
jmp 0x14007e5e3
cmp word [rdi], r12w
je 0x14007e570
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov r11d, dword [rsp + 0x198]
mov r13d, eax
mov bl, byte [rsp + 0x1a8]
cmp word [rsi], r12w
jne 0x14007e599
cmp bl, r12b
jne 0x14007e5b0
cmp r13d, 2
je 0x14007e599
mov r14d, 3
cmp r13d, r14d
je 0x14007e599
cmp r13d, 5
jne 0x14007e5ad
xor edx, edx
mov rcx, rbp
call fcn.14004e170
mov r11d, eax
mov dword [rsp + 0x198], eax
cmp bl, r12b
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x90]
mov ecx, r13d
cmove r8d, r11d
call fcn.14004938c
mov r14d, dword [rsp + 0x198]
mov ebp, 1
mov rbx, rax
jmp 0x14007e6f1
mov rdx, rbx
mov ebp, 1
mov rbx, r12
cmp r15d, ebp
lea r14d, [rbp + 2]
mov qword [rsp + 0x1a8], rbx
jg 0x14007e613
lea rax, [0x1400f2378]
movsxd rcx, r15d
cmp dword [rax + rcx*4], r12d
je 0x14007e613
movsx r13d, word [rax + rcx*4]
jmp 0x14007e661
cmp word [rdi], r12w
je 0x14007e661
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x20000000
lea rcx, [rsp + 0x1a8]
mov r9d, r14d
mov r8d, 0x80000000
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r12
call fcn.1400034e0
mov rbx, qword [rsp + 0x1a8]
mov rcx, rbx
mov r9d, r15d
mov r8d, ebp
xor edx, edx
call fcn.140051d94
mov r13d, eax
cmp word [rsi], r12w
je 0x14007e6b5
cmp rbx, r12
jne 0x14007e6a6
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x20000000
lea rcx, [rsp + 0x1a8]
mov r9d, r14d
mov r8d, 0x80000000
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r12
call fcn.1400034e0
mov rbx, qword [rsp + 0x1a8]
mov rdx, rbx
xor ecx, ecx
call fcn.14004e170
mov r14d, eax
jmp 0x14007e6bd
mov r14d, dword [rsp + 0x198]
cmp rbx, r12
je 0x14007e6d1
cmp rbx, 0xffffffffffffffff
je 0x14007e6d1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x1400d6908]
lea rcx, [rsp + 0x90]
mov r8d, r13d
lea rbx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_wsprintfW]
cmp word [rdi], r12w
je 0x14007e70f
mov rdx, rdi
mov rdi, qword [rsp + 0x190]
mov r8, rbx
mov rcx, rdi
call fcn.14004b578
jmp 0x14007e717
mov rdi, qword [rsp + 0x190]
cmp word [rsi], r12w
je 0x14007e748
lea rdx, [0x1400d6908]
lea rcx, [rsp + 0x90]
mov r8d, r14d
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x90]
mov rdx, rsi
mov rcx, rdi
call fcn.14004b578
cmp word [rbx], r12w
je 0x14007e751
mov ebp, r12d
lea rcx, [rsp + 0x68]
call fcn.140044f24
lea rcx, [rsp + 0x50]
call fcn.140044f24
lea rcx, [rsp + 0x58]
call fcn.140044f24
lea rcx, [rsp + 0x48]
call fcn.140044f24
lea rcx, [0x1400f2c58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebp
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret