Function at 0x413dd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
push 0x438258
je 0x413df4
push edi
call fcn.00412e60
jmp 0x413e08
push str.rec_
push edi
call fcn.004053c0
add esp, 8
push eax
call fcn.0041f1c7
mov esi, eax
add esp, 8
test esi, esi
jne 0x413e20
push eax
push edi
push str.Nem_sikerult_megnyitni_recorded_file_t_:
call fcn.004060d0
add esp, 0xc
push esi
lea eax, [ebx + 0x38]
mov dword [eax], 0
push 4
push 1
push eax
mov dword [ebp - 0x14], eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 4
je 0x413e4f
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebx + 0x38], 0
lea edx, [ebx + 0x38]
jg 0x413e6b
push 0
push edi
push str.Nem_stimmel_betoltve_recorded_file_ban_:
call fcn.004060d0
add esp, 0xc
lea edx, [ebx + 0x38]
mov ecx, dword [edx]
mov eax, dword [0x448f48]
mov dword [ebp + 8], 0
cmp ecx, eax
jbe 0x413e89
mov ebx, ecx
mov dword [edx], eax
sub ebx, eax
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
push esi
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push 1
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 4
je 0x413eb6
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], 0
cmp eax, 0x1e
jge 0x413ef2
add ebx, 0x40
mov edx, 0x64
mov dword [ebp - 0x10], edx
mov dword [ebx], eax
test eax, eax
js 0x413edf
cmp eax, 0x18
jle 0x413faf
push 0
push 0
push str.level___0__level___24_
call fcn.004060d0
jmp 0x413f87
push esi
push 4
lea eax, [ebp - 0xc]
push 1
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 4
je 0x413f18
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
push esi
push 4
add ebx, 0x40
push 1
push ebx
mov dword [ebp - 8], ebx
call fcn.0041c50c
add esp, 0x10
cmp eax, 4
je 0x413f41
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x413f6e
mov eax, dword [ebx]
test eax, eax
js 0x413f55
cmp eax, 0x5a
jl 0x413f8a
mov ebx, dword [ebp - 8]
push 0
push edi
push str.belyeg_es_level_nem_stimmel_recorded_file_ban_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x413f8a
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0xffffffff
je 0x413f8a
push 0
push edi
push str.belyeg_es_level_nem_stimmel_recorded_file_ban__2__:
call fcn.004060d0
mov ebx, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov dword [ebp - 8], eax
cmp edx, 0x64
je 0x413faf
cmp edx, 0x78
je 0x413faf
push 0
push edi
push str.Recorded_file_version_is_too_new_
call fcn.00406360
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
cmp edx, 0x64
sete al
mov dword [ecx + 0x50], eax
jne case.default.0x413fe8
mov eax, dword [ebx]
test eax, eax
js 0x413fce
cmp eax, 0x17
jle 0x413fde
push 0
push edi
push str.Hibas_recorded_file__
call fcn.004060d0
add esp, 0xc
mov eax, dword [ebx]
add eax, 0xfffffff5
cmp eax, 0xc
ja case.default.0x413fe8
jmp dword [eax*4 + 0x4144e0]
mov dword [ebx], 0xb
jmp case.default.0x413fe8
mov dword [ebx], 0x11
jmp case.default.0x413fe8
mov dword [ebx], 0x12
jmp case.default.0x413fe8
mov dword [ebx], 0x13
jmp case.default.0x413fe8
mov dword [ebx], 0x14
jmp case.default.0x413fe8
mov dword [ebx], 0x15
jmp case.default.0x413fe8
mov dword [ebx], 0x16
jmp case.default.0x413fe8
mov dword [ebx], 0x26
jmp case.default.0x413fe8
mov dword [ebx], 0x50
jmp case.default.0x413fe8
mov dword [ebx], 0x51
jmp case.default.0x413fe8
mov dword [ebx], 0x52
jmp case.default.0x413fe8
mov dword [ebx], 0x53
jmp case.default.0x413fe8
mov dword [ebx], 0x54
cmp dword [0x447cec], 0
je 0x414080
cmp dword [ebp - 0xc], 0
jne 0x414080
mov eax, dword [ebx]
cmp eax, 0xf
jle 0x414080
cmp eax, 0x16
je 0x414080
push 0
push edi
push str.This_REC_file_can_only_be_replayed_with_a_registered_version_of_the_game_
call fcn.00406360
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
shl eax, 2
push esi
mov ebx, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
shl ebx, 2
push ebx
push 1
push dword [eax]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x4140b6
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x4140ca
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 4]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x4140f0
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x414104
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 8]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x41412a
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x41413e
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 0xc]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x414164
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x414178
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 0x10]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x41419e
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x4141b2
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 0x14]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x4141d8
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x4141ec
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 0x20]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x414212
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x414226
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 0x18]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x41424c
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x414260
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 0x1c]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x414286
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x41429a
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push esi
push dword [eax]
mov eax, dword [ebp - 4]
push 1
push dword [eax + 0x2c]
call fcn.0041c50c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp eax, dword [ecx]
je 0x4142c7
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x4142da
push 1
push eax
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 0x24]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x414300
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x414314
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push esi
push dword [eax]
mov eax, dword [ebp - 4]
push 1
push dword [eax + 0x28]
call fcn.0041c50c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp eax, dword [ecx]
je 0x414341
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x414354
push 1
push eax
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 0x30]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x41437a
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x41438e
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov eax, dword [ebp - 4]
push esi
push ebx
push 1
push dword [eax + 0x34]
call fcn.0041c50c
add esp, 0x10
cmp eax, ebx
je 0x4143b4
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x4143c8
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
mov ebx, dword [ebp - 4]
push esi
push 4
push 1
lea eax, [ebx + 0x48]
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 4
je 0x4143f1
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebx + 0x48], 0
jge 0x414408
push 0
push 0
push str.hangbetoltve_nem_stimmel_loadban_
call fcn.004060d0
add esp, 0xc
mov eax, dword [ebx + 0x48]
xor ecx, ecx
mov edx, dword [0x448f4c]
mov dword [ebp + 8], ecx
cmp eax, edx
jbe 0x414426
mov ecx, eax
mov dword [ebx + 0x48], edx
sub ecx, edx
mov eax, edx
mov dword [ebp + 8], ecx
shl eax, 4
push esi
push eax
push 1
push dword [ebx + 0x44]
shl ecx, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ecx
call fcn.0041c50c
add esp, 0x10
cmp eax, dword [ebp - 0x14]
je 0x414456
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x41446a
push 1
push dword [ebp - 8]
push esi
call fcn.004130d0
add esp, 0xc
push esi
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push 1
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 4
je 0x414497
push 0
push edi
push str.Nem_sikerult_olvasni_recorded_file_bol_:
call fcn.004060d0
add esp, 0xc
cmp dword [ebp - 0x18], 0x492f75
je 0x4144b1
push 0
push 0
push str.magic___MAGICNUMBER
call fcn.004060d0
add esp, 0xc
cmp dword [ebp + 0xc], 0
push esi
je 0x4144cc
call fcn.00412d70
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0041f0e0
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8