Function at 0x140061334
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 r14, [0x14017d3a8]
mov r13d, 0x200
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x140061394
test dword [rcx + 0x1c], r13d
je 0x140061394
cmp byte [rcx + 0x19], 4
jb 0x140061394
lea edx, [r13 - 0x26]
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001dd24
movups xmm0, xmmword [0x14000ab48]
movdqu xmmword [rbp - 0x30], xmm0
xor r15d, r15d
mov qword [rbp - 0x20], r15
xor r12d, r12d
mov qword [rbp - 0x18], r12
and qword [rbp - 0x10], r12
and dword [rbp - 8], r12d
mov rcx, rsi
call fcn.14015f700
mov rdx, rsi
mov rcx, rdi
call fcn.14012d388
mov ebx, eax
test eax, eax
jns 0x140061414
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x1400619f6
test dword [rcx + 0x1c], r13d
je 0x1400619f6
cmp byte [rcx + 0x19], 3
jb 0x1400619f6
mov edx, 0x1db
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001ecbc
jmp 0x1400619ef
lea rdx, [rsi + 0x10]
mov rcx, rdi
call fcn.1400a987c
mov ebx, eax
test eax, eax
js 0x1400619ef
lea rdx, [rsi + 0x18]
mov rcx, rdi
call fcn.140151d50
mov ebx, eax
test eax, eax
jns 0x140061467
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x1400619f6
test dword [rcx + 0x1c], r13d
je 0x1400619f6
cmp byte [rcx + 0x19], 3
jb 0x1400619f6
mov edx, 0x1dc
jmp 0x1400613f8
mov ecx, dword [rsi]
call fcn.1400b3f28
test r13d, eax
jne 0x1400616e7
lea rdx, [rsi + 8]
mov rcx, rdi
call fcn.140153a9c
mov ebx, eax
test eax, eax
jns 0x1400614b7
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x1400619f6
test dword [rcx + 0x1c], r13d
je 0x1400619f6
cmp byte [rcx + 0x19], 3
jb 0x1400619f6
mov edx, 0x1dd
jmp 0x1400613f8
lea r14, [rsi + 0x20]
mov rdx, r14
mov rcx, rdi
call fcn.140152fbc
mov ebx, eax
test eax, eax
jns 0x14006151b
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
cmp rcx, r14
je 0x1400619fd
test dword [rcx + 0x1c], r13d
je 0x1400619fd
cmp byte [rcx + 0x19], 3
jb 0x1400619fd
mov edx, 0x1de
mov r9d, eax
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001de24
mov rcx, qword [0x14017d3a8]
jmp 0x1400619fd
mov rcx, qword [r14]
test rcx, rcx
je 0x140061689
lea rdx, [0x140009cf0]
call sub.msvcrt.dll__wcsicmp
test eax, eax
sete r13b
and qword [rsi + 0x28], 0
and qword [rsi + 0x30], 0
lea r9, [rbp - 0x38]
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x140061568
mov rcx, rdi
call fcn.140154be4
mov ebx, eax
jmp 0x14006157a
mov rax, qword [rbp + 0x50]
mov qword [rsi + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsi + 0x30], rax
xor ebx, ebx
test ebx, ebx
jns 0x1400615b9
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
cmp rcx, r14
je 0x1400619fd
test dword [rcx + 0x1c], reloc.ADVAPI32.dll_TraceEvent
je 0x1400619fd
cmp byte [rcx + 0x19], 3
jb 0x1400619fd
mov edx, 0x1df
mov r9d, ebx
jmp 0x1400614ff
mov byte [rbp + 0x50], 0
lea rcx, [rbp + 0x50]
call fcn.1400b1b58
mov ebx, eax
test eax, eax
js 0x1400619ef
mov rcx, qword [r14]
call fcn.1400ad5b4
test al, al
je 0x14006164b
cmp byte [rbp + 0x50], 0
jne 0x14006164b
test r13b, r13b
jne 0x14006164b
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rsi + 0x40]
xor edx, edx
mov rcx, rdi
call fcn.140147b04
test eax, eax
jns 0x1400616da
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
mov r13d, 0x200
cmp rcx, r14
je 0x140061641
test dword [rcx + 0x1c], r13d
je 0x140061641
cmp byte [rcx + 0x19], 3
jb 0x140061641
lea edx, [r13 - 0x20]
mov r9d, eax
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001de24
and qword [rsi + 0x40], 0
jmp 0x1400616e7
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
mov r13d, 0x200
cmp rcx, rax
je 0x1400616e0
test dword [rcx + 0x1c], r13d
je 0x1400616e0
cmp byte [rcx + 0x19], 4
jb 0x1400616e0
lea edx, [r13 - 0x1f]
mov r9, qword [r14]
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001ec40
jmp 0x1400616e0
lea rdx, [rsi + 0x28]
mov rcx, rdi
call fcn.140152b50
mov ebx, eax
test eax, eax
jns 0x1400616d0
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
cmp rcx, r14
je 0x1400619fd
test dword [rcx + 0x1c], r13d
je 0x1400619fd
cmp byte [rcx + 0x19], 3
jb 0x1400619fd
mov edx, 0x1e2
jmp 0x1400614fc
mov rax, qword [rsi + 0x28]
mov qword [rsi + 0x30], rax
jmp 0x1400616e0
mov r13d, 0x200
lea r14, [0x14017d3a8]
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140134284
mov ebx, eax
test eax, eax
jns 0x140061747
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x14006173a
test dword [rcx + 0x1c], r13d
je 0x14006173a
cmp byte [rcx + 0x19], 3
jb 0x14006173a
mov edx, 0x1e3
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001ecbc
mov r12, qword [rbp - 0x18]
mov r15, qword [rbp - 0x20]
jmp 0x1400619ef
mov r12, qword [rbp - 0x18]
mov r15, qword [rbp - 0x20]
jmp 0x1400619f6
mov r15, qword [rbp - 0x20]
mov r12, qword [rbp - 0x18]
test r12, r12
jne 0x140061796
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x140061784
test dword [rcx + 0x1c], r13d
je 0x140061784
cmp byte [rcx + 0x19], 4
jb 0x140061784
mov edx, 0x1e4
mov r9, rdi
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001ec40
mov byte [rsi + 0x48], 0
xor ebx, ebx
mov rcx, qword [0x14017d3a8]
jmp 0x14006192c
lea rdx, [rsi + 0x38]
mov rcx, rdi
call fcn.14013371c
mov ebx, eax
test eax, eax
jns 0x1400617e1
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x14006173e
test dword [rcx + 0x1c], r13d
je 0x14006173e
cmp byte [rcx + 0x19], 3
jb 0x14006173e
mov edx, 0x1e5
mov r9d, eax
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001de24
jmp 0x140061731
xor r14d, r14d
test r12, r12
je 0x14006191e
and qword [rbp + 0x50], 0
cmp r14, r12
jae 0x1400618fb
lea r8, [rbp + 0x50]
mov rdx, qword [r15 + r14*8]
mov rcx, rdi
call fcn.140134084
mov ebx, eax
test eax, eax
js 0x140061896
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp + 0x50]
call fcn.140131b2c
mov ebx, eax
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
jns 0x14006188d
mov byte [rsi + 0x48], 0
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x14006187a
test dword [rcx + 0x1c], r13d
je 0x14006187a
cmp byte [rcx + 0x19], 3
jb 0x14006187a
mov edx, 0x1e7
and qword [rsp + 0x20], 0
mov r9d, ebx
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14006beb4
mov rcx, qword [0x14017d3a8]
xor ebx, ebx
inc r14
cmp r14, r12
jae 0x140061925
jmp 0x1400617ed
mov byte [rsi + 0x48], 1
jmp 0x14006191e
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x1400619f6
test dword [rcx + 0x1c], r13d
je 0x1400619f6
cmp byte [rcx + 0x19], 3
jb 0x1400619f6
cmp r14, r12
jb 0x1400618e9
lea r8, [0x140003a50]
mov edx, 0x2cd
lea rcx, [0x140003bf0]
call fcn.1400a8be8
mov ecx, 0x80070057
call fcn.14001ad98
int3
mov edx, 0x1e6
mov dword [rsp + 0x20], ebx
mov r9, qword [r15 + r14*8]
jmp 0x1400613ff
lea r8, [0x140003a50]
mov edx, 0x2cd
lea rcx, [0x140003bf0]
call fcn.1400a8be8
mov ecx, 0x80070057
call fcn.14001ad98
int3
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
cmp dword [rsi], 2
je 0x140061936
cmp dword [rsi], 3
jne 0x140061981
lea r8, [rsi + 0x4a]
lea rdx, [rsi + 0x50]
mov rcx, rdi
call fcn.1400aca28
mov ebx, eax
test eax, eax
jns 0x14006197a
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x1400619f6
test dword [rcx + 0x1c], r13d
je 0x1400619f6
cmp byte [rcx + 0x19], 2
jb 0x1400619f6
mov edx, 0x1e8
jmp 0x1400613f8
mov rcx, qword [0x14017d3a8]
cmp dword [rsi], 1
jne 0x1400619f6
mov byte [rbp + 0x50], 0
mov byte [rbp + 0x58], 0
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x58]
mov rcx, rdi
call fcn.140146688
mov ebx, eax
test eax, eax
jns 0x1400619e1
cmp eax, 0x8007000e
je 0x1400619ef
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x1400619df
test byte [rcx + 0x1c], 1
je 0x1400619df
cmp byte [rcx + 0x19], 3
jb 0x1400619df
mov edx, 0x1e9
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001ecbc
xor ebx, ebx
mov al, byte [rbp + 0x50]
neg al
sbb ecx, ecx
neg ecx
inc ecx
mov dword [rsi + 0x58], ecx
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
xor edi, edi
test r12, r12
je 0x140061a4e
cmp rdi, r12
jae 0x140061a2b
cmp qword [r15 + rdi*8], 0
je 0x140061a1a
mov rcx, qword [r15 + rdi*8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
inc rdi
cmp rdi, r12
jb 0x140061a09
mov rcx, qword [0x14017d3a8]
jmp 0x140061a4e
lea r8, [0x140003a50]
mov edx, 0x2cd
lea rcx, [0x140003bf0]
call fcn.1400a8be8
mov ecx, 0x80070057
call fcn.14001ad98
int3
test ebx, ebx
jns 0x140061a61
mov rcx, rsi
call fcn.14015f700
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x140061a8b
test dword [rcx + 0x1c], reloc.ADVAPI32.dll_TraceEvent
je 0x140061a8b
cmp byte [rcx + 0x19], 4
jb 0x140061a8b
mov edx, 0x1ea
lea r8, [0x1400068c8]
mov rcx, qword [rcx + 0x10]
call fcn.14001dd24
nop
test r15, r15
je 0x140061a99
mov rcx, r15
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