Function at 0x1102560
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x20
cmp eax, 0xb
ja case.default.0x1102577
push ebx
push esi
push edi
jmp dword [eax*4 + 0x1102a70]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, 2
or dword [esi + 0x438], ebx
mov ecx, dword [edi + 8]
cmp dword [ecx + 0xa54], 0
mov eax, dword [esi + 0x438]
je 0x11025a6
and eax, 0xfffffffb
jmp 0x11025a9
or eax, 4
mov dword [esi + 0x438], eax
and eax, 0xfffffefe
or eax, 0x98
mov dword [esi + 0x438], eax
mov edx, dword [edi + 8]
mov ecx, dword [edx]
mov cl, byte [ecx + 0x8b7a]
cmp cl, 3
je 0x11025da
cmp cl, bl
je 0x11025da
and eax, 0xfffffdff
jmp 0x11025df
or eax, 0x200
mov dword [esi + 0x438], eax
mov ecx, dword [edi + 8]
push 0
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ecx]
lea eax, [ebp - 8]
push eax
add edx, 0x87ee
push edx
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x110261d
cmp dword [ebp - 4], 1
ja 0x110261d
jb 0x1102613
cmp dword [ebp - 8], 0
jae 0x110261d
or dword [esi + 0x438], 0x200
mov eax, dword [edi + 8]
cmp dword [eax + 0xa54], 0
jne 0x110263a
test byte [esi + 0x154], bl
je 0x110263a
or dword [esi + 0x438], 0x20
jmp 0x1102641
and dword [esi + 0x438], 0xffffffdf
or dword [esi + 0x438], 0x3c00
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov cl, byte [edx + 0x8b7a]
mov eax, dword [esi + 0x438]
cmp cl, 3
je 0x110266c
cmp cl, bl
je 0x110266c
or eax, 0x4000
jmp 0x1102671
and eax, 0xffffbfff
mov dword [esi + 0x438], eax
mov eax, dword [edi + 8]
cmp dword [eax + 0xa54], 0
jne 0x1102694
cmp dword [eax + 0xa4c], 0
je 0x11026a4
test byte [edi + 0x2b6ec], bl
jne 0x11026a4
and dword [esi + 0x1b8], 0xfffffffb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
or dword [esi + 0x1b8], 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x2f4]
lea edx, [ebp - 0x20]
push edx
call eax
mov ax, word [ebp - 0x18]
mov edi, dword [ebp + 0xc]
mov dword [edi + 0x1c0], 0
test ax, ax
jne 0x11026eb
mov dword [edi + 0x1c4], 0x1b
jmp 0x11026f7
movzx ecx, ax
add ecx, 3
mov dword [edi + 0x1c4], ecx
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x2a0]
call ecx
xor edx, edx
mov ecx, 0x3c
div ecx
push 4
push esi
mov dword [edi + 0x1bc], 1
mov dword [edi + 0x1c8], edx
mov edx, dword [edi + 0x1b4]
and edx, 0xffffffbf
or edx, 0x3f
mov dword [edi + 0x1b4], edx
call fcn.0107b220
push esi
call fcn.011023f0
test eax, eax
je case.0x1102577.8
mov eax, dword [esi + 0x2d3dc]
mov ecx, dword [esi + 8]
push 0x820
push eax
push 0xc
push ecx
call fcn.010de600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x1b8]
or dword [ecx + 0x5c8], 4
mov edx, dword [ebp + 8]
and eax, 0xffffff3f
or eax, 0x113
mov dword [ecx + 0x1b8], eax
mov edx, dword [edx + 8]
mov edx, dword [edx]
mov dl, byte [edx + 0x8b7a]
cmp dl, 3
je 0x11027af
cmp dl, 2
je 0x11027af
pop edi
and eax, 0xffffffdf
or eax, 8
pop esi
mov dword [ecx + 0x1b8], eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
and eax, 0xfffffff7
or eax, 0x20
pop esi
mov dword [ecx + 0x1b8], eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x6d4]
or dword [eax + 0xc90], 0x1f
or dword [eax + 0x6a0], 0x3f
mov edx, dword [ebp + 8]
and ecx, 0xfffffff7
mov ebx, 1
or ecx, 0x17
mov dword [eax + 0x6d4], ecx
mov ecx, dword [eax + 0xc90]
mov dword [eax + 0x6a8], ebx
mov dword [eax + 0x6d8], ebx
mov edx, dword [edx + 0x2b6ec]
shr edx, 0xe
not edx
xor edx, ecx
and edx, 0x20
xor edx, ecx
mov ecx, dword [eax + 0xcf0]
pop edi
and ecx, 0xffffffbf
or ecx, 0xbd
pop esi
mov dword [eax + 0xc94], ebx
mov dword [eax + 0xcf4], ebx
mov dword [eax + 0xc90], edx
mov dword [eax + 0xcf0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
or dword [eax + 0xcc0], 0x3f
mov ecx, dword [eax + 0xc8]
mov edx, dword [eax + 0xcc0]
test ecx, 0x200
jne 0x110287b
mov esi, dword [ebp + 8]
mov esi, dword [esi + 8]
cmp dword [esi + 0xa64], 0
jne 0x110287b
and ecx, 0xffffdfff
and edx, 0xffffffbf
jmp 0x1102884
or ecx, 0x2000
or edx, 0x40
or dword [eax + 0xcf0], 2
mov ebx, 1
pop edi
pop esi
mov dword [eax + 0xcc4], ebx
mov dword [eax + 0xcc8], ebx
mov dword [eax + 0xcc0], edx
mov dword [eax + 0xc8], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
or dword [esi + 0x3b4], 0x200
mov edi, dword [ebp + 8]
mov edx, dword [edi + 8]
mov ecx, dword [edx]
mov cl, byte [ecx + 0x8b7a]
mov eax, dword [esi + 0x3b4]
cmp cl, 3
je 0x11028e8
mov ebx, 2
cmp cl, bl
je 0x11028e8
mov dword [esi + 0x730], ebx
jmp 0x11028f2
mov dword [esi + 0x730], 0
and eax, 0xffffff3f
or eax, 0x133
mov ebx, 1
mov dword [esi + 0x734], ebx
mov dword [esi + 0x40c], 0
mov dword [esi + 0x3b4], eax
mov edx, dword [edi + 8]
push 0xb
push edx
call fcn.010de6c0
test eax, eax
jne 0x1102930
cmp dword [edi + 0x2d338], eax
je 0x1102930
mov eax, ebx
and dword [esi + 0x3b4], 0xfffffff7
mov ecx, dword [esi + 0x3b4]
mov dword [esi + 0xcc], eax
test eax, eax
je 0x1102960
and ecx, 0xfffffffb
and dword [esi + 0x438], 0xffffffbf
pop edi
mov dword [esi + 0x3b4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
or ecx, 4
and dword [esi + 0x438], 0xffffffbf
pop edi
mov dword [esi + 0x3b4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
xor edi, edi
push 0x82
lea eax, [esi + 0x204]
push edi
push eax
mov dword [esi + 0x1f8], edi
mov dword [esi + 0x1fc], edi
mov dword [esi + 0x200], edi
call sub.msvcrt.dll_memset
push 0x82
lea ecx, [esi + 0x286]
push edi
push ecx
call sub.msvcrt.dll_memset
push 0x82
push edi
add esi, 0x308
push esi
call sub.msvcrt.dll_memset
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push edx
call fcn.01079ac0
pop edi
mov dword [esi + 0x67c], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2d3dc], 0
jne 0x1102a08
push 0
push 0
push esi
call fcn.010e3890
mov eax, dword [esi + 0x2d3dc]
test eax, eax
je case.0x1102577.8
push eax
call fcn.01079de0
jmp 0x1102742
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2d3dc], 0
jne 0x1102a37
push 0
push 0
push esi
call fcn.010e3890
mov eax, dword [esi + 0x2d3dc]
test eax, eax
je case.0x1102577.8
push eax
push esi
call fcn.010e35f0
jmp 0x1102742
mov esi, dword [ebp + 8]
push 2
push esi
call fcn.0107b220
push 0
push esi
call fcn.0107b220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc