Function at 0x404c00
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x410760]
sub esp, 0xc
test eax, eax
push ebp
mov ebp, dword [esp + 0x18]
push esi
je 0x404d79
test ebp, ebp
jl 0x404d81
mov eax, dword [0x41959c]
mov dword [0x410760], 0
test eax, eax
je 0x404c3f
push str.method__crc_____date__time
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
mov eax, dword [0x4195a0]
test eax, eax
jne 0x404c56
push str.compressed__uncompr._ratio_uncompressed_name_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
mov eax, dword [0x47316c]
or esi, 0xffffffff
cmp ebp, 8
push edi
mov dword [0x443000], 0xffffffff
mov dword [0x473164], eax
jne 0x404d35
mov eax, dword [0x473040]
test eax, eax
jne 0x404d35
mov edi, dword [esp + 0x1c]
push 2
push 0xfffffffffffffff8
push edi
call dword [sym.imp.MSVCRT.dll__lseek]
add esp, 0xc
cmp eax, 0xffffffff
mov dword [0x473164], eax
je 0x404d35
lea ecx, [esp + 0xc]
push ebp
add eax, ebp
push ecx
push edi
mov dword [0x473164], eax
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
cmp eax, ebp
je 0x404cc4
call fcn.0040c090
mov esi, dword [esp + 0xf]
mov edx, dword [esp + 0xe]
mov eax, dword [esp + 0xd]
and esi, 0xff
mov ecx, dword [esp + 0xc]
and edx, 0xff
shl esi, 8
or esi, edx
mov edx, dword [esp + 0x13]
shl esi, 8
and eax, 0xff
and edx, 0xff
or esi, eax
mov eax, dword [esp + 0x12]
shl esi, 8
and ecx, 0xff
and eax, 0xff
shl edx, 8
or esi, ecx
mov ecx, dword [esp + 0x11]
or edx, eax
mov eax, dword [esp + 0x10]
shl edx, 8
and ecx, 0xff
and eax, 0xff
or edx, ecx
shl edx, 8
or edx, eax
mov dword [0x443000], edx
push 0x436660
call dword [sym.imp.MSVCRT.dll_ctime]
add eax, 4
xor edi, edi
add esp, 4
mov byte [eax + 0xc], 0
mov ecx, dword [0x41959c]
cmp ecx, edi
je 0x404e01
mov ecx, dword [ebp*4 + 0x410764]
push eax
push esi
mov esi, dword [sym.imp.MSVCRT.dll_printf]
push ecx
push str._5s__08lx__11s
call esi
add esp, 0x10
jmp 0x404e07
test ebp, ebp
jge 0x404c56
mov ecx, dword [0x4195b4]
test ecx, ecx
jle 0x404e81
mov eax, dword [0x4195b8]
test eax, eax
jle 0x404e81
mov edx, dword [0x41959c]
mov esi, dword [sym.imp.MSVCRT.dll_printf]
test edx, edx
je 0x404db5
push eax
push ecx
push str._____________________________9lu__9lu
jmp 0x404dc6
mov edx, dword [0x4195a0]
test edx, edx
jne 0x404dd6
push eax
push ecx
push str._9ld__9ld
call esi
mov ecx, dword [0x4195b4]
mov eax, dword [0x4195b8]
add esp, 0xc
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x20
push edx
mov edx, dword [0x436610]
sub edx, ecx
push eax
add edx, eax
push edx
call fcn.0040c120
push str.__totals__n
call esi
add esp, 0x10
pop esi
pop ebp
add esp, 0xc
ret
mov esi, dword [sym.imp.MSVCRT.dll_printf]
mov edx, dword [0x443000]
mov eax, dword [0x473164]
push edx
push eax
push str._9ld__9ld
call esi
mov ecx, dword [0x473164]
add esp, 0xc
cmp ecx, 0xffffffff
jne 0x404e87
mov dword [0x4195b4], ecx
xor eax, eax
xor ecx, ecx
mov dword [0x436610], edi
mov dword [0x443000], eax
mov dword [0x473164], ecx
mov edx, dword [0x4195b8]
cmp edx, edi
jl 0x404e56
add edx, eax
mov dword [0x4195b8], edx
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x20
push edx
push eax
sub eax, ecx
mov ecx, dword [0x436610]
add eax, ecx
push eax
call fcn.0040c120
push 0x436680
push str.__s_n
call esi
add esp, 0x14
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, dword [0x4195b4]
cmp eax, edi
jl 0x404e97
add eax, ecx
mov dword [0x4195b4], eax
mov eax, dword [0x443000]
cmp eax, 0xffffffff
jne 0x404e44
mov dword [0x4195b8], eax
xor eax, eax
xor ecx, ecx
mov dword [0x436610], edi
mov dword [0x443000], eax
mov dword [0x473164], ecx
jmp 0x404e56