Function at 0x414e5f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
push 0
push 0x80
push 3
push 0
push 1
push bind
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x414ea0
xor eax, eax
jmp 0x41506a
mov dword [ebp - 0x18], 0x8000
mov ecx, dword [ebp - 0x18]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [ebp - 0x20], cl
cmp dword [ebp + 0x14], 0
jne 0x414ed2
mov edx, dword [ebp + 0x18]
mov al, byte [edx]
mov byte [ebp - 0x24], al
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x414ef3
jmp 0x41503e
cmp dword [ebp - 4], 0
jne 0x414efe
jmp 0x41503e
cmp dword [ebp + 0x14], 0
je 0x414f88
mov dword [ebp - 8], 0
jmp 0x414f1a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x414f83
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
cmp ecx, eax
jne 0x414f81
mov dword [ebp - 0x10], 1
jmp 0x414f4b
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0x10]
jge 0x414f75
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov bl, byte [eax + edx]
cmp ecx, ebx
je 0x414f73
jmp 0x415065
jmp 0x414f42
mov dword [ebp - 0xc], 1
jmp 0x415063
jmp 0x414f11
jmp 0x415034
mov dword [ebp - 8], 0
jmp 0x414f9a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jge 0x415034
mov eax, dword [ebp - 0x20]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
je 0x414fd2
mov eax, dword [ebp - 0x24]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
jne 0x41502f
mov dword [ebp - 0x10], 1
jmp 0x414fe4
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x10]
jge 0x415026
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x10]
movsx eax, byte [edx]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
xor ebx, ebx
mov bl, byte [edx + ecx]
cmp eax, ebx
je 0x415024
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov bl, byte [eax + edx]
cmp ecx, ebx
je 0x415024
jmp 0x415061
jmp 0x414fdb
mov dword [ebp - 0xc], 1
jmp 0x41505f
jmp 0x414f91
cmp dword [ebp - 4], 0
jne 0x414ed2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
jmp 0x41506a
jmp 0x41503e
jmp 0x41502f
jmp 0x41503e
jmp 0x414f81
pop ebx
mov esp, ebp
pop ebp
ret