Function at 0x4766dc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbf4
push 0x4ba4f8
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 0x476735
mov ecx, dword [ebp - 8]
add ecx, 0xa
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x40
jge 0x476764
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 [0x4a3ad0]
mov ecx, dword [ebp - 8]
fstp dword [ebp + ecx*4 - 0x108]
jmp 0x47672c
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
cmp dword [ebp - 4], 0
je 0x476f1f
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 0x4767c7
mov edx, dword [ebp - 0x13c]
add edx, 0xa
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x40
jge 0x476805
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 [0x4a3ad0]
mov edx, dword [ebp - 0x13c]
fstp dword [ebp + edx*4 - 0x23c]
jmp 0x4767b8
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 0x476889
mov eax, dword [ebp - 0x24c]
add eax, 0xa
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0x40
jge 0x4768c7
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 [0x4a3ad0]
mov eax, dword [ebp - 0x24c]
fstp dword [ebp + eax*4 - 0x34c]
jmp 0x47687a
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 [0x4ba4f0]
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 0x47694c
mov ecx, dword [ebp - 0x35c]
add ecx, 0xa
mov dword [ebp - 0x35c], ecx
cmp dword [ebp - 0x35c], 0x40
jge 0x47698a
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 [0x4a3ad0]
mov ecx, dword [ebp - 0x35c]
fstp dword [ebp + ecx*4 - 0x45c]
jmp 0x47693d
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 0x4769e7
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 0x476a48
mov eax, dword [ebp - 0x47c]
add eax, 0xa
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0x40
jge 0x476a86
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 [0x4a3ad0]
mov eax, dword [ebp - 0x47c]
fstp dword [ebp + eax*4 - 0x57c]
jmp 0x476a39
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 0x476af6
mov edx, dword [ebp - 0x58c]
add edx, 0xa
mov dword [ebp - 0x58c], edx
cmp dword [ebp - 0x58c], 0x40
jge 0x476b34
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 [0x4a3ad0]
mov edx, dword [ebp - 0x58c]
fstp dword [ebp + edx*4 - 0x68c]
jmp 0x476ae7
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x470], 0
jmp 0x476b5a
mov eax, dword [ebp - 0x470]
add eax, 1
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x470]
cmp ecx, dword [ebp - 0x46c]
jge 0x476b91
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 0x476b4b
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 0x476bd5
mov eax, dword [ebp - 0x6a0]
add eax, 0xa
mov dword [ebp - 0x6a0], eax
cmp dword [ebp - 0x6a0], 0x40
jge 0x476c13
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 [0x4a3ad0]
mov eax, dword [ebp - 0x6a0]
fstp dword [ebp + eax*4 - 0x7a0]
jmp 0x476bc6
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x12c]
jl 0x476c2e
jmp 0x476c3f
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
jmp 0x4769a9
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 0x476c83
mov eax, dword [ebp - 0x7b0]
add eax, 0xa
mov dword [ebp - 0x7b0], eax
cmp dword [ebp - 0x7b0], 0x40
jge 0x476cc1
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 [0x4a3ad0]
mov eax, dword [ebp - 0x7b0]
fstp dword [ebp + eax*4 - 0x8b0]
jmp 0x476c74
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], 0x4d0420
mov dword [ebp - 0x130], 0
jmp 0x476d09
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x80
jge 0x476d3b
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 0x476cfa
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 0x476d7f
mov eax, dword [ebp - 0x8c0]
add eax, 0xa
mov dword [ebp - 0x8c0], eax
cmp dword [ebp - 0x8c0], 0x40
jge 0x476dbd
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 [0x4a3ad0]
mov eax, dword [ebp - 0x8c0]
fstp dword [ebp + eax*4 - 0x9c0]
jmp 0x476d70
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 0x476e2d
mov eax, dword [ebp - 0x9d0]
add eax, 0xa
mov dword [ebp - 0x9d0], eax
cmp dword [ebp - 0x9d0], 0x40
jge 0x476e6b
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 [0x4a3ad0]
mov eax, dword [ebp - 0x9d0]
fstp dword [ebp + eax*4 - 0xad0]
jmp 0x476e1e
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push 0x4ba4fc
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 0x476ed6
mov eax, dword [ebp - 0xae0]
add eax, 0xa
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0x40
jge 0x476f14
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 [0x4a3ad0]
mov eax, dword [ebp - 0xae0]
fstp dword [ebp + eax*4 - 0xbe0]
jmp 0x476ec7
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov esp, ebp
pop ebp
ret