Function at 0x100125b6c
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15, qword [rsp + 0xd0]
mov r13, r9
mov qword [rsp + 0x38], r8
mov r14d, edx
mov r12, rcx
mov rcx, qword [0x1001653b8]
lea rdi, [0x1001653b8]
cmp rcx, rdi
je 0x100125bd9
test byte [rcx + 0x1c], 1
je 0x100125bd9
cmp byte [rcx + 0x19], 4
jb 0x100125bd9
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002ef0]
mov edx, 0xf
call fcn.10001c854
movdqu xmm0, xmmword [0x10000f0f8]
xor eax, eax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x34]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x34], eax
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], eax
mov rsi, rax
mov qword [rsp + 0x20], rax
mov rbp, rax
call fcn.10010acd8
mov ebx, eax
test eax, eax
jns 0x100125c4a
mov rcx, qword [0x1001653b8]
cmp rcx, rdi
je 0x100125ead
test byte [rcx + 0x1c], 1
je 0x100125ead
lea edi, [rbp + 2]
cmp byte [rcx + 0x19], dil
jb 0x100125ead
lea edx, [rbp + 0x10]
jmp 0x100125c86
lea rcx, [rsp + 0x2c]
call fcn.1000a1ef0
mov ebx, eax
test eax, eax
jns 0x100125c9e
mov rcx, qword [0x1001653b8]
cmp rcx, rdi
je 0x100125ead
test byte [rcx + 0x1c], 1
je 0x100125ead
mov edi, 2
cmp byte [rcx + 0x19], dil
jb 0x100125ead
lea edx, [rdi + 0xf]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002ef0]
mov r9d, eax
call fcn.10001c878
jmp 0x100125ead
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.100107894
mov edi, 2
test eax, eax
jns 0x100125cf4
mov rcx, qword [0x1001653b8]
lea rdx, [0x1001653b8]
cmp rcx, rdx
je 0x100125d2a
test byte [rcx + 0x1c], 1
je 0x100125d2a
cmp byte [rcx + 0x19], dil
jb 0x100125d2a
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x10]
lea r8, [0x100002ef0]
mov r9d, eax
call fcn.10001c878
jmp 0x100125d2a
cmp eax, 1
jne 0x100125d2a
mov rcx, qword [0x1001653b8]
lea rdx, [0x1001653b8]
cmp rcx, rdx
je 0x100125d2a
test byte [rcx + 0x1c], al
je 0x100125d2a
cmp byte [rcx + 0x19], 4
jb 0x100125d2a
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x12]
lea r8, [0x100002ef0]
call fcn.10001c854
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
lea rdx, [0x100002934]
call fcn.10009bb88
mov ebx, eax
test eax, eax
js 0x100125ea8
xor edx, edx
mov rcx, r15
call fcn.10010b1d8
mov ebx, eax
test eax, eax
js 0x100125ea8
mov ecx, dword [r13 + 0x1c]
call fcn.1000a35bc
mov rsi, qword [rsp + 0x20]
bt eax, 9
jb 0x100125da9
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x100125d9a
mov rcx, rsi
call fcn.100134b20
mov ebx, eax
jmp 0x100125da1
mov rbp, qword [rsp + 0x20]
xor ebx, ebx
test ebx, ebx
js 0x100125ead
mov rcx, r15
call fcn.10010b368
cmp dword [rsp + 0x28], 0
mov r11d, dword [r13 + 0x88]
mov dword [r12], r11d
mov dword [r12 + 0x5c], r14d
je 0x100125dd3
cmp dword [rsp + 0x34], 0
jne 0x100125dd3
xor eax, eax
jmp 0x100125dd8
mov eax, 1
mov rcx, qword [rsp + 0x38]
mov dword [r12 + 0x58], eax
mov eax, dword [r13 + 0x1c]
mov dword [r12 + 0x1c], eax
mov r9, qword [r13 + 0x58]
mov r8d, dword [r13 + 0x50]
mov edx, dword [r13 + 0x1c]
call fcn.100126420
mov r14d, dword [rsp + 0x30]
mov dword [r12 + 0x24], eax
mov eax, dword [r13 + 0x28]
mov dword [r12 + 0xc], r14d
mov dword [r12 + 0x2c], eax
mov r13b, byte [r13 + 0x72]
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x100125e5a
test byte [rcx + 0x1c], 1
je 0x100125e5a
cmp byte [rcx + 0x19], 4
jb 0x100125e5a
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002ef0]
mov edx, 0x17
call fcn.10001c854
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
test r14d, r14d
je 0x100125e69
neg r13b
sbb edi, edi
and edi, 3
inc edi
cmp rcx, rax
je 0x100125e8f
test byte [rcx + 0x1c], 1
je 0x100125e8f
cmp byte [rcx + 0x19], 4
jb 0x100125e8f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002ef0]
mov edx, 0x18
call fcn.10001c854
mov eax, dword [rsp + 0x2c]
shr rbp, 0x14
mov dword [r12 + 0x10], edi
mov dword [r12 + 0x54], eax
mov dword [r12 + 0x30], ebp
jmp 0x100125ead
mov rsi, qword [rsp + 0x20]
mov rcx, r15
call fcn.10010b368
test rsi, rsi
je 0x100125ec3
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x100125ed3
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.10014e600
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret