Function at 0x416970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4375e3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x446d00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp dword [ecx], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jne 0x4169b7
cmp dword [eax], 0
je 0x4169c8
push 0
push 0
push str.loadszakaszok_ban_ppszak__ppszakt_
call fcn.004060d0
add esp, 0xc
push 0x4393dc
test ebx, ebx
je 0x4169e7
push str.lev_
push edi
call fcn.004053c0
add esp, 8
push eax
call fcn.0041f1c7
jmp 0x4169ed
push edi
call fcn.00412e60
mov esi, eax
add esp, 8
test esi, esi
jne 0x416a05
push eax
push edi
push str.Nem_tudta_megnyitni_file_t_:
call fcn.004060d0
add esp, 0xc
mov eax, dword [str.AAAAA]
mov dword [ebp - 0x1c], eax
mov ax, word [0x43b674]
push esi
push 4
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x1c]
push 1
push eax
mov dword [ebp - 0x16], 0
call fcn.0041c50c
add esp, 0x10
cmp eax, 4
je 0x416a45
push 0
push 0
push str.Nem_tudott_olvasni_txt_file_bol_
call fcn.004060d0
add esp, 0xc
push 3
lea eax, [ebp - 0x1c]
push 0x43b678
push eax
call fcn.00425ba0
add esp, 0xc
mov dword [ebp - 0x20], eax
push esi
test ebx, ebx
je 0x416a67
call fcn.0041f0e0
jmp 0x416a6c
call fcn.00412d70
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x416b4c
push 0x598
call fcn.00419250
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x416aa1
push ebx
push edi
mov ecx, eax
call fcn.00417a30
mov esi, eax
jmp 0x416aa3
xor esi, esi
cmp dword [esi], 0
mov dword [ebp - 4], 0xffffffff
je 0x416ac2
push edi
push str.If_you_can_load_it_to_the_editor_you_may_be_able_to_correct_these_errors.
push str.This_level_file_has_some_topology_errors.
call fcn.00406360
add esp, 0xc
test ebx, ebx
je 0x416acd
mov ecx, esi
call fcn.004055f0
push 0x48
call fcn.00419250
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x416af1
push 0
push esi
mov ecx, eax
call fcn.00415cb0
jmp 0x416af3
xor eax, eax
mov ecx, dword [ebp - 0x24]
push 0x48
mov dword [ebp - 4], 0xffffffff
mov dword [ecx], eax
call fcn.00419250
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x416b23
push 1
push esi
mov ecx, eax
call fcn.00415cb0
jmp 0x416b25
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov ecx, esi
mov eax, dword [esi + 4]
mov dword [0x449bd8], eax
call fcn.00417fc0
push 0x598
push esi
call fcn.00419280
add esp, 8
jmp 0x416bdb
test ebx, ebx
je 0x416b61
push 0
push 0
push str.iopvwoiuvfriuo
call fcn.004060d0
add esp, 0xc
push 0x4393dc
push edi
call fcn.00412e60
push 0x48
mov esi, eax
call fcn.00419250
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x416b92
push 0
push esi
mov ecx, eax
call fcn.00415760
jmp 0x416b94
xor eax, eax
mov ecx, dword [ebp - 0x24]
push 0x48
mov dword [ebp - 4], 0xffffffff
mov dword [ecx], eax
call fcn.00419250
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x416bc4
push 1
push esi
mov ecx, eax
call fcn.00415760
jmp 0x416bc6
xor eax, eax
mov ecx, dword [ebp - 0x28]
push esi
mov dword [ebp - 4], 0xffffffff
mov dword [ecx], eax
call fcn.00412d70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419297
mov esp, ebp
pop ebp
ret