Function at 0x67350cb0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0x67433208
push eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCR80.dll__wfopen_s]
push 4
call sub.MFC80U.DLL_Ordinal_265
mov edx, dword [esp + 0x20]
push edx
push 4
mov edi, eax
push 1
push edi
call dword [sym.imp.MSVCR80.dll_fread]
mov esi, eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x24
cmp esi, 2
jae 0x67350d04
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov byte [esp + 0xc], 0xff
mov byte [esp + 0xd], 0xfe
mov byte [esp + 0xe], bl
mov byte [esp + 0xf], bl
mov eax, 4
lea ecx, [esp + 0xc]
mov edx, edi
push ebp
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x67350d3a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x67350d22
cmp eax, ebx
je 0x67350d97
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x67350d89
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x67350d97
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x67350d89
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x67350d97
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x67350d89
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x67350d97
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x67350d97
cmp esi, ebx
mov eax, 1
jg 0x67350d99
or eax, 0xffffffff
jmp 0x67350d99
xor eax, eax
cmp eax, ebx
jne 0x67350daa
pop ebp
pop edi
pop esi
mov eax, 3
pop ebx
add esp, 8
ret
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], 0xfe
mov byte [esp + 0x13], 0xff
mov eax, 4
lea ecx, [esp + 0x10]
mov edx, edi
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x67350ddf
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x67350dc7
cmp eax, ebx
je 0x67350e3c
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x67350e2e
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x67350e3c
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x67350e2e
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x67350e3c
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x67350e2e
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x67350e3c
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x67350e3c
cmp esi, ebx
mov eax, 1
jg 0x67350e3e
or eax, 0xffffffff
jmp 0x67350e3e
xor eax, eax
cmp eax, ebx
jne 0x67350e4f
pop ebp
pop edi
pop esi
mov eax, 4
pop ebx
add esp, 8
ret
movzx eax, byte [edi]
sub eax, 0xef
jne 0x67350e75
movzx eax, byte [edi + 1]
sub eax, 0xbb
lea ecx, [edi + 1]
jne 0x67350e75
movzx eax, byte [ecx + 1]
add ecx, 1
sub eax, 0xbf
je 0x67350e83
cmp eax, ebx
mov ecx, 1
jg 0x67350e85
or ecx, 0xffffffff
jmp 0x67350e85
xor ecx, ecx
cmp ecx, ebx
jne 0x67350e96
pop ebp
pop edi
pop esi
mov eax, 5
pop ebx
add esp, 8
ret
movzx eax, byte [edi]
sub eax, 0xff
jne 0x67350eab
movzx eax, byte [edi + 1]
sub eax, 0xfe
je 0x67350eb9
cmp eax, ebx
mov ecx, 1
jg 0x67350ebb
or ecx, 0xffffffff
jmp 0x67350ebb
xor ecx, ecx
cmp ecx, ebx
jne 0x67350ecc
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
movzx ecx, byte [edi]
sub ecx, 0xfe
jne 0x67350ee3
movzx ecx, byte [edi + 1]
sub ecx, 0xff
je 0x67350f01
cmp ecx, ebx
mov eax, 1
jg 0x67350f03
or eax, 0xffffffff
neg eax
pop ebp
sbb eax, eax
pop edi
and eax, 0xfffffffe
pop esi
add eax, 2
pop ebx
add esp, 8
ret
xor eax, eax
neg eax
pop ebp
sbb eax, eax
pop edi
and eax, 0xfffffffe
pop esi
add eax, 2
pop ebx
add esp, 8
ret