Function at 0x4012e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436f34
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 ebx, ecx
mov eax, dword [ebp + 8]
lea esi, [ebx + 4]
mov dword [ebp - 0x2c], eax
xor eax, eax
push 0x400
mov dword [ebx + 0xc], 0
mov word [ebx + 8], ax
mov dword [ebx], eax
mov dword [esi], eax
call fcn.0041928e
mov edi, eax
add esp, 4
mov dword [ebx], edi
test edi, edi
je 0x40160f
lea eax, [edi + 0x3fc]
mov ecx, 0x100
cmp edi, ebx
ja 0x401376
cmp eax, ebx
jb 0x401376
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [ebx]
mov dword [ecx + eax], 0
add ecx, 4
cmp ecx, 0x400
jl 0x401360
jmp 0x40137a
xor eax, eax
rep stosd dword es:[edi], eax
push 0x200
call fcn.0041928e
mov edi, eax
add esp, 4
mov dword [esi], edi
test edi, edi
je 0x40160f
lea eax, [edi + 0x1fe]
cmp edi, esi
ja 0x4013b8
cmp eax, esi
jb 0x4013b8
xor ecx, ecx
mov eax, dword [esi]
xor edx, edx
mov word [ecx + eax], dx
add ecx, 2
cmp ecx, 0x200
jl 0x4013a3
jmp 0x4013c1
mov ecx, 0x80
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x2c]
push 0x438258
push edi
call fcn.00412e60
mov esi, eax
add esp, 8
test esi, esi
jne 0x4013e9
push eax
push edi
push str.Nem_tudta_megnyitni_abc_konstruktor_file_t_:
call fcn.004060d0
jmp 0x40161d
push esi
push 1
lea eax, [ebp - 0x24]
push 4
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x4015f7
mov ecx, 0x4382a8
lea eax, [ebp - 0x24]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401430
test dl, dl
je 0x40142c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401430
add eax, 2
add ecx, 2
test dl, dl
jne 0x401410
xor eax, eax
jmp 0x401435
sbb eax, eax
or eax, 1
test eax, eax
je 0x401454
push 0
push edi
push str.Nem_ervenyes_abc_file_elso_negy_byte_alapjan_:
call fcn.004060d0
push esi
call fcn.00412d70
add esp, 0x10
jmp 0x401620
push esi
push 1
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push 2
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x4015f7
mov eax, dword [ebp - 0x30]
test ax, ax
jle 0x401487
mov ecx, 0x100
cmp ax, cx
jle 0x40149b
push 0
push 0
push str.abc_file_darabszama_nem_stimmel_
call fcn.004060d0
mov eax, dword [ebp - 0x30]
add esp, 0xc
xor ecx, ecx
xor edi, edi
cmp cx, ax
jge 0x40159e
push esi
push 1
lea eax, [ebp - 0x24]
push 7
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x4015ef
mov ecx, str.EGYMIX
lea eax, [ebp - 0x24]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4014f0
test dl, dl
je 0x4014ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4014f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4014d0
xor eax, eax
jmp 0x4014f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4015d4
push esi
push 1
lea eax, [ebp - 0x25]
mov byte [ebp - 0x25], 0xff
push 1
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x4015ef
movzx ecx, byte [ebp - 0x25]
push esi
push eax
mov eax, dword [ebx + 4]
push 2
lea eax, [eax + ecx*2]
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x4015ef
movzx ecx, byte [ebp - 0x25]
mov eax, dword [ebx]
cmp dword [eax + ecx*4], 0
jne 0x4015c2
push 0x24
call fcn.00419250
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x401570
push esi
push str..spr
mov ecx, eax
call fcn.0040eb60
mov edx, eax
jmp 0x401572
xor edx, edx
movzx ecx, byte [ebp - 0x25]
mov eax, dword [ebx]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + ecx*4], edx
movzx ecx, byte [ebp - 0x25]
mov eax, dword [ebx]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x20], 0
je 0x4015b0
movsx eax, word [ebp - 0x30]
inc edi
cmp edi, eax
jl 0x4014a8
push esi
mov dword [ebx + 0xc], 1
call fcn.00412d70
add esp, 4
jmp 0x401620
mov eax, dword [ebp - 0x2c]
push 0
push eax
push str.Nem_tudta_beolvasni_SPRITE_ot_abc_file_bol_:
call fcn.004060d0
jmp 0x40161d
mov eax, dword [ebp - 0x2c]
push 0
push eax
push str.Egy_karakter_ketszer_van_meg_abc_file_ban_:
call fcn.004060d0
jmp 0x40161d
mov eax, dword [ebp - 0x2c]
push 0
push eax
push str.Nem_talalta_meg_EGYMIX_et_:
call fcn.004060d0
push esi
call fcn.00412d70
add esp, 0x10
jmp 0x401620
mov eax, dword [ebp - 0x2c]
push 0
push eax
jmp 0x4015fa
push 0
push edi
push str.Nem_tudja_olvasni_abc_t_:
call fcn.004060d0
push esi
call fcn.00412d70
add esp, 0x10
jmp 0x401620
push 0
push 0
push str.memory
call fcn.00406360
add esp, 0xc
mov eax, ebx
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 4