Function at 0x481c4f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbf4
push 0x4dbff8
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 0x481ca8
mov ecx, dword [ebp - 8]
add ecx, 0xa
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x40
jge 0x481cd7
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 [0x4ad170]
mov ecx, dword [ebp - 8]
fstp dword [ebp + ecx*4 - 0x108]
jmp 0x481c9f
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
cmp dword [ebp - 4], 0
je 0x482492
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 0x481d3a
mov edx, dword [ebp - 0x13c]
add edx, 0xa
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x40
jge 0x481d78
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 [0x4ad170]
mov edx, dword [ebp - 0x13c]
fstp dword [ebp + edx*4 - 0x23c]
jmp 0x481d2b
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 0x481dfc
mov eax, dword [ebp - 0x24c]
add eax, 0xa
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0x40
jge 0x481e3a
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 [0x4ad170]
mov eax, dword [ebp - 0x24c]
fstp dword [ebp + eax*4 - 0x34c]
jmp 0x481ded
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 [0x4dbff0]
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 0x481ebf
mov ecx, dword [ebp - 0x35c]
add ecx, 0xa
mov dword [ebp - 0x35c], ecx
cmp dword [ebp - 0x35c], 0x40
jge 0x481efd
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 [0x4ad170]
mov ecx, dword [ebp - 0x35c]
fstp dword [ebp + ecx*4 - 0x45c]
jmp 0x481eb0
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 0x481f5a
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 0x481fbb
mov eax, dword [ebp - 0x47c]
add eax, 0xa
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0x40
jge 0x481ff9
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 [0x4ad170]
mov eax, dword [ebp - 0x47c]
fstp dword [ebp + eax*4 - 0x57c]
jmp 0x481fac
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 0x482069
mov edx, dword [ebp - 0x58c]
add edx, 0xa
mov dword [ebp - 0x58c], edx
cmp dword [ebp - 0x58c], 0x40
jge 0x4820a7
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 [0x4ad170]
mov edx, dword [ebp - 0x58c]
fstp dword [ebp + edx*4 - 0x68c]
jmp 0x48205a
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x470], 0
jmp 0x4820cd
mov eax, dword [ebp - 0x470]
add eax, 1
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x470]
cmp ecx, dword [ebp - 0x46c]
jge 0x482104
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 0x4820be
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 0x482148
mov eax, dword [ebp - 0x6a0]
add eax, 0xa
mov dword [ebp - 0x6a0], eax
cmp dword [ebp - 0x6a0], 0x40
jge 0x482186
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 [0x4ad170]
mov eax, dword [ebp - 0x6a0]
fstp dword [ebp + eax*4 - 0x7a0]
jmp 0x482139
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x12c]
jl 0x4821a1
jmp 0x4821b2
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
jmp 0x481f1c
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 0x4821f6
mov eax, dword [ebp - 0x7b0]
add eax, 0xa
mov dword [ebp - 0x7b0], eax
cmp dword [ebp - 0x7b0], 0x40
jge 0x482234
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 [0x4ad170]
mov eax, dword [ebp - 0x7b0]
fstp dword [ebp + eax*4 - 0x8b0]
jmp 0x4821e7
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], 0x506950
mov dword [ebp - 0x130], 0
jmp 0x48227c
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x80
jge 0x4822ae
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 0x48226d
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 0x4822f2
mov eax, dword [ebp - 0x8c0]
add eax, 0xa
mov dword [ebp - 0x8c0], eax
cmp dword [ebp - 0x8c0], 0x40
jge 0x482330
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 [0x4ad170]
mov eax, dword [ebp - 0x8c0]
fstp dword [ebp + eax*4 - 0x9c0]
jmp 0x4822e3
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 0x4823a0
mov eax, dword [ebp - 0x9d0]
add eax, 0xa
mov dword [ebp - 0x9d0], eax
cmp dword [ebp - 0x9d0], 0x40
jge 0x4823de
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 [0x4ad170]
mov eax, dword [ebp - 0x9d0]
fstp dword [ebp + eax*4 - 0xad0]
jmp 0x482391
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push 0x4dbffc
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 0x482449
mov eax, dword [ebp - 0xae0]
add eax, 0xa
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0x40
jge 0x482487
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 [0x4ad170]
mov eax, dword [ebp - 0xae0]
fstp dword [ebp + eax*4 - 0xbe0]
jmp 0x48243a
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov esp, ebp
pop ebp
ret