Function at 0x4106c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x446d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, 1
mov dword [ebp - 0x18], ecx
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x41071d
push 0x438258
push edi
xor ebx, ebx
call fcn.00412e60
mov esi, eax
add esp, 8
test esi, esi
jne 0x41071d
push eax
push edi
push str.pic8_spritebeolvaso_nem_tudta_megnyitni_file_t_:
call fcn.004060d0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419297
mov esp, ebp
pop ebp
ret 8
push esi
push 1
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 0
push 1
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
je 0x410744
push 0
push edi
push str.Nem_tudott_olvasni_file_bol_:
jmp 0x41092e
cmp byte [ebp - 0x11], 0x2d
je 0x410757
push 0
push edi
push str.SPRITE_file_elso_karaktere_nem_0x2d_:
jmp 0x41092e
mov ecx, dword [ebp - 0x18]
or edx, 0xffffffff
push esi
lea eax, [ecx + 8]
mov word [eax], dx
push 1
push 2
push eax
mov word [ecx + 0xa], dx
mov dword [ebp - 0x1c], eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x410926
push esi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0xa
push 2
push eax
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x410926
mov eax, dword [ebp - 0x1c]
movzx edx, word [eax]
cmp dx, 1
jl 0x41091c
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + 0xa]
cmp ax, 1
jl 0x41091c
cwde
push eax
movsx eax, dx
push eax
call fcn.0040f570
test eax, eax
je 0x410943
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp cx, word [edx + 0xa]
jge 0x410811
nop
movsx eax, word [edx + 8]
push esi
push 1
push eax
mov eax, dword [edx + 0xc]
push dword [eax + ecx*4]
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x410926
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
movsx eax, word [edx + 0xa]
cmp ecx, eax
jl 0x4107e0
push esi
push 1
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0
xorps xmm0, xmm0
mov byte [ebp - 7], 0
push 7
push eax
movq qword [ebp - 0xf], xmm0
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x410926
mov ecx, str.SPRITE
lea eax, [ebp - 0x10]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410863
test dl, dl
je 0x41085f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410863
add eax, 2
add ecx, 2
test dl, dl
jne 0x410843
xor eax, eax
jmp 0x410868
sbb eax, eax
or eax, 1
test eax, eax
je 0x410879
push 0
push edi
push str.Sprite_kulcsszo_nem_stimmel_SPRITE_file_ban_:
jmp 0x41092e
mov eax, dword [ebp - 0x18]
mov ecx, 0xffff
push esi
add eax, 0x1c
push 1
push 2
push eax
mov word [eax], cx
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
jne 0x410926
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x1c]
cmp eax, 1
jae 0x4108b4
push 0
push edi
push str.Sprite_hossza_tul_rovid_SPRITE_file_ban_:
jmp 0x41092e
push eax
call fcn.0041928e
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], ecx
test ecx, ecx
jne 0x4108d2
push ecx
push edi
push str.Nincs_eleg_hely_SPRITE_beolvasoban_:
jmp 0x41092e
movzx eax, word [eax + 0x1c]
push esi
push 1
push eax
push ecx
call fcn.0041c50c
add esp, 0x10
cmp eax, 1
je 0x4108f2
push 0
push edi
push str.Nem_tudott_olvasni_SPRITE_file_bol_sprite_ot_:
jmp 0x41092e
test ebx, ebx
jne 0x4108ff
push esi
call fcn.00412d70
add esp, 4
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword [eax + 0x20], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419297
mov esp, ebp
pop ebp
ret 8
push 0
push edi
push str.Meretek_kicsik_SPRITE_file_ban_:
jmp 0x41092e
push 0
push edi
push str.Nem_tudott_olvasni_SPRITE_file_bol_:
call fcn.004060d0
add esp, 0xc
test ebx, ebx
jne 0x410943
push esi
call fcn.00412d70
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419297
mov esp, ebp
pop ebp
ret 8