Function at 0x42049e
Capabilities:
Read file on windows

Disassembly:
push 0xf8
mov eax, 0x471ca4
call fcn.0044edb8
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push 0x47b87c
mov ecx, 0x49baa0
call fcn.004034da
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea eax, [ebp + 8]
push eax
call fcn.00402e10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.0041e88e
pop ecx
pop ecx
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 8]
call fcn.004078f5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004028d3
push dword [ebp + 8]
lea ecx, [ebp - 0x104]
call fcn.004023df
mov byte [ebp - 4], 5
push dword [eax]
lea ecx, [ebp - 0x30]
call fcn.004038a6
mov byte [ebp - 4], 7
lea eax, [ebp - 0x100]
cmp dword [ebp - 0x104], eax
je 0x42053b
push dword [ebp - 0x104]
call fcn.0044e64c
pop ecx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x420547
lea eax, [ebp - 0x2c]
push 0x47b878
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00453ec0
add esp, 0xc
xor ebx, ebx
cmp eax, ebx
jne 0x4206b8
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], ebx
jne 0x420597
mov byte [ebp - 4], 2
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.00402a7d
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.004028d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004028d3
mov al, 1
jmp 0x420757
lea ecx, [ebp - 0x4c]
call fcn.00402e36
mov byte [ebp - 4], 8
push 2
push ebx
push dword [ebp - 0x54]
call fcn.0045307c
push dword [ebp - 0x54]
call fcn.00454679
add esp, 0x10
push ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041b692
push dword [ebp - 0x54]
call fcn.00454416
pop ecx
push dword [ebp - 0x54]
push dword [ebp - 0x38]
push esi
push ebx
lea ecx, [ebp - 0x4c]
call fcn.00402680
push eax
call fcn.004543f9
push dword [ebp - 0x54]
call fcn.004531bd
add esp, 0x14
push dword [ebp + 0xc]
lea ecx, [ebp - 0x104]
call fcn.004023df
mov byte [ebp - 4], 9
push dword [eax]
lea ecx, [ebp - 0x80]
call fcn.004038a6
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x420618
mov eax, dword [eax + 4]
jmp 0x42061b
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.004038a6
mov byte [ebp - 4], 0xb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x4c]
push eax
call fcn.00403697
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
call fcn.00420406
add esp, 0x38
mov byte [ebp - 0x4d], al
mov byte [ebp - 4], 9
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.00402a7d
mov byte [ebp - 4], 8
lea eax, [ebp - 0x100]
cmp dword [ebp - 0x104], eax
je 0x42067d
push dword [ebp - 0x104]
call fcn.0044e64c
pop ecx
mov byte [ebp - 4], 7
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00402a7d
mov byte [ebp - 4], 2
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.00402a7d
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.004028d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004028d3
mov al, byte [ebp - 0x4d]
jmp 0x420757
mov byte [ebp - 4], 2
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.00402a7d
mov dword [ebp - 4], esi
jmp 0x42073e
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.004028d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004028d3
xor al, al
call fcn.0044ee14
ret