Function at 0x40dc6c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbf4
push 0x43f3ac
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x10c], 0x3f800000
mov dword [ebp - 0x110], 0x40a00000
mov dword [ebp - 0x114], 0x401b851f
mov dword [ebp - 8], 0
jmp 0x40dcc5
mov ecx, dword [ebp - 8]
add ecx, 0xa
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x40
jge 0x40dcf4
fild dword [ebp - 8]
mov edx, dword [ebp - 8]
fstp dword [ebp + edx*4 - 0x108]
mov eax, dword [ebp - 8]
fld dword [ebp + eax*4 - 0x108]
fdiv dword [0x436cc4]
mov ecx, dword [ebp - 8]
fstp dword [ebp + ecx*4 - 0x108]
jmp 0x40dcbc
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
cmp dword [ebp - 4], 0
je 0x40e4af
mov dword [ebp - 0x138], 0x4d3
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x240], 0x3f800000
mov dword [ebp - 0x244], 0x40a00000
mov dword [ebp - 0x248], 0x401b851f
mov dword [ebp - 0x13c], 0
jmp 0x40dd57
mov edx, dword [ebp - 0x13c]
add edx, 0xa
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x40
jge 0x40dd95
fild dword [ebp - 0x13c]
mov eax, dword [ebp - 0x13c]
fstp dword [ebp + eax*4 - 0x23c]
mov ecx, dword [ebp - 0x13c]
fld dword [ebp + ecx*4 - 0x23c]
fdiv dword [0x436cc4]
mov edx, dword [ebp - 0x13c]
fstp dword [ebp + edx*4 - 0x23c]
jmp 0x40dd48
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov dword [ebp - 0x12c], eax
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x350], 0x3f800000
mov dword [ebp - 0x354], 0x40a00000
mov dword [ebp - 0x358], 0x401b851f
mov dword [ebp - 0x24c], 0
jmp 0x40de19
mov eax, dword [ebp - 0x24c]
add eax, 0xa
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0x40
jge 0x40de57
fild dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x24c]
fstp dword [ebp + ecx*4 - 0x34c]
mov edx, dword [ebp - 0x24c]
fld dword [ebp + edx*4 - 0x34c]
fdiv dword [0x436cc4]
mov eax, dword [ebp - 0x24c]
fstp dword [ebp + eax*4 - 0x34c]
jmp 0x40de0a
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x11c], 0x20000
mov ecx, dword [ebp - 0x11c]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xbf0], eax
mov edx, dword [ebp - 0xbf0]
mov dword [ebp - 0x118], edx
mov eax, dword [0x43f3a4]
mov dword [ebp - 0x128], eax
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x460], 0x3f800000
mov dword [ebp - 0x464], 0x40a00000
mov dword [ebp - 0x468], 0x401b851f
mov dword [ebp - 0x35c], 0
jmp 0x40dedc
mov ecx, dword [ebp - 0x35c]
add ecx, 0xa
mov dword [ebp - 0x35c], ecx
cmp dword [ebp - 0x35c], 0x40
jge 0x40df1a
fild dword [ebp - 0x35c]
mov edx, dword [ebp - 0x35c]
fstp dword [ebp + edx*4 - 0x45c]
mov eax, dword [ebp - 0x35c]
fld dword [ebp + eax*4 - 0x45c]
fdiv dword [0x436cc4]
mov ecx, dword [ebp - 0x35c]
fstp dword [ebp + ecx*4 - 0x45c]
jmp 0x40decd
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x474], edx
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x474]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x12c]
jle 0x40df77
mov edx, dword [ebp - 0x12c]
sub edx, dword [ebp - 0x124]
mov dword [ebp - 0x474], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x474]
push ecx
push 1
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x580], 0x3f800000
mov dword [ebp - 0x584], 0x40a00000
mov dword [ebp - 0x588], 0x401b851f
mov dword [ebp - 0x47c], 0
jmp 0x40dfd8
mov eax, dword [ebp - 0x47c]
add eax, 0xa
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0x40
jge 0x40e016
fild dword [ebp - 0x47c]
mov ecx, dword [ebp - 0x47c]
fstp dword [ebp + ecx*4 - 0x57c]
mov edx, dword [ebp - 0x47c]
fld dword [ebp + edx*4 - 0x57c]
fdiv dword [0x436cc4]
mov eax, dword [ebp - 0x47c]
fstp dword [ebp + eax*4 - 0x57c]
jmp 0x40dfc9
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov eax, dword [ebp - 0x474]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x46c], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x478], ecx
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x690], 0x3f800000
mov dword [ebp - 0x694], 0x40a00000
mov dword [ebp - 0x698], 0x401b851f
mov dword [ebp - 0x58c], 0
jmp 0x40e086
mov edx, dword [ebp - 0x58c]
add edx, 0xa
mov dword [ebp - 0x58c], edx
cmp dword [ebp - 0x58c], 0x40
jge 0x40e0c4
fild dword [ebp - 0x58c]
mov eax, dword [ebp - 0x58c]
fstp dword [ebp + eax*4 - 0x68c]
mov ecx, dword [ebp - 0x58c]
fld dword [ebp + ecx*4 - 0x68c]
fdiv dword [0x436cc4]
mov edx, dword [ebp - 0x58c]
fstp dword [ebp + edx*4 - 0x68c]
jmp 0x40e077
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x470], 0
jmp 0x40e0ea
mov eax, dword [ebp - 0x470]
add eax, 1
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x470]
cmp ecx, dword [ebp - 0x46c]
jge 0x40e121
mov edx, dword [ebp - 0x470]
mov eax, dword [ebp - 0x478]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x69c], ecx
mov edx, dword [ebp - 0x138]
xor edx, dword [ebp - 0x69c]
mov dword [ebp - 0x138], edx
jmp 0x40e0db
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x7a4], 0x3f800000
mov dword [ebp - 0x7a8], 0x40a00000
mov dword [ebp - 0x7ac], 0x401b851f
mov dword [ebp - 0x6a0], 0
jmp 0x40e165
mov eax, dword [ebp - 0x6a0]
add eax, 0xa
mov dword [ebp - 0x6a0], eax
cmp dword [ebp - 0x6a0], 0x40
jge 0x40e1a3
fild dword [ebp - 0x6a0]
mov ecx, dword [ebp - 0x6a0]
fstp dword [ebp + ecx*4 - 0x7a0]
mov edx, dword [ebp - 0x6a0]
fld dword [ebp + edx*4 - 0x7a0]
fdiv dword [0x436cc4]
mov eax, dword [ebp - 0x6a0]
fstp dword [ebp + eax*4 - 0x7a0]
jmp 0x40e156
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x12c]
jl 0x40e1be
jmp 0x40e1cf
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
jmp 0x40df39
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x8b4], 0x3f800000
mov dword [ebp - 0x8b8], 0x40a00000
mov dword [ebp - 0x8bc], 0x401b851f
mov dword [ebp - 0x7b0], 0
jmp 0x40e213
mov eax, dword [ebp - 0x7b0]
add eax, 0xa
mov dword [ebp - 0x7b0], eax
cmp dword [ebp - 0x7b0], 0x40
jge 0x40e251
fild dword [ebp - 0x7b0]
mov ecx, dword [ebp - 0x7b0]
fstp dword [ebp + ecx*4 - 0x8b0]
mov edx, dword [ebp - 0x7b0]
fld dword [ebp + edx*4 - 0x8b0]
fdiv dword [0x436cc4]
mov eax, dword [ebp - 0x7b0]
fstp dword [ebp + eax*4 - 0x8b0]
jmp 0x40e204
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp - 0x138]
shl ecx, 5
mov edx, dword [ebp - 4]
add edx, ecx
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x134], 0x44d524
mov dword [ebp - 0x130], 0
jmp 0x40e299
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x80
jge 0x40e2cb
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + ecx*4]
add eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x134]
mov dword [edx + ecx*4], eax
jmp 0x40e28a
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x9c4], 0x3f800000
mov dword [ebp - 0x9c8], 0x40a00000
mov dword [ebp - 0x9cc], 0x401b851f
mov dword [ebp - 0x8c0], 0
jmp 0x40e30f
mov eax, dword [ebp - 0x8c0]
add eax, 0xa
mov dword [ebp - 0x8c0], eax
cmp dword [ebp - 0x8c0], 0x40
jge 0x40e34d
fild dword [ebp - 0x8c0]
mov ecx, dword [ebp - 0x8c0]
fstp dword [ebp + ecx*4 - 0x9c0]
mov edx, dword [ebp - 0x8c0]
fld dword [ebp + edx*4 - 0x9c0]
fdiv dword [0x436cc4]
mov eax, dword [ebp - 0x8c0]
fstp dword [ebp + eax*4 - 0x9c0]
jmp 0x40e300
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp - 0x118]
add ecx, dword [ebp - 0x138]
mov dword [ebp - 0xbf4], ecx
mov edx, dword [ebp - 0xbf4]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0xad4], 0x3f800000
mov dword [ebp - 0xad8], 0x40a00000
mov dword [ebp - 0xadc], 0x401b851f
mov dword [ebp - 0x9d0], 0
jmp 0x40e3bd
mov eax, dword [ebp - 0x9d0]
add eax, 0xa
mov dword [ebp - 0x9d0], eax
cmp dword [ebp - 0x9d0], 0x40
jge 0x40e3fb
fild dword [ebp - 0x9d0]
mov ecx, dword [ebp - 0x9d0]
fstp dword [ebp + ecx*4 - 0xad0]
mov edx, dword [ebp - 0x9d0]
fld dword [ebp + edx*4 - 0xad0]
fdiv dword [0x436cc4]
mov eax, dword [ebp - 0x9d0]
fstp dword [ebp + eax*4 - 0xad0]
jmp 0x40e3ae
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push 0x43f3b0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0xbe4], 0x3f800000
mov dword [ebp - 0xbe8], 0x40a00000
mov dword [ebp - 0xbec], 0x401b851f
mov dword [ebp - 0xae0], 0
jmp 0x40e466
mov eax, dword [ebp - 0xae0]
add eax, 0xa
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0x40
jge 0x40e4a4
fild dword [ebp - 0xae0]
mov ecx, dword [ebp - 0xae0]
fstp dword [ebp + ecx*4 - 0xbe0]
mov edx, dword [ebp - 0xae0]
fld dword [ebp + edx*4 - 0xbe0]
fdiv dword [0x436cc4]
mov eax, dword [ebp - 0xae0]
fstp dword [ebp + eax*4 - 0xbe0]
jmp 0x40e457
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov esp, ebp
pop ebp
ret