Function at 0x4bfe90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4f9d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, 0xcccccccc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x51e710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
cmp dword [ebp + 0x14], 0
je 0x4bfef6
mov eax, dword [ebp + 0x14]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], 0
push 0x4ea01c
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c6c80
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4bff44
cmp dword [ebp + 0x14], 0
je 0x4bff1f
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xa
push 0x5ef8a8
mov ecx, dword [ebp + 8]
call fcn.004c20d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
or ecx, 1
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
jmp 0x4c0269
push 2
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048db3c
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048df4f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x14], 0
jne 0x4bffb0
cmp dword [ebp + 0x14], 0
je 0x4bff7f
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 3
mov edx, dword [ebp - 0x10]
push edx
call fcn.004895e1
add esp, 4
push 0x5ef8a8
mov ecx, dword [ebp + 8]
call fcn.004c20d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
jmp 0x4c0269
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048db3c
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, 4
push edx
call fcn.00489ac5
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 1
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048da01
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004895e1
add esp, 4
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x14]
mov byte [ecx], 0
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov byte [edx + 1], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov byte [eax + 2], 0
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x14]
mov byte [ecx + 3], 0
movsx edx, byte [0x5e7c74]
test edx, edx
je 0x4c012d
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004c6c60
add esp, 8
movsx edx, al
test edx, edx
je 0x4c00dd
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
cmp eax, 0xef
jne 0x4c007b
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
cmp eax, 0xff
jne 0x4c007b
mov dword [ebp - 0x18], 2
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + edx]
cmp ecx, 0xff
jne 0x4c00b0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + edx]
cmp ecx, 0xfe
jne 0x4c00b0
mov dword [ebp - 0x18], 2
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
push edx
call fcn.004c6c70
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00489a3c
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
jmp 0x4c0128
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax]
cmp edx, 0xef
jne 0x4c0128
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax]
cmp edx, 0xbb
jne 0x4c0128
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax]
cmp edx, 0xbf
jne 0x4c0128
mov dword [ebp - 0x18], 3
jmp 0x4c01e0
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
cmp eax, 0xef
jne 0x4c0160
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
cmp eax, 0xff
jne 0x4c0160
mov dword [ebp - 0x18], 2
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + edx]
cmp ecx, 0xff
jne 0x4c0195
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + edx]
cmp ecx, 0xfe
jne 0x4c0195
mov dword [ebp - 0x18], 2
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax]
cmp edx, 0xef
jne 0x4c01e0
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax]
cmp edx, 0xbb
jne 0x4c01e0
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax]
cmp edx, 0xbf
jne 0x4c01e0
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x1c], 0
jne 0x4c0217
cmp dword [ebp + 0x14], 0
je 0x4c01f5
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xe
push 0x5ef8a8
mov ecx, dword [ebp + 8]
call fcn.004c20d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
or ecx, 1
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
jmp 0x4c0269
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004bfb90
add esp, 0x10
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00489a3c
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004c20d0
mov edx, dword [ebp - 0x30]
or edx, 1
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004c2080
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x4c0294]
call fcn.004cc5ed
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
cmp ebp, esp
call fcn.004cc645
mov esp, ebp
pop ebp
ret