Function at 0x40a230
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x2adcc]
push esi
lea eax, [ebx + 0x2adf0]
push eax
push str._d_f
push edi
call fcn.00401640
movss xmm0, dword [esi]
add esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str._nTembre_f_n
call fcn.004015e0
add esp, 0xc
lea eax, [ebx + 0x2adf4]
lea esi, [ebx + 0x2adec]
push eax
push esi
push str._d_s
push edi
call fcn.00401640
lea eax, [ebx + 0x2ade4]
push eax
push 0x41dd04
push edi
call fcn.00401640
add esp, 0x1c
push dword [ebx + 0x2ade4]
push str._nDa_Zaredi___d
call fcn.004015e0
lea eax, [ebx + 0x2ae58]
push eax
lea eax, [ebx + 0x2ade8]
push eax
push str._d_s
push edi
call fcn.00401640
lea eax, [ebx + 0x2aed0]
push eax
push 0x41dd04
push edi
call fcn.00401640
add esp, 0x24
lea eax, [ebx + 0x2aebc]
push eax
push 0x41dd04
push edi
call fcn.00401640
add esp, 0xc
lea eax, [ebx + 0x2aec0]
push eax
push 0x41dad4
push edi
call fcn.00401640
add esp, 0xc
lea eax, [ebx + 0x2aec4]
push eax
lea eax, [ebx + 0x2ade0]
push eax
push str._d_f
push edi
call fcn.00401640
lea eax, [ebx + 0xa734]
push eax
lea eax, [ebx + 0xa730]
push eax
push str._d_d
push edi
call fcn.00401640
lea eax, [ebx + 0x6122]
push eax
lea ecx, [ebx + 0x60be]
push ecx
push 0x41e554
push edi
call fcn.00401640
lea eax, [ebx + 0x5ff6]
push eax
lea eax, [ebx + 0x1d5fc]
push eax
push str._d_s
push edi
call fcn.00401640
add esp, 0x40
lea eax, [ebx + 0x5f92]
push eax
lea eax, [ebx + 0x1d5f8]
push eax
push str._d_s
push edi
call fcn.00401640
lea eax, [ebx + 0x605a]
push eax
lea eax, [ebx + 0x1d5f4]
push eax
push str._d_s
push edi
call fcn.00401640
lea eax, [ebx + 0x6186]
push eax
lea eax, [ebx + 0x1d600]
push eax
push str._d_s
push edi
call fcn.00401640
lea eax, [ebx + 0x61ea]
push eax
lea eax, [ebx + 0x1d604]
push eax
push str._d_s
push edi
call fcn.00401640
add esp, 0x40
lea eax, [ebx + 0x2aec8]
push eax
lea eax, [ebx + 0x2addc]
push eax
push str._d_f
push edi
call fcn.00401640
lea eax, [ebx + 0x2add8]
push eax
push 0x41dd04
push edi
call fcn.00401640
add esp, 0x1c
cmp dword [esi], 0
je 0x40a4d2
lea eax, [ebx + 0x2adf4]
push 0x41e14c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
push eax
push 1
lea ecx, [ebx + 0x54]
mov dword [ebp + 8], eax
push 0x5dd0
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x18
lea esi, [ebx + 0x180]
mov edi, 0x4b
push esi
push 0x41e4e0
call fcn.004015e0
add esp, 8
add esi, 0x64
sub edi, 1
jne 0x40a440
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x3fa4]
push edi
push 1
push 4
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [esi]
push str._nPaket_vruh___d
call fcn.004015e0
mov eax, dword [esi]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a2e7
add esp, 0x1c
mov dword [ebx + 0x3f9c], eax
push eax
push str._nPaket.Mnogo_Zapisi____d
call fcn.004015e0
push edi
push 2
push dword [esi]
push dword [ebx + 0x3f9c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x1c
push str._nProchetoh_Paket
call fcn.004015e0
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp dword [ebx + 0x2ade4], 0
je 0x40a4e9
lea eax, [ebx + 0x60be]
mov ecx, ebx
push eax
call fcn.00409d40
pop edi
pop esi
pop ebx
pop ebp
ret 4