Function at 0x407073
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov ecx, 0x49
dec ecx
mov dword [esp + ecx*4], 0xfffa5a5a
jne 0x407081
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
push dword [0x4b47bc]
call sub.CRTDLL.DLL_feof
add esp, 4
cmp eax, 0
jne 0x4074c9
mov dword [ebp - 8], 4
push dword [0x4b47bc]
push dword [ebp - 8]
push 1
push dword [ebp - 4]
call sub.CRTDLL.DLL_fread
add esp, 0x10
mov edi, dword [ebp - 8]
add edi, dword [ebp - 4]
mov dword [ebp - 4], edi
push 3
push 0x5405f7
push dword [ebp + 8]
call sub.CRTDLL.DLL_strncmp
add esp, 0xc
cmp eax, 0
jne 0x4073b6
push dword [0x4b47bc]
push 1
push 1
push dword [ebp - 4]
call sub.CRTDLL.DLL_fread
add esp, 0x10
inc dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esi, edi
add esi, 1
mov dword [ebp - 4], esi
cmp byte [edi], 0xa
jne 0x4070fa
mov edi, dword [ebp - 4]
mov byte [edi], 0
mov edi, dword [ebp - 8]
sub dword [0x4aec4c], edi
mov dword [ebp - 8], 0
cmp dword [0x4aec38], 0
je 0x407360
lea edi, [ebp - 0x14]
push edi
push str._:DD__X
push dword [ebp + 8]
call fcn.00491acc
add esp, 0xc
cmp eax, 1
jne 0x407179
push dword [0x4b47bc]
call sub.CRTDLL.DLL_ftell
add esp, 4
mov esi, dword [ebp - 0x14]
sub esi, eax
mov dword [ebp - 0x10], esi
jmp 0x407335
lea edi, [ebp - 0x14]
push edi
push str._:FC__X
push dword [ebp + 8]
call fcn.00491acc
add esp, 0xc
cmp eax, 1
jne 0x4071c1
cmp dword [0x4aecd4], 0
je 0x407335
mov dword [0x4aecd4], 0
push str.YPA13_10_n
push dword [ebp + 8]
call fcn.00491c0d
add esp, 8
mov dword [ebp - 8], eax
jmp 0x407335
lea edi, [ebp - 0x1c]
push edi
lea edi, [ebp - 0x1d]
push edi
lea edi, [ebp - 0x18]
push edi
lea edi, [ebp - 0x14]
push edi
push str._:FI__X___X___X___X
push dword [ebp + 8]
call fcn.00491acc
add esp, 0x18
cmp eax, 4
jne 0x407335
inc dword [0x4ae670]
mov edi, dword [ebp - 0x18]
add dword [0x4a1cb0], edi
mov edi, dword [ebp + 8]
add edi, 0x28
mov dword [ebp - 0xc], edi
lea edi, [ebp - 0x124]
mov dword [ebp - 0x24], edi
jmp 0x407227
mov edi, dword [ebp - 0x24]
mov esi, edi
add esi, 1
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0xc]
mov ebx, esi
add ebx, 1
mov dword [ebp - 0xc], ebx
mov bl, byte [esi]
mov byte [edi], bl
mov edi, dword [ebp - 0xc]
cmp byte [edi], 0x3e
jne 0x40720d
mov edi, dword [ebp - 0x24]
mov byte [edi], 0
mov edi, dword [ebp + 8]
mov byte [edi], 0
call sub.winmm.dll_timeGetTime
mov edi, eax
sub edi, dword [0x4a30c4]
cmp edi, 0xc8
jbe 0x40726d
call sub.winmm.dll_timeGetTime
mov dword [0x4a30c4], eax
push str.XCU1_n
push dword [ebp + 8]
call fcn.00491c0d
add esp, 8
mov dword [ebp - 8], eax
push dword [ebp - 0x1c]
movzx ebx, byte [ebp - 0x1d]
push ebx
push dword [ebp - 0x18]
lea edi, [ebp - 0x124]
push edi
call fcn.00407007
add esp, 0x10
cmp eax, 0
je 0x4072c0
cmp dword [0x4aecd4], 0
je 0x407335
mov dword [0x4aecd4], 0
push str.YPA13_10_n
mov edi, dword [ebp - 8]
mov esi, edi
add esi, dword [ebp + 8]
push esi
call fcn.00491c0d
add esp, 8
add edi, eax
mov dword [ebp - 8], edi
jmp 0x407335
push dword [0x4b47bc]
call sub.CRTDLL.DLL_ftell
add esp, 4
mov esi, dword [ebp - 0x14]
sub esi, eax
mov dword [ebp - 0x10], esi
push 0x2f
lea edi, [ebp - 0x124]
push edi
call sub.CRTDLL.DLL_strrchr
add esp, 8
mov edi, eax
add edi, 1
mov dword [ebp - 0xc], edi
lea edi, [ebp - 0x124]
push edi
push dword [ebp - 0xc]
push dword [0x4a1cb0]
mov edi, dword [ebp - 0x18]
push edi
push edi
push dword [0x4ae670]
mov edi, dword [0x4aecd4]
add edi, 1
mov dword [0x4aecd4], edi
push edi
push str.YPA13_____skip_files__d_nVRI11__d__d__d__d__float_R14_R241000____datetime___R26___float__R160.1_R24__R141____nSSC2_s_nSSC3_s_n
mov edi, dword [ebp - 8]
mov esi, edi
add esi, dword [ebp + 8]
push esi
call fcn.00491c0d
add esp, 0x24
add edi, eax
mov dword [ebp - 8], edi
cmp dword [ebp - 0x10], 0
je 0x4074c9
push 0
push dword [ebp - 0x14]
push dword [0x4b47bc]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
mov edi, dword [ebp - 0x10]
sub dword [0x4aec4c], edi
jmp 0x4074c9
push 4
push str._:F
push dword [ebp + 8]
call sub.CRTDLL.DLL_strncmp
add esp, 0xc
cmp eax, 0
jne 0x4074c9
call sub.winmm.dll_timeGetTime
mov edi, eax
sub edi, dword [0x4a30c4]
cmp edi, 0xc8
jbe 0x4074c9
call sub.winmm.dll_timeGetTime
mov dword [0x4a30c4], eax
push str.XCU1_n
push dword [ebp + 8]
call fcn.00491c0d
add esp, 8
mov dword [ebp - 8], eax
jmp 0x4074c9
push dword [ebp - 8]
push str.FIW
push dword [ebp + 8]
call sub.CRTDLL.DLL_strncmp
add esp, 0xc
cmp eax, 0
jne 0x407421
push dword [0x4b47bc]
push 1
push 1
push dword [ebp - 4]
call sub.CRTDLL.DLL_fread
add esp, 0x10
mov edi, dword [ebp - 4]
cmp byte [edi], 0x3e
jne 0x4073f4
mov edi, dword [ebp - 4]
add edi, 1
mov dword [ebp - 0xc], edi
inc dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esi, edi
add esi, 1
mov dword [ebp - 4], esi
cmp byte [edi], 0x2c
jne 0x4073ce
push 0x4b47b4
push 0x540c2c
push dword [ebp - 0xc]
call fcn.00491acc
add esp, 0xc
jmp 0x4074c9
push dword [ebp - 8]
push str.FWD
push dword [ebp + 8]
call sub.CRTDLL.DLL_strncmp
add esp, 0xc
cmp eax, 0
jne 0x4074a1
push dword [0x4b47bc]
push 1
push 1
push dword [ebp - 4]
call sub.CRTDLL.DLL_fread
add esp, 0x10
inc dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esi, edi
add esi, 1
mov dword [ebp - 4], esi
cmp byte [edi], 0x2c
jne 0x407439
lea edi, [ebp - 0x10]
push edi
push 0x540c2c
mov edi, dword [ebp + 8]
add edi, 4
push edi
call fcn.00491acc
add esp, 0xc
push dword [0x4b47bc]
push dword [ebp - 0x10]
push 1
push dword [ebp - 4]
call sub.CRTDLL.DLL_fread
add esp, 0x10
mov edi, dword [ebp - 0x10]
add edi, dword [ebp - 4]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 8]
add edi, dword [ebp - 0x10]
mov dword [ebp - 8], edi
push dword [0x4b47bc]
push 1
push 1
push dword [ebp - 4]
call sub.CRTDLL.DLL_fread
add esp, 0x10
inc dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esi, edi
add esi, 1
mov dword [ebp - 4], esi
cmp byte [edi], 0xa
jne 0x4074a1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret