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

Disassembly:
jmp 0x14005efa0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x990
mov rdi, rsp
mov ecx, 0x264
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x9a0]
mov qword [rsp + 0x978], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x980], rax
lea rdx, [0x1401f7510]
lea rcx, [rsp + 0x48]
call fcn.140001faa
nop
call fcn.140004642
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140003166
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x48]
call fcn.1400073ce
cmp qword [rsp + 0x40], 0
jne 0x14005f03d
mov r8d, 0x40
lea rdx, [0x1401f7550]
lea rcx, [0x1401f7528]
call fcn.1400070db
xor eax, eax
cmp qword [rsp + 0x40], 0
jne 0x14005f04c
xor al, al
jmp 0x14005f38b
lea rdx, str.SHGetFileInfoW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14005f086
mov r8d, 0x47
lea rdx, str.f:workpublish_rcfl_develop_src_public_system_rcwindiskutils.cpp
lea rcx, str.pfnSHGetFileInfo___0
call fcn.1400070db
xor eax, eax
cmp qword [rsp + 0x70], 0
jne 0x14005f095
xor al, al
jmp 0x14005f38b
lea rcx, [rsp + 0x90]
call fcn.140007a18
nop
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x2b8
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x9a0]
call fcn.140004fac
mov dword [rsp + 0x20], 0x610
mov r9d, 0x2b8
lea r8, [rsp + 0x150]
xor edx, edx
mov rcx, rax
call qword [rsp + 0x70]
mov qword [rsp + 0x418], rax
cmp qword [rsp + 0x418], 0
jne 0x14005f118
mov byte [rsp + 0x960], 0
lea rcx, [rsp + 0x90]
call fcn.140006cfd
movzx eax, byte [rsp + 0x960]
jmp 0x14005f38b
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x90]
call fcn.140005731
lea rdx, [rsp + 0x368]
lea rcx, [rsp + 0xb8]
call fcn.140005731
lea rax, [rsp + 0x430]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov dword [rsp + 0x644], 0x104
mov dword [rsp + 0x654], 0
mov dword [rsp + 0x674], 0
mov dword [rsp + 0x694], 0
lea rax, [rsp + 0x6c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov dword [rsp + 0x8d4], 0x104
mov rcx, qword [rsp + 0x9a0]
call fcn.140004fac
mov ecx, dword [rsp + 0x8d4]
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x6c0]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x694]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x674]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x654]
mov r8d, dword [rsp + 0x644]
lea rdx, [rsp + 0x430]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14005f32e
mov eax, 2
imul rax, rax, 0x104
mov qword [rsp + 0x968], rax
cmp qword [rsp + 0x968], 0x20a
jae 0x14005f22d
jmp 0x14005f232
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x968]
mov word [rsp + rcx + 0x6c0], ax
lea rdx, [rsp + 0x6c0]
lea rcx, [rsp + 0xe0]
call fcn.140005731
mov byte [rsp + 0x120], 1
mov dword [rsp + 0x8e4], 0
mov dword [rsp + 0x904], 0
mov dword [rsp + 0x924], 0
mov dword [rsp + 0x944], 0
mov rcx, qword [rsp + 0x9a0]
call fcn.140004fac
lea rcx, [rsp + 0x944]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x924]
lea r8, [rsp + 0x904]
lea rdx, [rsp + 0x8e4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x14005f32c
mov eax, dword [rsp + 0x8e4]
imul eax, dword [rsp + 0x904]
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x944]
mov ecx, dword [rsp + 0x8e4]
imul rax, rcx
mov ecx, dword [rsp + 0x904]
imul rax, rcx
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0x924]
mov ecx, dword [rsp + 0x8e4]
imul rax, rcx
mov ecx, dword [rsp + 0x904]
imul rax, rcx
mov qword [rsp + 0x118], rax
jmp 0x14005f359
mov dword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov byte [rsp + 0x120], 0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x9a8]
call fcn.140006feb
mov byte [rsp + 0x970], 1
lea rcx, [rsp + 0x90]
call fcn.140006cfd
movzx eax, byte [rsp + 0x970]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f7b20]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x980]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x990
pop rdi
ret