Function at 0x4de700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
push 0x16
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ed5e0
add esp, 0xc
push 0x538178
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f1a90
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4de73b
or eax, 0xffffffff
jmp 0x4de8ff
push 2
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.004ef27a
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.004ef182
add esp, 4
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0xc]
sub ecx, 0x16
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004ef27a
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
push 1
push 0x16
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004eefc8
add esp, 0x10
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0x6054b50
jne 0x4de7a1
mov eax, dword [ebp - 4]
push eax
call fcn.004eec8f
add esp, 4
xor eax, eax
jmp 0x4de8ff
cmp dword [ebp - 0xc], 0x10015
jbe 0x4de7b9
mov dword [ebp - 8], 0x10015
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x28], ecx
jmp 0x4de7c5
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004e68e6
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
push 2
mov eax, dword [ebp - 8]
neg eax
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ef27a
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004eefc8
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax - 0x16]
cmp dword [ebp - 0x10], edx
ja 0x4de8d7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov ax, word [eax + 0x14]
mov word [ecx + 0x14], ax
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
cmp edx, 0x50
jne 0x4de8c9
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax + 1]
cmp ecx, 0x4b
jne 0x4de8c9
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx + 2]
cmp eax, 5
jne 0x4de8c9
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx + 3]
cmp edx, 6
jne 0x4de8c9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov ax, word [eax + 0x14]
mov word [ecx + 0x14], ax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004ecc45
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push eax
call fcn.004eec8f
add esp, 4
xor eax, eax
jmp 0x4de8ff
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x4de80a
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004ecc45
add esp, 4
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004eec8f
add esp, 4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 8