Function at 0x49a111
Capabilities:
Read file on windows

Disassembly:
push 0x14
mov eax, 0x5522c6
call fcn.00523c2e
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x49a318
cmp dword [ebx + 8], esi
je 0x49a318
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
or dword [ebx + 0x34], 0xffffffff
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
jmp 0x49a306
mov eax, dword [ebx + 0x34]
cmp eax, 0xffffffff
je 0x49a1da
cmp eax, esi
je 0x49a32a
cmp eax, 1
je 0x49a1d5
cmp eax, 2
je 0x49a1aa
cmp eax, 3
jne 0x49a322
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x40], eax
lea esi, [eax + 1]
mov eax, dword [ebp + 0x10]
call fcn.0042c3df
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x40]
mov edx, dword [eax]
mov byte [ecx + edx], 0
mov esi, dword [ebx + 0x40]
call fcn.0042c3df
xor eax, eax
cmp dword [ebx + 0x40], eax
je 0x49a1a6
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
xor esi, esi
jmp 0x49a1e8
mov eax, dword [ebx + 0x30]
push dword [ebp - 0x1c]
mov dword [ebx + 0x40], eax
push dword [ebp - 0x20]
shr eax, 1
lea esi, [eax + 1]
lea eax, [ebp - 0x10]
push eax
lea edi, [ebp - 0x20]
call fcn.0045d0a8
mov eax, esi
mov ecx, edi
call fcn.0049a86f
mov eax, dword [ebp - 0x20]
jmp 0x49a1a6
lea eax, [ebx + 0x30]
jmp 0x49a1e1
mov eax, dword [ebp + 8]
or dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x40], 4
cmp byte [ebx + 0x2c], 0
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x44], esi
jne 0x49a322
lea eax, [ebx + 0x40]
cmp dword [eax], esi
jle 0x49a28f
cmp dword [ebx + 0x104c], esi
je 0x49a252
mov ecx, dword [ebx + 0x104c]
cmp ecx, dword [eax]
jge 0x49a21b
lea eax, [ebx + 0x104c]
mov edi, dword [eax]
cmp edi, esi
jle 0x49a285
mov eax, dword [ebx + 0x1048]
lea eax, [eax + ebx + 0x48]
push edi
push eax
mov eax, dword [ebx + 0x44]
add eax, dword [ebx + 0x3c]
push eax
call fcn.00517f10
add dword [ebx + 0x1048], edi
sub dword [ebx + 0x104c], edi
add dword [ebx + 0x44], edi
sub dword [ebx + 0x40], edi
add esp, 0xc
xor esi, esi
jmp 0x49a285
push dword [ebx + 8]
lea eax, [ebx + 0x48]
push 0x1000
push 1
push eax
call fcn.00516927
add esp, 0x10
cmp eax, esi
je 0x49a322
cmp eax, 0xffffffff
je 0x49a322
mov dword [ebx + 0x104c], eax
mov dword [ebx + 0x1048], esi
cmp byte [ebx + 0x2c], 0
je 0x49a1f8
cmp byte [ebx + 0x2c], 0
jne 0x49a322
mov eax, dword [ebx + 0x44]
add dword [ebx + 4], eax
mov eax, dword [ebx + 0x34]
cmp eax, 0xffffffff
je 0x49a2ce
cmp eax, 1
je 0x49a2ee
cmp eax, 2
je 0x49a2b6
cmp eax, 3
jmp 0x49a2ec
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jne 0x49a2c3
mov eax, 0x584a64
push eax
push dword [ebp + 0xc]
call fcn.0040411c
jmp 0x49a2ee
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
xor eax, eax
cmp ecx, dword [eax*4 + 0x59147c]
je 0x49a2e6
inc eax
cmp eax, 3
jl 0x49a2d5
jmp 0x49a2e9
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x49a322
inc dword [ebx + 0x38]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
imul ecx, ecx, 5
add ecx, dword [ebx + 0x38]
mov eax, dword [ecx*4 + 0x591488]
mov dword [ebx + 0x34], eax
cmp byte [ebx + 0x2c], 0
je 0x49a14e
lea esi, [ebp - 0x20]
call fcn.00426e9d
xor al, al
call fcn.00523d06
ret 0x10
mov byte [ebx + 0x2c], 1
xor bl, bl
jmp 0x49a334
inc dword [ebx]
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
mov bl, 1
lea esi, [ebp - 0x20]
call fcn.00426e9d
mov al, bl
jmp 0x49a31a