Function at 0x418bec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbf4
push 0x44b47c
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 0x418c45
mov ecx, dword [ebp - 8]
add ecx, 0xa
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x40
jge 0x418c74
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 [0x440464]
mov ecx, dword [ebp - 8]
fstp dword [ebp + ecx*4 - 0x108]
jmp 0x418c3c
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
cmp dword [ebp - 4], 0
je 0x41942f
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 0x418cd7
mov edx, dword [ebp - 0x13c]
add edx, 0xa
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x40
jge 0x418d15
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 [0x440464]
mov edx, dword [ebp - 0x13c]
fstp dword [ebp + edx*4 - 0x23c]
jmp 0x418cc8
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 0x418d99
mov eax, dword [ebp - 0x24c]
add eax, 0xa
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0x40
jge 0x418dd7
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 [0x440464]
mov eax, dword [ebp - 0x24c]
fstp dword [ebp + eax*4 - 0x34c]
jmp 0x418d8a
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 [0x44b474]
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 0x418e5c
mov ecx, dword [ebp - 0x35c]
add ecx, 0xa
mov dword [ebp - 0x35c], ecx
cmp dword [ebp - 0x35c], 0x40
jge 0x418e9a
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 [0x440464]
mov ecx, dword [ebp - 0x35c]
fstp dword [ebp + ecx*4 - 0x45c]
jmp 0x418e4d
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 0x418ef7
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 0x418f58
mov eax, dword [ebp - 0x47c]
add eax, 0xa
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0x40
jge 0x418f96
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 [0x440464]
mov eax, dword [ebp - 0x47c]
fstp dword [ebp + eax*4 - 0x57c]
jmp 0x418f49
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 0x419006
mov edx, dword [ebp - 0x58c]
add edx, 0xa
mov dword [ebp - 0x58c], edx
cmp dword [ebp - 0x58c], 0x40
jge 0x419044
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 [0x440464]
mov edx, dword [ebp - 0x58c]
fstp dword [ebp + edx*4 - 0x68c]
jmp 0x418ff7
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x470], 0
jmp 0x41906a
mov eax, dword [ebp - 0x470]
add eax, 1
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x470]
cmp ecx, dword [ebp - 0x46c]
jge 0x4190a1
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 0x41905b
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 0x4190e5
mov eax, dword [ebp - 0x6a0]
add eax, 0xa
mov dword [ebp - 0x6a0], eax
cmp dword [ebp - 0x6a0], 0x40
jge 0x419123
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 [0x440464]
mov eax, dword [ebp - 0x6a0]
fstp dword [ebp + eax*4 - 0x7a0]
jmp 0x4190d6
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x12c]
jl 0x41913e
jmp 0x41914f
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
jmp 0x418eb9
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 0x419193
mov eax, dword [ebp - 0x7b0]
add eax, 0xa
mov dword [ebp - 0x7b0], eax
cmp dword [ebp - 0x7b0], 0x40
jge 0x4191d1
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 [0x440464]
mov eax, dword [ebp - 0x7b0]
fstp dword [ebp + eax*4 - 0x8b0]
jmp 0x419184
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], 0x4597e4
mov dword [ebp - 0x130], 0
jmp 0x419219
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x80
jge 0x41924b
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 0x41920a
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 0x41928f
mov eax, dword [ebp - 0x8c0]
add eax, 0xa
mov dword [ebp - 0x8c0], eax
cmp dword [ebp - 0x8c0], 0x40
jge 0x4192cd
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 [0x440464]
mov eax, dword [ebp - 0x8c0]
fstp dword [ebp + eax*4 - 0x9c0]
jmp 0x419280
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 0x41933d
mov eax, dword [ebp - 0x9d0]
add eax, 0xa
mov dword [ebp - 0x9d0], eax
cmp dword [ebp - 0x9d0], 0x40
jge 0x41937b
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 [0x440464]
mov eax, dword [ebp - 0x9d0]
fstp dword [ebp + eax*4 - 0xad0]
jmp 0x41932e
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push 0x44b480
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 0x4193e6
mov eax, dword [ebp - 0xae0]
add eax, 0xa
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0x40
jge 0x419424
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 [0x440464]
mov eax, dword [ebp - 0xae0]
fstp dword [ebp + eax*4 - 0xbe0]
jmp 0x4193d7
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov esp, ebp
pop ebp
ret