Function at 0x4ce480
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
push 0x8000
push ebp
mov dword [esp + 0x18], 0
mov ebx, 1
call fcn.00568eab
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x4ce52c
mov al, byte [0xe38e62]
mov edi, ebp
mov byte [0x5e05ac], al
or ecx, esi
xor eax, eax
mov byte [0x5e05af], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x8000
mov esi, edi
mov edx, ecx
mov edi, 0x5e05ac
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x5e05ac
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00568eab
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x4ce52c
cmp ebx, 1
jne 0x4ce527
call fcn.004ce9e0
push 0x8000
push 0x5e05ac
mov ebx, eax
call fcn.00568eab
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x4ce500
jmp 0x4ce52c
cmp esi, 0xffffffff
je 0x4ce56f
mov ebx, dword [esp + 0x68]
push 0
push ebx
push esi
call fcn.005662e3
add esp, 0xc
cmp eax, 0xffffffff
je 0x4ce558
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push eax
push ecx
push esi
call fcn.005660ed
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call fcn.005647eb
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jg 0x4ce6d2
jmp 0x4ce573
mov ebx, dword [esp + 0x68]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x14]
push ebp
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
call fcn.004ce330
push 0xe38aec
call fcn.004cbec0
add esp, 8
mov esi, 0xe38aec
mov eax, 0x5e06e0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ce5c2
test cl, cl
je 0x4ce5be
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ce5c2
add eax, 2
add esi, 2
test cl, cl
jne 0x4ce59e
xor eax, eax
jmp 0x4ce5c7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea edx, [esp + 0x14]
jne 0x4ce5f5
mov edi, str.555_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push 0x8000
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call fcn.00568eab
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x4ce66d
push 0
push ebx
push esi
call fcn.005662e3
add esp, 0xc
cmp eax, 0xffffffff
je 0x4ce65e
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push edx
push eax
push esi
call fcn.005660ed
add esp, 0xc
mov edi, eax
push esi
call fcn.005647eb
add esp, 4
jmp 0x4ce671
mov edi, dword [esp + 0x10]
push esi
call fcn.005647eb
add esp, 4
jmp 0x4ce671
mov edi, dword [esp + 0x10]
test edi, edi
jg 0x4ce6d0
lea ecx, [esp + 0x14]
push ecx
call fcn.004ce100
lea edx, [esp + 0x18]
push 0x8000
push edx
call fcn.00568eab
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x4ce6cb
push 0
push ebx
push esi
call fcn.005662e3
add esp, 0xc
cmp eax, 0xffffffff
je 0x4ce6c2
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push eax
push ecx
push esi
call fcn.005660ed
add esp, 0xc
mov dword [esp + 0x10], eax
mov edi, eax
push esi
call fcn.005647eb
add esp, 4
call fcn.004ce2d0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret