Function at 0x4180ac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbf4
push 0x44bbdc
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 0x418105
mov ecx, dword [ebp - 8]
add ecx, 0xa
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x40
jge 0x418134
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 [0x44105c]
mov ecx, dword [ebp - 8]
fstp dword [ebp + ecx*4 - 0x108]
jmp 0x4180fc
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
cmp dword [ebp - 4], 0
je 0x4188ef
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 0x418197
mov edx, dword [ebp - 0x13c]
add edx, 0xa
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x40
jge 0x4181d5
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 [0x44105c]
mov edx, dword [ebp - 0x13c]
fstp dword [ebp + edx*4 - 0x23c]
jmp 0x418188
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 0x418259
mov eax, dword [ebp - 0x24c]
add eax, 0xa
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0x40
jge 0x418297
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 [0x44105c]
mov eax, dword [ebp - 0x24c]
fstp dword [ebp + eax*4 - 0x34c]
jmp 0x41824a
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 [0x44bbd4]
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 0x41831c
mov ecx, dword [ebp - 0x35c]
add ecx, 0xa
mov dword [ebp - 0x35c], ecx
cmp dword [ebp - 0x35c], 0x40
jge 0x41835a
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 [0x44105c]
mov ecx, dword [ebp - 0x35c]
fstp dword [ebp + ecx*4 - 0x45c]
jmp 0x41830d
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 0x4183b7
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 0x418418
mov eax, dword [ebp - 0x47c]
add eax, 0xa
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0x40
jge 0x418456
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 [0x44105c]
mov eax, dword [ebp - 0x47c]
fstp dword [ebp + eax*4 - 0x57c]
jmp 0x418409
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 0x4184c6
mov edx, dword [ebp - 0x58c]
add edx, 0xa
mov dword [ebp - 0x58c], edx
cmp dword [ebp - 0x58c], 0x40
jge 0x418504
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 [0x44105c]
mov edx, dword [ebp - 0x58c]
fstp dword [ebp + edx*4 - 0x68c]
jmp 0x4184b7
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x470], 0
jmp 0x41852a
mov eax, dword [ebp - 0x470]
add eax, 1
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x470]
cmp ecx, dword [ebp - 0x46c]
jge 0x418561
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 0x41851b
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 0x4185a5
mov eax, dword [ebp - 0x6a0]
add eax, 0xa
mov dword [ebp - 0x6a0], eax
cmp dword [ebp - 0x6a0], 0x40
jge 0x4185e3
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 [0x44105c]
mov eax, dword [ebp - 0x6a0]
fstp dword [ebp + eax*4 - 0x7a0]
jmp 0x418596
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x12c]
jl 0x4185fe
jmp 0x41860f
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
jmp 0x418379
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 0x418653
mov eax, dword [ebp - 0x7b0]
add eax, 0xa
mov dword [ebp - 0x7b0], eax
cmp dword [ebp - 0x7b0], 0x40
jge 0x418691
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 [0x44105c]
mov eax, dword [ebp - 0x7b0]
fstp dword [ebp + eax*4 - 0x8b0]
jmp 0x418644
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], 0x45c128
mov dword [ebp - 0x130], 0
jmp 0x4186d9
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x80
jge 0x41870b
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 0x4186ca
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 0x41874f
mov eax, dword [ebp - 0x8c0]
add eax, 0xa
mov dword [ebp - 0x8c0], eax
cmp dword [ebp - 0x8c0], 0x40
jge 0x41878d
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 [0x44105c]
mov eax, dword [ebp - 0x8c0]
fstp dword [ebp + eax*4 - 0x9c0]
jmp 0x418740
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 0x4187fd
mov eax, dword [ebp - 0x9d0]
add eax, 0xa
mov dword [ebp - 0x9d0], eax
cmp dword [ebp - 0x9d0], 0x40
jge 0x41883b
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 [0x44105c]
mov eax, dword [ebp - 0x9d0]
fstp dword [ebp + eax*4 - 0xad0]
jmp 0x4187ee
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push 0x44bbe0
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 0x4188a6
mov eax, dword [ebp - 0xae0]
add eax, 0xa
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0x40
jge 0x4188e4
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 [0x44105c]
mov eax, dword [ebp - 0xae0]
fstp dword [ebp + eax*4 - 0xbe0]
jmp 0x418897
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov esp, ebp
pop ebp
ret