Function at 0x1103f90
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.0x1103fa7
push ebx
push esi
push edi
jmp dword [eax*4 + 0x11044a0]
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 0x1103fd6
and eax, 0xfffffffb
jmp 0x1103fd9
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 + 0x8b82]
cmp cl, 3
je 0x110400a
cmp cl, bl
je 0x110400a
and eax, 0xfffffdff
jmp 0x110400f
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, 0x87f6
push edx
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x110404d
cmp dword [ebp - 4], 1
ja 0x110404d
jb 0x1104043
cmp dword [ebp - 8], 0
jae 0x110404d
or dword [esi + 0x438], 0x200
mov eax, dword [edi + 8]
cmp dword [eax + 0xa54], 0
jne 0x110406a
test byte [esi + 0x154], bl
je 0x110406a
or dword [esi + 0x438], 0x20
jmp 0x1104071
and dword [esi + 0x438], 0xffffffdf
or dword [esi + 0x438], 0x3c00
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov cl, byte [edx + 0x8b82]
mov eax, dword [esi + 0x438]
cmp cl, 3
je 0x110409c
cmp cl, bl
je 0x110409c
or eax, 0x4000
jmp 0x11040a1
and eax, 0xffffbfff
mov dword [esi + 0x438], eax
mov eax, dword [edi + 8]
cmp dword [eax + 0xa54], 0
jne 0x11040c4
cmp dword [eax + 0xa4c], 0
je 0x11040d4
test byte [edi + 0x2b6ec], bl
jne 0x11040d4
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 + 0x300]
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 0x110411b
mov dword [edi + 0x1c4], 0x1b
jmp 0x1104127
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 + 0x2ac]
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.0107bbf0
push esi
call fcn.01103e20
test eax, eax
je case.0x1103fa7.8
mov eax, dword [esi + 0x2d3dc]
mov ecx, dword [esi + 8]
push 0x820
push eax
push 0xc
push ecx
call fcn.010dfbc0
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 + 0x8b82]
cmp dl, 3
je 0x11041df
cmp dl, 2
je 0x11041df
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 0x11042ab
mov esi, dword [ebp + 8]
mov esi, dword [esi + 8]
cmp dword [esi + 0xa64], 0
jne 0x11042ab
and ecx, 0xffffdfff
and edx, 0xffffffbf
jmp 0x11042b4
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 + 0x8b82]
mov eax, dword [esi + 0x3b4]
cmp cl, 3
je 0x1104318
mov ebx, 2
cmp cl, bl
je 0x1104318
mov dword [esi + 0x730], ebx
jmp 0x1104322
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.010dfc80
test eax, eax
jne 0x1104360
cmp dword [edi + 0x2d338], eax
je 0x1104360
mov eax, ebx
and dword [esi + 0x3b4], 0xfffffff7
mov ecx, dword [esi + 0x3b4]
mov dword [esi + 0xcc], eax
test eax, eax
je 0x1104390
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.0107a490
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 0x1104438
push 0
push 0
push esi
call fcn.010e4e50
mov eax, dword [esi + 0x2d3dc]
test eax, eax
je case.0x1103fa7.8
push eax
call fcn.0107a7b0
jmp 0x1104172
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2d3dc], 0
jne 0x1104467
push 0
push 0
push esi
call fcn.010e4e50
mov eax, dword [esi + 0x2d3dc]
test eax, eax
je case.0x1103fa7.8
push eax
push esi
call fcn.010e4bb0
jmp 0x1104172
mov esi, dword [ebp + 8]
push 2
push esi
call fcn.0107bbf0
push 0
push esi
call fcn.0107bbf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc