Function at 0x1007a110
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov dword [esp + 8], 0
lea edx, [eax - 2]
nop word cs:[eax + eax]
cmp word [edx + 2], 0
lea edx, [edx + 2]
jne 0x1007a140
mov esi, esp
mov ecx, esi
push edx
push eax
call fcn.10024ff4
lea eax, [esp + 2]
mov dword [esp + 0x1c], eax
jmp 0x1007a168
test ebx, ebx
je 0x1007a3ba
mov dword [esp + 0x20], 0
call fcn.1007dcd0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
call fcn.100771b0
add esp, 0x10
movzx eax, byte [esp + 0x30]
test eax, eax
je 0x1007a31a
cmp eax, 2
je 0x1007a31a
cmp eax, 0xff
je 0x1007a31a
mov ecx, esi
call fcn.10028d30
cmp edx, 0x7ffffff8
jae 0x1007a3c7
cmp edx, 5
jae 0x1007a1e0
mov ecx, edx
add cl, dl
mov byte [esp + 0x38], cl
lea esi, [esp + 0x3a]
test edx, edx
jne 0x1007a215
jmp 0x1007a228
mov dword [esp + 0x2c], eax
mov ebx, edx
or ebx, 3
inc ebx
js 0x1007a3d0
mov edi, edx
lea eax, [ebx + ebx]
push eax
call fcn.10027250
add esp, 4
mov esi, eax
mov edx, edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], esi
or ebx, 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
mov ecx, edx
add ecx, edx
push ecx
push eax
push esi
mov edi, edx
call sub.msvcrt.dll_memmove
mov edx, edi
add esp, 0xc
mov word [esi + edx*2], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x10], xmm0
movzx eax, byte [esp]
test al, 1
je 0x1007a260
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x1007a266
shr eax, 1
lea ecx, [esp + 2]
mov esi, esp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
sub esp, 8
movsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
lea ecx, [esp + 0x18]
call fcn.10029eb0
mov ebx, eax
test eax, eax
je 0x1007a2c0
movzx eax, byte [esp + 0x10]
test byte [esp], 1
jne 0x1007a2d0
test al, 1
jne 0x1007a2de
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x10]
movsd qword [esp], xmm0
jmp 0x1007a2fe
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 2
jmp 0x1007a2fe
test al, 1
je 0x1007a2ef
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x1007a2f5
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.1002b950
jmp 0x1007a2fe
shr eax, 1
lea edx, [esp + 0x12]
mov ecx, esi
push eax
push edx
call fcn.1002b9f0
test byte [esp + 0x10], 1
je 0x1007a160
push dword [esp + 0x18]
call fcn.10027320
add esp, 4
jmp 0x1007a160
test byte [esp], 1
je 0x1007a328
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1007a380
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], 0
mov dword [eax], 1
movsd xmm0, qword [esp + 0x10]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [eax + 0x18], xmm0
xor esi, esi
test byte [esp], 1
jne 0x1007a3a4
jmp 0x1007a3b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10074ea0
add esp, 4
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], esi
mov esi, 0xffffffff
test byte [esp], 1
je 0x1007a3b0
push dword [esp + 8]
call fcn.10027320
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, 0xffffffff
test byte [esp], 1
jne 0x1007a3a4
jmp 0x1007a3b0
lea ecx, [esp + 0x38]
call fcn.1002423c
call fcn.100242ba
mov esi, eax
test byte [esp], 1
je 0x1007a41a
jmp 0x1007a40e
push dword [esp + 8]
call fcn.10027320
add esp, 4
push esi
call fcn.1007c5f0