Function at 0x14004ad58
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rdx
mov rdi, rcx
lea r15, [0x1401782b0]
mov r13d, 0x200
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004adb8
test dword [rcx + 0x1c], r13d
je 0x14004adb8
cmp byte [rcx + 0x19], 4
jb 0x14004adb8
lea edx, [r13 - 0x25]
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140004c6c
movups xmm0, xmmword [0x140161c08]
movdqu xmmword [rbp - 0x38], xmm0
xor r12d, r12d
mov qword [rbp - 0x28], r12
xor r14d, r14d
mov qword [rbp - 0x20], r14
and qword [rbp - 0x18], r12
and dword [rbp - 0x10], r12d
mov rcx, rsi
call fcn.14013e4c0
mov rdx, rsi
mov rcx, rdi
call fcn.14010c03c
mov ebx, eax
test eax, eax
jns 0x14004ae3f
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004b488
test dword [rcx + 0x1c], r13d
je 0x14004b488
cmp byte [rcx + 0x19], 3
jb 0x14004b488
mov edx, 0x1dc
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
mov rcx, qword [0x1401782b0]
jmp 0x14004b488
lea rdx, [rsi + 0x10]
mov rcx, rdi
call fcn.140086ee4
mov ebx, eax
test eax, eax
js 0x14004b42b
lea rdx, [rsi + 0x18]
mov rcx, rdi
call fcn.14013083c
mov ebx, eax
test eax, eax
jns 0x14004ae92
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004b488
test dword [rcx + 0x1c], r13d
je 0x14004b488
cmp byte [rcx + 0x19], 3
jb 0x14004b488
mov edx, 0x1dd
jmp 0x14004ae1c
mov ecx, dword [rsi]
call fcn.14009141c
test r13d, eax
jne 0x14004b10c
lea rdx, [rsi + 8]
mov rcx, rdi
call fcn.140132538
mov ebx, eax
test eax, eax
jns 0x14004aee2
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004b488
test dword [rcx + 0x1c], r13d
je 0x14004b488
cmp byte [rcx + 0x19], 3
jb 0x14004b488
mov edx, 0x1de
jmp 0x14004ae1c
lea r15, [rsi + 0x20]
mov rdx, r15
mov rcx, rdi
call fcn.140131aac
mov ebx, eax
test eax, eax
jns 0x14004af3f
mov rcx, qword [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x14004b488
test dword [rcx + 0x1c], r13d
je 0x14004b488
cmp byte [rcx + 0x19], 3
jb 0x14004b488
mov edx, 0x1df
mov r9d, eax
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
jmp 0x14004ae33
mov rcx, qword [r15]
test rcx, rcx
je 0x14004b0ae
lea rdx, str.CSVFS
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
sete r13b
and qword [rsi + 0x28], 0
and qword [rsi + 0x30], 0
lea r9, [rbp + 0x58]
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x14004af8d
mov rcx, rdi
call fcn.140133a1c
mov ebx, eax
jmp 0x14004af9f
mov rax, qword [rbp + 0x48]
mov qword [rsi + 0x28], rax
mov rax, qword [rbp + 0x50]
mov qword [rsi + 0x30], rax
xor ebx, ebx
test ebx, ebx
jns 0x14004afde
mov rcx, qword [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x14004b488
test dword [rcx + 0x1c], 0x200
je 0x14004b488
cmp byte [rcx + 0x19], 3
jb 0x14004b488
mov edx, 0x1e0
mov r9d, ebx
jmp 0x14004af2a
mov byte [rbp + 0x48], 0
lea rcx, [rbp + 0x48]
call fcn.14008f04c
mov ebx, eax
test eax, eax
js 0x14004b42b
mov rcx, qword [r15]
call fcn.14008ab18
test al, al
je 0x14004b070
cmp byte [rbp + 0x48], 0
jne 0x14004b070
test r13b, r13b
jne 0x14004b070
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rsi + 0x40]
xor edx, edx
mov rcx, rdi
call fcn.1401261b8
test eax, eax
jns 0x14004b0ff
mov rcx, qword [0x1401782b0]
lea r15, [0x1401782b0]
mov r13d, 0x200
cmp rcx, r15
je 0x14004b066
test dword [rcx + 0x1c], r13d
je 0x14004b066
cmp byte [rcx + 0x19], 3
jb 0x14004b066
lea edx, [r13 - 0x1f]
mov r9d, eax
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
and qword [rsi + 0x40], 0
jmp 0x14004b10c
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
mov r13d, 0x200
cmp rcx, rax
je 0x14004b105
test dword [rcx + 0x1c], r13d
je 0x14004b105
cmp byte [rcx + 0x19], 4
jb 0x14004b105
lea edx, [r13 - 0x1e]
mov r9, qword [r15]
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140005c6c
jmp 0x14004b105
lea rdx, [rsi + 0x28]
mov rcx, rdi
call fcn.140131640
mov ebx, eax
test eax, eax
jns 0x14004b0f5
mov rcx, qword [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x14004b488
test dword [rcx + 0x1c], r13d
je 0x14004b488
cmp byte [rcx + 0x19], 3
jb 0x14004b488
mov edx, 0x1e3
jmp 0x14004af27
mov rax, qword [rsi + 0x28]
mov qword [rsi + 0x30], rax
jmp 0x14004b105
mov r13d, 0x200
lea r15, [0x1401782b0]
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.140112f90
mov ebx, eax
test eax, eax
jns 0x14004b16c
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004b15f
test dword [rcx + 0x1c], r13d
je 0x14004b15f
cmp byte [rcx + 0x19], 3
jb 0x14004b15f
mov edx, 0x1e4
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
mov r14, qword [rbp - 0x20]
mov r12, qword [rbp - 0x28]
jmp 0x14004b42b
mov r14, qword [rbp - 0x20]
mov r12, qword [rbp - 0x28]
jmp 0x14004b432
mov r12, qword [rbp - 0x28]
mov r14, qword [rbp - 0x20]
test r14, r14
jne 0x14004b1bb
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004b1a9
test dword [rcx + 0x1c], r13d
je 0x14004b1a9
cmp byte [rcx + 0x19], 4
jb 0x14004b1a9
mov edx, 0x1e5
mov r9, rdi
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140005c6c
mov byte [rsi + 0x48], 0
xor ebx, ebx
mov rcx, qword [0x1401782b0]
jmp 0x14004b361
lea rdx, [rsi + 0x38]
mov rcx, rdi
call fcn.14011241c
mov ebx, eax
test eax, eax
jns 0x14004b206
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004b163
test dword [rcx + 0x1c], r13d
je 0x14004b163
cmp byte [rcx + 0x19], 3
jb 0x14004b163
mov edx, 0x1e6
mov r9d, eax
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
jmp 0x14004b156
xor r15d, r15d
test r14, r14
je 0x14004b353
and qword [rbp + 0x48], 0
cmp r15, r14
jae 0x14004b330
lea r8, [rbp + 0x48]
mov rdx, qword [r12 + r15*8]
mov rcx, rdi
call fcn.140112d90
mov ebx, eax
test eax, eax
js 0x14004b2bb
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp + 0x48]
call fcn.140110854
mov ebx, eax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
jns 0x14004b2b2
mov byte [rsi + 0x48], 0
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x14004b29f
test dword [rcx + 0x1c], r13d
je 0x14004b29f
cmp byte [rcx + 0x19], 3
jb 0x14004b29f
mov edx, 0x1e8
and qword [rsp + 0x20], 0
mov r9d, ebx
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.1400104d0
mov rcx, qword [0x1401782b0]
xor ebx, ebx
inc r15
cmp r15, r14
jae 0x14004b35a
jmp 0x14004b212
mov byte [rsi + 0x48], 1
jmp 0x14004b353
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x14004b432
test dword [rcx + 0x1c], r13d
je 0x14004b432
cmp byte [rcx + 0x19], 3
jb 0x14004b432
cmp r15, r14
jb 0x14004b30e
lea r8, str.iElement___m_nSize
mov edx, 0x2cd
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.14008624c
mov ecx, 0x80070057
call fcn.140001b20
int3
mov edx, 0x1e7
mov dword [rsp + 0x20], ebx
mov r9, qword [r12 + r15*8]
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
jmp 0x14004b42b
lea r8, str.iElement___m_nSize
mov edx, 0x2cd
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.14008624c
mov ecx, 0x80070057
call fcn.140001b20
int3
mov rcx, qword [0x1401782b0]
lea r15, [0x1401782b0]
mov eax, dword [rsi]
sub eax, 2
cmp eax, 1
ja 0x14004b3bd
lea r8, [rsi + 0x4a]
lea rdx, [rsi + 0x50]
mov rcx, rdi
call fcn.140089fe0
mov ebx, eax
test eax, eax
jns 0x14004b3b6
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004b432
test dword [rcx + 0x1c], r13d
je 0x14004b432
cmp byte [rcx + 0x19], 2
jb 0x14004b432
mov edx, 0x1e9
mov dword [rsp + 0x20], eax
mov r9, rdi
jmp 0x14004b31b
mov rcx, qword [0x1401782b0]
cmp dword [rsi], 1
jne 0x14004b432
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x50], 0
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x50]
mov rcx, rdi
call fcn.140125140
mov ebx, eax
test eax, eax
jns 0x14004b41d
cmp eax, 0x8007000e
je 0x14004b42b
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004b41b
test byte [rcx + 0x1c], 1
je 0x14004b41b
cmp byte [rcx + 0x19], 3
jb 0x14004b41b
mov edx, 0x1ea
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
xor ebx, ebx
mov al, byte [rbp + 0x48]
neg al
sbb ecx, ecx
neg ecx
inc ecx
mov dword [rsi + 0x58], ecx
mov rcx, qword [0x1401782b0]
xor edi, edi
test r14, r14
je 0x14004b481
cmp rdi, r14
jae 0x14004b45e
mov rcx, qword [r12 + rdi*8]
test rcx, rcx
je 0x14004b44d
call qword [sym.imp.ole32.dll_CoTaskMemFree]
inc rdi
cmp rdi, r14
jb 0x14004b43e
mov rcx, qword [0x1401782b0]
jmp 0x14004b481
lea r8, str.iElement___m_nSize
mov edx, 0x2cd
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.14008624c
mov ecx, 0x80070057
call fcn.140001b20
int3
lea r15, [0x1401782b0]
test ebx, ebx
jns 0x14004b49b
mov rcx, rsi
call fcn.14013e4c0
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x14004b4c5
test dword [rcx + 0x1c], 0x200
je 0x14004b4c5
cmp byte [rcx + 0x19], 4
jb 0x14004b4c5
mov edx, 0x1eb
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
call fcn.140004c6c
nop
test r12, r12
je 0x14004b4d3
mov rcx, r12
call qword [sym.imp.msvcrt.dll_free]
mov eax, ebx
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret