Function at 0x18003f730
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13d, r9d
mov rsi, r8
mov r12, rdx
mov rbx, rcx
mov qword [rbp - 0x21], 7
xor r14d, r14d
mov qword [rbp - 0x29], r14
mov word [rbp - 0x39], r14w
xor r8d, r8d
lea rdx, [0x1800a4614]
lea rcx, [rbp - 0x39]
call fcn.180004cc0
nop
cmp qword [r12 + 0x10], 3
jbe 0x18003f8e6
lea r9d, [r14 + 4]
xor r8d, r8d
lea rdx, [rbp - 0x11]
mov rcx, r12
call fcn.18000b940
mov rdi, rax
lea rax, [rbp - 0x39]
cmp rax, rdi
je 0x18003f81e
cmp qword [rbp - 0x21], 8
jb 0x18003f7cc
mov rcx, qword [rbp - 0x39]
call fcn.18007a7a4
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r14
mov word [rbp - 0x39], r14w
cmp qword [rdi + 0x18], 8
jae 0x18003f7fc
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.18007abc0
jmp 0x18003f806
mov rax, qword [rdi]
mov qword [rbp - 0x39], rax
mov qword [rdi], r14
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x29], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x21], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
cmp qword [rbp + 7], 8
jb 0x18003f82e
mov rcx, qword [rbp - 0x11]
call fcn.18007a7a4
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
mov r8d, 4
mov r9, qword [rbp - 0x29]
cmp r9, r8
cmovb r8, r9
lea rdx, [0x1800acd80]
or r10d, 0xffffffff
test r8, r8
je 0x18003f886
nop dword [rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x18003f877
add rcx, 2
add rdx, 2
dec r8
jne 0x18003f860
jmp 0x18003f886
mov r8d, 1
cmp word [rcx], ax
cmovb r8d, r10d
jmp 0x18003f889
mov r8d, r14d
movsxd rax, r8d
test r8d, r8d
jne 0x18003f8a6
cmp r9, 4
jae 0x18003f89c
mov eax, r10d
jmp 0x18003f8a6
mov eax, r14d
cmp r9, 4
setne al
test eax, eax
sete al
test al, al
je 0x18003f8e6
mov r9, qword [r12 + 0x10]
dec r9
mov r8d, 4
lea rdx, [rbp - 0x11]
mov rcx, r12
call fcn.18000b940
nop
mov rdx, rax
mov rcx, r12
call fcn.180004950
nop
cmp qword [rbp + 7], 8
jb 0x18003f8e6
mov rcx, qword [rbp - 0x11]
call fcn.18007a7a4
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r14
mov word [rbp - 0x61], r14w
lea rdx, [rbp - 0x61]
mov rcx, r12
call fcn.180027180
lea r9, [rbp - 0x71]
lea r8, [rbp - 0x79]
lea rdx, [rsp + 0x40]
test al, al
je 0x18003f924
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rcx, qword [rbp - 0x61]
jmp 0x18003f926
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
setne al
test al, al
jne 0x18003f95b
cmp qword [rbp - 0x49], 8
jb 0x18003f945
mov rcx, qword [rbp - 0x61]
call fcn.18007a7a4
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r14
mov word [rbp - 0x61], r14w
jmp 0x18003fa66
cmp qword [rsp + 0x40], rbx
jbe 0x18003fa45
mov r8d, r13d
mov rdx, rsi
mov rcx, r12
call fcn.18003f5a0
test eax, eax
jne 0x18003f99e
cmp qword [rbp - 0x49], 8
jb 0x18003f988
mov rcx, qword [rbp - 0x61]
call fcn.18007a7a4
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r14
mov word [rbp - 0x61], r14w
jmp 0x18003fa66
cmp qword [rsi + 0x18], 8
jb 0x18003f9a8
mov rsi, qword [rsi]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 7]
mov rcx, rsi
call qword [0x1800d95d8]
mov rdi, rax
mov qword [rsp + 0x48], r14
test r13d, r13d
je 0x18003f9e8
add rbx, 0x200
jmp 0x18003f9ef
sub rbx, 0x200
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, rax
call qword [0x1800d9628]
mov rcx, rdi
call qword [0x1800d9668]
nop
cmp qword [rbp - 0x49], 8
jb 0x18003fa1d
mov rcx, qword [rbp - 0x61]
call fcn.18007a7a4
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r14
mov word [rbp - 0x61], r14w
cmp qword [rbp - 0x21], 8
jb 0x18003fa3e
mov rcx, qword [rbp - 0x39]
call fcn.18007a7a4
mov eax, 1
jmp 0x18003fa78
cmp qword [rbp - 0x49], 8
jb 0x18003fa55
mov rcx, qword [rbp - 0x61]
call fcn.18007a7a4
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r14
mov word [rbp - 0x61], r14w
cmp qword [rbp - 0x21], 8
jb 0x18003fa76
mov rcx, qword [rbp - 0x39]
call fcn.18007a7a4
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18007a7c0
add rsp, 0xf0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret