Function at 0x100125ac8
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 0x100125b35
test byte [rcx + 0x1c], 1
je 0x100125b35
cmp byte [rcx + 0x19], 4
jb 0x100125b35
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f30]
mov edx, 0xf
call fcn.10001c7b8
movdqu xmm0, xmmword [0x100001fe0]
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.10010a848
mov ebx, eax
test eax, eax
jns 0x100125ba6
mov rcx, qword [0x1001653b8]
cmp rcx, rdi
je 0x100125e09
test byte [rcx + 0x1c], 1
je 0x100125e09
lea edi, [rbp + 2]
cmp byte [rcx + 0x19], dil
jb 0x100125e09
lea edx, [rbp + 0x10]
jmp 0x100125be2
lea rcx, [rsp + 0x2c]
call fcn.1000a1914
mov ebx, eax
test eax, eax
jns 0x100125bfa
mov rcx, qword [0x1001653b8]
cmp rcx, rdi
je 0x100125e09
test byte [rcx + 0x1c], 1
je 0x100125e09
mov edi, 2
cmp byte [rcx + 0x19], dil
jb 0x100125e09
lea edx, [rdi + 0xf]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f30]
mov r9d, eax
call fcn.10001c7dc
jmp 0x100125e09
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.100107404
mov edi, 2
test eax, eax
jns 0x100125c50
mov rcx, qword [0x1001653b8]
lea rdx, [0x1001653b8]
cmp rcx, rdx
je 0x100125c86
test byte [rcx + 0x1c], 1
je 0x100125c86
cmp byte [rcx + 0x19], dil
jb 0x100125c86
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x10]
lea r8, [0x100002f30]
mov r9d, eax
call fcn.10001c7dc
jmp 0x100125c86
cmp eax, 1
jne 0x100125c86
mov rcx, qword [0x1001653b8]
lea rdx, [0x1001653b8]
cmp rcx, rdx
je 0x100125c86
test byte [rcx + 0x1c], al
je 0x100125c86
cmp byte [rcx + 0x19], 4
jb 0x100125c86
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x12]
lea r8, [0x100002f30]
call fcn.10001c7b8
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
lea rdx, [0x100002954]
call fcn.10009b5b0
mov ebx, eax
test eax, eax
js 0x100125e04
xor edx, edx
mov rcx, r15
call fcn.10010ad48
mov ebx, eax
test eax, eax
js 0x100125e04
mov ecx, dword [r13 + 0x1c]
call fcn.1000a31e8
mov rsi, qword [rsp + 0x20]
bt eax, 9
jb 0x100125d05
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 0x100125cf6
mov rcx, rsi
call fcn.100134ad4
mov ebx, eax
jmp 0x100125cfd
mov rbp, qword [rsp + 0x20]
xor ebx, ebx
test ebx, ebx
js 0x100125e09
mov rcx, r15
call fcn.10010aed8
cmp dword [rsp + 0x28], 0
mov r11d, dword [r13 + 0x88]
mov dword [r12], r11d
mov dword [r12 + 0x5c], r14d
je 0x100125d2f
cmp dword [rsp + 0x34], 0
jne 0x100125d2f
xor eax, eax
jmp 0x100125d34
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.10012637c
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 0x100125db6
test byte [rcx + 0x1c], 1
je 0x100125db6
cmp byte [rcx + 0x19], 4
jb 0x100125db6
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f30]
mov edx, 0x17
call fcn.10001c7b8
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
test r14d, r14d
je 0x100125dc5
neg r13b
sbb edi, edi
and edi, 3
inc edi
cmp rcx, rax
je 0x100125deb
test byte [rcx + 0x1c], 1
je 0x100125deb
cmp byte [rcx + 0x19], 4
jb 0x100125deb
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f30]
mov edx, 0x18
call fcn.10001c7b8
mov eax, dword [rsp + 0x2c]
shr rbp, 0x14
mov dword [r12 + 0x10], edi
mov dword [r12 + 0x54], eax
mov dword [r12 + 0x30], ebp
jmp 0x100125e09
mov rsi, qword [rsp + 0x20]
mov rcx, r15
call fcn.10010aed8
test rsi, rsi
je 0x100125e1f
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x100125e2f
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.10014e480
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret