Function at 0x140019c10
Capabilities:
Get disk size

Disassembly:
push rdi
sub rsp, 0xd0
mov rax, qword [0x140036b80]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov al, byte [0x140036b6c]
movsx eax, al
mov dword [rsp + 0x34], eax
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
call fcn.140022eb8
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x38], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x38]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x140019f74
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x20]
call fcn.1400172a8
mov rcx, rax
call fcn.140016274
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
cdqe
cvtsi2sd xmm0, rax
call fcn.140025e38
mov dword [rsp + 0x4c], eax
mov cl, byte [0x140036b6c]
movsx ecx, cl
mov dword [rsp + 0x40], ecx
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
call fcn.140022eb8
movsx eax, al
shl eax, 1
mov dword [rsp + 0x44], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x44]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x4c]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x140019f74
xor eax, eax
cmp eax, 7
je 0x140019f74
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x21]
call fcn.1400177cc
mov rcx, rax
call fcn.140016604
mov qword [rsp + 0x90], rax
mov al, byte [0x140036b6c]
movsx eax, al
mov dword [rsp + 0x50], eax
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
call fcn.140022eb8
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x54], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x54]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x140019f74
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0xb0], rax
jae 0x140019e28
mov qword [rsp + 0x88], 1
jmp 0x140019e34
mov qword [rsp + 0x88], 0
cvtsi2sd xmm0, qword [rsp + 0x88]
call fcn.140025e38
mov dword [rsp + 0x68], eax
mov cl, byte [0x140036b6c]
movsx ecx, cl
mov dword [rsp + 0x5c], ecx
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
call fcn.140022eb8
movsx eax, al
shl eax, 2
mov dword [rsp + 0x60], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x60]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x68]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x140019f74
xor eax, eax
cmp eax, 5
je 0x140019f74
mov dword [rsp + 0x24], 0
jmp 0x140019ed8
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov al, byte [0x140036b6c]
movsx eax, al
mov dword [rsp + 0x6c], eax
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
call fcn.140022eb8
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x70], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x70]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.140025e38
cmp dword [rsp + 0x24], eax
jge 0x140019f74
mov dword [rsp + 0x28], 0
jmp 0x140019f5f
cmp dword [rsp + 0x28], 0x50
jae 0x140019f6f
mov al, 1
jmp 0x14001a024
jmp 0x140019ece
mov dword [rsp + 0x2c], 0
jmp 0x140019f88
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov al, byte [0x140036b6c]
movsx eax, al
mov dword [rsp + 0x78], eax
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
call fcn.140022eb8
movsx eax, al
mov dword [rsp + 0x7c], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x7c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.140025e38
cmp dword [rsp + 0x2c], eax
jge 0x14001a024
mov dword [rsp + 0x30], 0
jmp 0x14001a012
cmp dword [rsp + 0x30], 6
jae 0x14001a01f
xor al, al
jmp 0x14001a024
jmp 0x140019f7e
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14002a9b0
add rsp, 0xd0
pop rdi
ret