Function at 0x180032190
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
xor edi, edi
or ebx, 0xffffffff
cmp dword [rcx + 0x21ac], edi
je 0x1800322b9
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rdi
mov word [rbp - 0x39], di
lea rdx, [rbp - 0x39]
call fcn.180032810
test eax, eax
jne 0x180032205
lea r8d, [rdi + 5]
lea rdx, str.NOSET
lea rcx, [rbp - 0x39]
call fcn.180004cc0
lea rcx, [rsi + 0x2180]
lea rdx, [rbp - 0x39]
mov r12, qword [rbp - 0x39]
mov r11, qword [rbp - 0x21]
cmp r11, 8
cmovae rdx, r12
mov r9, qword [rcx + 0x10]
cmp r9, r9
cmp qword [rcx + 0x18], 8
jb 0x180032231
mov rcx, qword [rcx]
mov r10, qword [rbp - 0x29]
mov r8, r10
cmp r9, r10
cmovb r8, r9
test r8, r8
je 0x18003226a
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x18003225b
add rcx, 2
add rdx, 2
dec r8
jne 0x180032244
jmp 0x18003226a
mov r8d, 1
cmp word [rcx], ax
cmovb r8d, ebx
jmp 0x18003226d
mov r8d, edi
movsxd rax, r8d
test r8d, r8d
jne 0x180032286
cmp r9, r10
jae 0x18003227e
mov eax, ebx
jmp 0x180032286
mov eax, edi
cmp r9, r10
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x1800322a9
cmp r11, 8
jb 0x1800322a2
mov rcx, r12
call fcn.18007a7a4
xor eax, eax
jmp 0x180032437
cmp r11, 8
jb 0x1800322f5
mov rcx, r12
call fcn.18007a7a4
jmp 0x1800322f5
lea rdx, [rcx + 0x2180]
call fcn.180032810
test eax, eax
jne 0x1800322e0
lea r8d, [rax + 5]
lea rdx, str.NOSET
lea rcx, [rsi + 0x2180]
call fcn.180004cc0
mov r8d, 1
mov dword [rsi + 0x21ac], r8d
mov rcx, rsi
call fcn.180032460
mov qword [rbp + 0x2f], 7
mov qword [rbp + 0x27], rdi
mov word [rbp + 0x17], di
mov r8d, 9
lea rdx, str.UDISKSIZE
lea rcx, [rbp + 0x17]
call fcn.180004cc0
nop
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rdi
mov word [rbp - 0x39], di
mov r8d, 9
lea rdx, [0x1800a8448]
lea rcx, [rbp - 0x39]
call fcn.180004cc0
nop
mov qword [rbp + 7], 7
mov qword [rbp - 1], rdi
mov word [rbp - 0x11], di
lea r9, [rbp - 0x11]
lea r8, [rbp + 0x17]
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.18002c0f0
cmp qword [rbp - 1], 0
je 0x1800323b2
lea rcx, [rbp - 0x11]
call fcn.18002bf10
cmp qword [rbp - 1], 0
je 0x1800323b2
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
lea r8, [rbp - 0x59]
lea rdx, [0x1800a99cc]
call fcn.18007ba60
mov r12d, dword [rbp - 0x59]
cmp qword [rbp + 7], 8
jb 0x1800323c5
mov rcx, qword [rbp - 0x11]
call fcn.18007a7a4
jmp 0x1800323c5
cmp qword [rbp + 7], 8
jb 0x1800323c2
mov rcx, qword [rbp - 0x11]
call fcn.18007a7a4
mov r12d, ebx
cmp qword [rbp - 0x21], 8
jb 0x1800323d5
mov rcx, qword [rbp - 0x39]
call fcn.18007a7a4
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rdi
mov word [rbp - 0x39], di
cmp qword [rbp + 0x2f], 8
jb 0x1800323f5
mov rcx, qword [rbp + 0x17]
call fcn.18007a7a4
cmp r12d, 0xffffffff
je 0x1800322a2
lea rcx, [rsi + 0x90]
lea r9, [rbp - 0x41]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x180032424
mov rbx, qword [rbp - 0x59]
shr rbx, 0x14
sub ebx, r12d
jns 0x18003242b
neg ebx
cmp ebx, 0x1f4
setl dil
mov eax, edi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18007a7c0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret