Function at 0x14004ae7c
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov bl, dl
mov rsi, rcx
mov rcx, qword [0x14017a048]
lea r13, [0x14017a048]
mov r15d, 0x200
cmp rcx, r13
je 0x14004aee9
test dword [rcx + 0x1c], r15d
je 0x14004aee9
cmp byte [rcx + 0x19], 4
jb 0x14004aee9
mov rcx, qword [rcx + 0x10]
lea edx, [r15 - 0x3a]
lea r8, [0x140155bf8]
call fcn.140004b70
xor r12d, r12d
lea rcx, [rbp - 0x29]
xor edx, edx
mov byte [rbp - 0x58], r12b
mov qword [rbp - 0x51], r12
mov byte [rbp - 0x57], r12b
lea r8d, [r12 + 0x50]
call sub.msvcrt.dll_memset
mov rcx, rdi
call fcn.1401419f0
test bl, bl
je 0x14004af34
or dword [rdi + 0x58], 3
lea rcx, [rbp - 0x51]
call fcn.14008fe94
mov ebx, eax
test eax, eax
js 0x14004b493
mov rsi, qword [rbp - 0x51]
jmp 0x14004b056
lea r8, [rbp - 0x59]
mov byte [rbp - 0x59], r12b
mov rcx, rsi
call fcn.140111094
test eax, eax
jns 0x14004af7c
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14004af7c
test dword [rcx + 0x1c], r15d
je 0x14004af7c
cmp byte [rcx + 0x19], 3
jb 0x14004af7c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x1c7
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005ca0
cmp byte [rbp - 0x59], r12b
je 0x14004af87
bts dword [rdi + 0x58], 8
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rsi + rdx*2], r12w
jne 0x14004af8b
mov r8, rdi
mov rcx, rsi
call fcn.14008b130
mov ebx, eax
test eax, eax
jns 0x14004afca
lea r8, [0x140153164]
mov edx, 0x2369
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.1400876c8
mov rcx, qword [0x14017a048]
jmp 0x14004b48f
mov rax, qword [rdi]
cmp rax, qword [0x14017c528]
jne 0x14004afe8
mov rax, qword [rdi + 8]
cmp rax, qword [0x14017c530]
jne 0x14004afe8
bts dword [rdi + 0x58], 0xa
lea rdx, [rdi + 0x10]
mov rcx, rsi
call fcn.140133f38
mov ebx, eax
test eax, eax
jns 0x14004b03c
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14004b48f
test dword [rcx + 0x1c], r15d
je 0x14004b48f
cmp byte [rcx + 0x19], 3
jb 0x14004b48f
mov edx, 0x1c8
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov r9, rsi
call fcn.140005ca0
jmp 0x14004afbe
mov rcx, qword [rdi + 0x10]
lea rdx, [rdi + 0x18]
xor r8d, r8d
call fcn.14008859c
mov ebx, eax
test eax, eax
js 0x14004b493
lea rdx, [rdi + 0x50]
mov rcx, rsi
call fcn.1401357a0
mov ebx, eax
test eax, eax
jns 0x14004b093
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14004b48f
test dword [rcx + 0x1c], r15d
je 0x14004b48f
cmp byte [rcx + 0x19], 3
jb 0x14004b48f
mov edx, 0x1c9
jmp 0x14004b023
lea r8, [rdi + 0x38]
mov dl, 1
mov rcx, rsi
call fcn.14013603c
test eax, eax
jns 0x14004b0d9
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14004b0d9
test byte [rcx + 0x1c], 1
je 0x14004b0d9
cmp byte [rcx + 0x19], 3
jb 0x14004b0d9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x1ca
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005ca0
mov r13d, dword [rdi + 0x38]
lea rdx, [rdi + 0x20]
shr r13d, 0xb
mov rcx, rsi
and r13b, 1
call fcn.140135ddc
mov ebx, eax
test eax, eax
jns 0x14004b133
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14004b48f
test dword [rcx + 0x1c], 0x200
je 0x14004b48f
cmp byte [rcx + 0x19], 3
jb 0x14004b48f
mov edx, 0x1cb
mov dword [rsp + 0x20], ebx
jmp 0x14004b027
mov rcx, qword [rdi + 0x20]
lea rdx, [rdi + 0x28]
xor r8d, r8d
call fcn.14008859c
mov ebx, eax
test eax, eax
js 0x14004b493
lea r15, [rdi + 0x30]
mov rcx, rsi
mov rdx, r15
call fcn.1401352f8
mov ebx, eax
test eax, eax
jns 0x14004b1ad
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14004b48f
test dword [rcx + 0x1c], 0x200
je 0x14004b48f
cmp byte [rcx + 0x19], 3
jb 0x14004b48f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x1cc
mov r9d, ebx
call fcn.140004b9c
jmp 0x14004afbe
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.140134b40
mov ebx, eax
test eax, eax
jns 0x14004b1cd
cmp eax, 0x80780076
jne 0x14004b277
mov qword [r15], r12
mov al, byte [rbp - 0x58]
lea r12, [rdi + 0x40]
mov rdx, r12
mov byte [rdi + 0x56], al
mov rcx, rsi
call fcn.140134e20
mov ebx, eax
test eax, eax
jns 0x14004b232
cmp eax, 0x80070005
jne 0x14004afbe
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14004b22d
test dword [rcx + 0x1c], 0x200
je 0x14004b22d
cmp byte [rcx + 0x19], 3
jb 0x14004b22d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x1ce
mov r9, rsi
call fcn.140005c30
and qword [r12], 0
cmp qword [r15], 0
je 0x14004b2f3
test r13b, r13b
jne 0x14004b2f3
xor r12d, r12d
lea r9, [rbp - 0x41]
lea r8, [rbp - 0x39]
mov qword [rdi + 0x48], r12
lea rdx, [rbp - 0x49]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x14004b2ac
mov rcx, rsi
call fcn.1401373d4
mov ebx, eax
jmp 0x14004b2b7
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14004b48f
test byte [rcx + 0x1c], 1
je 0x14004b48f
cmp byte [rcx + 0x19], 3
jb 0x14004b48f
mov edx, 0x1cd
jmp 0x14004b12a
mov rax, qword [rbp - 0x49]
mov qword [rdi + 0x48], rax
mov ebx, r12d
test ebx, ebx
jns 0x14004b2fe
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14004b48f
test dword [rcx + 0x1c], 0x200
je 0x14004b48f
cmp byte [rcx + 0x19], 3
jb 0x14004b48f
mov edx, 0x1cf
jmp 0x14004b12a
mov rax, qword [r12]
xor r12d, r12d
mov qword [rdi + 0x48], rax
lea rdx, [rdi + 0x57]
mov rcx, rsi
call fcn.14008c370
mov ebx, eax
test eax, eax
jns 0x14004b348
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14004b48f
test dword [rcx + 0x1c], 0x200
je 0x14004b48f
cmp byte [rcx + 0x19], 3
jb 0x14004b48f
mov edx, 0x1d0
jmp 0x14004b12a
mov r8d, 0x28
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
nop dword [rax + rax]
test eax, eax
je 0x14004b3cd
lea rdx, [rbp - 0x57]
lea rcx, [rbp - 0x29]
call fcn.140137004
test eax, eax
jns 0x14004b3b7
mov rcx, qword [0x14017a048]
lea r13, [0x14017a048]
cmp rcx, r13
je 0x14004b3d4
test dword [rcx + 0x1c], 0x200
je 0x14004b3d4
cmp byte [rcx + 0x19], 3
jb 0x14004b3d4
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x29]
mov edx, 0x1d1
mov dword [rsp + 0x20], eax
lea r8, [0x140155bf8]
call fcn.140005ca0
jmp 0x14004b3d4
lea r13, [0x14017a048]
cmp byte [rbp - 0x57], r12b
je 0x14004b3d4
or dword [rdi + 0x58], 0x4200
jmp 0x14004b3d4
lea r13, [0x14017a048]
and word [rdi + 0x54], 0
lea r8, [rdi + 0x5c]
lea rdx, [rdi + 0x60]
mov rcx, rsi
call fcn.14008b700
mov ebx, eax
test eax, eax
jns 0x14004b43c
cmp eax, 0x80070005
jne 0x14004afbe
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14004b42d
test dword [rcx + 0x1c], 0x200
je 0x14004b42d
cmp byte [rcx + 0x19], 3
jb 0x14004b42d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x1d2
mov r9, rsi
call fcn.140005c30
and qword [rdi + 0x60], 0
xor r12d, r12d
mov word [rdi + 0x5c], r12w
jmp 0x14004b43f
xor r12d, r12d
lea rdx, [rdi + 0x78]
mov rcx, rsi
call fcn.140116d18
mov ebx, eax
test eax, eax
jns 0x14004b49b
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14004b48c
test byte [rcx + 0x1c], 1
je 0x14004b48c
cmp byte [rcx + 0x19], 3
jb 0x14004b48c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x1d3
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005ca0
mov rcx, qword [0x14017a048]
mov ebx, r12d
test ebx, ebx
jns 0x14004b4a2
mov rcx, rdi
call fcn.1401419f0
mov rcx, qword [0x14017a048]
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x14004b4c1
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14004b4f1
test dword [rcx + 0x1c], 0x200
je 0x14004b4f1
cmp byte [rcx + 0x19], 4
jb 0x14004b4f1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x1d4
call fcn.140004b70
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14014b700
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret