Function at 0x60c9f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push 0x7062c4
push str.c:MP_ProjectWeatherColorTable.dat
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x60cf63
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [ebp - 0x30]
push esi
push 1
push 3
push eax
call edi
add esp, 0x10
cmp byte [ebp - 0x30], 0x4e
jne 0x60cd15
cmp byte [ebp - 0x2f], 0x45
jne 0x60cd15
cmp byte [ebp - 0x2e], 0x57
jne 0x60cd15
lea eax, [ebx + 0x333c]
mov dword [ebp - 0x28], 0x19
mov dword [ebp - 0x24], eax
add ebx, 0x3018
nop dword [eax]
push esi
push 1
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x64], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0xc8], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
add esp, 0x40
mov dword [ebx + 0x12c], eax
lea eax, [ebp - 0x1c]
push esi
push 1
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x190], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ecx - 4], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ecx], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov ecx, dword [ebp - 0x24]
add esp, 0x40
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x4b0], eax
lea eax, [ebp - 0x20]
push 4
push eax
call edi
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push esi
push 1
push 4
push eax
movss dword [ebx + 0x1f4], xmm0
call edi
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push esi
push 1
push 4
push eax
movss dword [ebx + 0x258], xmm0
call edi
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
add esp, 0x40
movss dword [ebx + 0x2bc], xmm0
push esi
push 1
push 4
push eax
call edi
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push esi
push 1
push 4
push eax
movss dword [ebx + 0x44c], xmm0
call edi
mov eax, dword [ebp - 0x1c]
lea ebx, [ebx + 4]
add dword [ebp - 0x24], 0xc
add esp, 0x20
sub dword [ebp - 0x28], 1
mov dword [ebx + 0x894], eax
jne 0x60ca70
mov ebx, dword [ebp - 0x2c]
add ebx, 0x3590
mov dword [ebp - 0x28], 0x19
nop dword [eax]
push esi
push 1
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx - 0x64], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x64], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
add esp, 0x40
mov dword [ebx + 0xc8], eax
lea eax, [ebp - 0x1c]
push esi
push 1
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x12c], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x190], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x1f4], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
add esp, 0x40
mov dword [ebx + 0x258], eax
lea eax, [ebp - 0x1c]
push esi
push 1
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
lea ebx, [ebx + 4]
add esp, 0x10
mov dword [ebx + 0x2b8], eax
sub dword [ebp - 0x28], 1
jne 0x60cbc0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
add esp, 4
test eax, eax
jne 0x60ccf8
push esi
push 1
lea eax, [ebp - 0x24]
push 2
push eax
call edi
mov ax, word [ebp - 0x24]
add esp, 0x10
cmp al, 0x4e
jne 0x60ccf8
cmp ah, 0x43
jne 0x60ccf8
push esi
push 1
lea eax, [ebp - 0x18]
push 0x14
push eax
call edi
movss xmm0, dword [ebp - 0x18]
add esp, 0x10
movss dword [0xf89794], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [0xf89798], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [0xf8979c], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [0xf897dc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [0xf897f8], xmm0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
lea eax, [ebx + 0x333c]
mov dword [ebp - 0x28], 0x19
add esp, 0xc
mov dword [ebp - 0x24], eax
add ebx, 0x3018
nop dword [eax]
push esi
push 1
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x64], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0xc8], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
add esp, 0x40
mov dword [ebx + 0x12c], eax
lea eax, [ebp - 0x1c]
push esi
push 1
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x190], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ecx - 4], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ecx], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov ecx, dword [ebp - 0x24]
add esp, 0x40
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x4b0], eax
lea eax, [ebp - 0x20]
push 4
push eax
call edi
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push esi
push 1
push 4
push eax
movss dword [ebx + 0x1f4], xmm0
call edi
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push esi
push 1
push 4
push eax
movss dword [ebx + 0x258], xmm0
call edi
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
add esp, 0x40
movss dword [ebx + 0x2bc], xmm0
push esi
push 1
push 4
push eax
call edi
movss xmm0, dword [ebp - 0x20]
lea ebx, [ebx + 4]
add dword [ebp - 0x24], 0xc
add esp, 0x10
sub dword [ebp - 0x28], 1
movss dword [ebx + 0x448], xmm0
jne 0x60cd40
push esi
push 1
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov ebx, dword [ebp - 0x2c]
add esp, 0x10
mov eax, dword [ebp - 0x1c]
add ebx, 0x352c
mov dword [0x10208cc], eax
mov dword [ebp - 0x2c], 0x19
nop
push esi
push 1
mov dword [ebx + 0x384], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x64], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0xc8], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
add esp, 0x40
mov dword [ebx + 0x12c], eax
lea eax, [ebp - 0x1c]
push esi
push 1
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x190], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x1f4], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
push esi
push 1
mov dword [ebx + 0x258], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
add esp, 0x40
mov dword [ebx + 0x2bc], eax
lea eax, [ebp - 0x1c]
push esi
push 1
push 4
push eax
call edi
mov eax, dword [ebp - 0x1c]
lea ebx, [ebx + 4]
add esp, 0x10
mov dword [ebx + 0x31c], eax
sub dword [ebp - 0x2c], 1
je 0x60ccf8
mov eax, dword [0x10208cc]
jmp 0x60ce90
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.006dfb52
mov esp, ebp
pop ebp
ret