Function at 0x42049d
Capabilities:
Read file on windows

Disassembly:
push 0xf8
mov eax, 0x471cc2
call fcn.0044edbf
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push 0x47b87c
mov ecx, 0x49baa0
call fcn.004034df
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.0041e88d
pop ecx
pop ecx
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 8]
call fcn.004078fa
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.004038ab
mov byte [ebp - 4], 7
lea eax, [ebp - 0x100]
cmp dword [ebp - 0x104], eax
je 0x42053a
push dword [ebp - 0x104]
call fcn.0044e653
pop ecx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x420546
lea eax, [ebp - 0x2c]
push 0x47b878
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00453ee0
add esp, 0xc
xor ebx, ebx
cmp eax, ebx
jne 0x4206b7
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], ebx
jne 0x420596
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 0x420756
lea ecx, [ebp - 0x4c]
call fcn.00402e36
mov byte [ebp - 4], 8
push 2
push ebx
push dword [ebp - 0x54]
call fcn.0045309c
push dword [ebp - 0x54]
call fcn.00454699
add esp, 0x10
push ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041b691
push dword [ebp - 0x54]
call fcn.00454436
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.00454419
push dword [ebp - 0x54]
call fcn.004531dd
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.004038ab
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x420617
mov eax, dword [eax + 4]
jmp 0x42061a
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.004038ab
mov byte [ebp - 4], 0xb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x4c]
push eax
call fcn.0040369c
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
call fcn.00420405
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 0x42067c
push dword [ebp - 0x104]
call fcn.0044e653
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 0x420756
mov byte [ebp - 4], 2
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.00402a7d
mov dword [ebp - 4], esi
jmp 0x42073d
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.0044ee1b
ret