Function at 0x10011220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102510d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.100111a0
add esp, 8
mov esi, dword [ebp - 0x18]
mov dword [ebp - 4], 0
mov ecx, esi
cmp esi, 3
jb 0x10011264
mov ecx, 3
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov eax, edi
cmp ebx, 0x10
jae 0x10011274
lea eax, [ebp - 0x28]
push ecx
push 0x10256b94
push eax
call fcn.10130260
add esp, 0xc
test eax, eax
jne 0x1001129a
cmp esi, 3
jb 0x1001129f
cmp esi, 3
setne al
test eax, eax
je 0x10011464
cmp esi, 3
jae 0x100112a3
mov ecx, esi
jmp 0x100112a8
mov ecx, 3
mov eax, edi
cmp ebx, 0x10
jae 0x100112b2
lea eax, [ebp - 0x28]
push ecx
push 0x10256b90
push eax
call fcn.10130260
add esp, 0xc
test eax, eax
jne 0x100112d8
cmp esi, 3
jb 0x100112dd
cmp esi, 3
setne al
test eax, eax
je 0x10011464
cmp esi, 3
jae 0x100112e1
mov ecx, esi
jmp 0x100112e6
mov ecx, 3
mov eax, edi
cmp ebx, 0x10
jae 0x100112f0
lea eax, [ebp - 0x28]
push ecx
push 0x10256b8c
push eax
call fcn.10130260
add esp, 0xc
test eax, eax
jne 0x10011336
cmp esi, 3
jb 0x1001133b
cmp esi, 3
setne al
test eax, eax
jne 0x10011336
cmp ebx, 0x10
jb 0x10011320
push edi
call fcn.1023005c
add esp, 4
pop edi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp esi, 3
jae 0x1001133f
mov ecx, esi
jmp 0x10011344
mov ecx, 3
mov eax, edi
cmp ebx, 0x10
jae 0x1001134e
lea eax, [ebp - 0x28]
push ecx
push 0x10256b88
push eax
call fcn.10130260
add esp, 0xc
test eax, eax
jne 0x1001138e
cmp esi, 3
jb 0x10011393
cmp esi, 3
setne al
test eax, eax
jne 0x1001138e
lea ecx, [ebp - 0x28]
call fcn.10001eb0
pop edi
pop esi
mov eax, 4
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp esi, 3
jae 0x10011397
mov ecx, esi
jmp 0x1001139c
mov ecx, 3
mov eax, edi
cmp ebx, 0x10
jae 0x100113a6
lea eax, [ebp - 0x28]
push ecx
push 0x10256b84
push eax
call fcn.10130260
add esp, 0xc
test eax, eax
jne 0x100113e6
cmp esi, 3
jb 0x100113e6
cmp esi, 3
setne al
test eax, eax
jne 0x100113e6
lea ecx, [ebp - 0x28]
call fcn.10001eb0
pop edi
pop esi
mov eax, 5
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x14], 0x10
jb 0x100113f3
mov eax, dword [eax]
push 0x10256a58
push eax
call fcn.102327c7
push 1
push 0x24
mov esi, eax
call fcn.10232993
add esp, 0x10
mov edi, eax
test esi, esi
je 0x10011440
push esi
push 0x23
push 1
push edi
call fcn.1023259a
add esp, 0x10
test eax, eax
je 0x10011437
push esi
call fcn.102322dc
push 0x23
push edi
call fcn.10010960
add esp, 0xc
mov ebx, eax
push esi
call fcn.102322dc
add esp, 4
push edi
call fcn.1023005c
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10001eb0
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x10
jb 0x10011472
push edi
call fcn.1023005c
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 2
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret