Function at 0x4de0b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 3
xor edi, edi
push ebp
push 0x4de32c
push dword fs:[edi]
mov dword fs:[edi], esp
mov eax, 0x8001
call fcn.00402f14
mov dword [ebp - 0x18], eax
xor edi, edi
push ebp
push 0x4de31b
push dword fs:[edi]
mov dword fs:[edi], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
cmp eax, dword [ebp + 8]
jbe 0x4de305
xor ecx, ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.004d8fe4
xor esi, esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0x8000
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile_1
cmp dword [ebp - 0x14], 0
jne 0x4de144
call fcn.0040429c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4de336
mov edx, ebx
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4de2f5
inc eax
xor ebx, ebx
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x42
jg 0x4de176
je 0x4de256
sub ecx, 0x2a
je 0x4de18d
sub ecx, 3
je 0x4de1fa
jmp 0x4de2ec
sub ecx, 0x50
je 0x4de288
sub ecx, 2
je 0x4de2c9
jmp 0x4de2ec
mov ecx, esi
shl ecx, 0xf
add ecx, ebx
add ecx, 5
add ecx, dword [ebp + 8]
mov edi, dword [ebp - 4]
cmp ecx, dword [edi + 0x4c]
jae 0x4de2ec
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + ebx + 1], 0x2a
jne 0x4de2ec
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + ebx + 2], 0x41
jne 0x4de2ec
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + ebx + 3], 0x43
jne 0x4de2ec
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + ebx + 4], 0x45
jne 0x4de2ec
mov eax, esi
shl eax, 0xf
sub ebx, 7
add eax, ebx
inc eax
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 5
jmp 0x4de2f5
mov ecx, esi
shl ecx, 0xf
add ecx, ebx
add ecx, 5
add ecx, dword [ebp + 8]
mov edi, dword [ebp - 4]
cmp ecx, dword [edi + 0x4c]
jae 0x4de2ec
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + ebx + 1], 0x6c
jne 0x4de2ec
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + ebx + 2], 0x68
jne 0x4de2ec
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + ebx + 4], 0x2d
jne 0x4de2ec
mov eax, esi
shl eax, 0xf
add ebx, eax
dec ebx
add ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x12
jmp 0x4de2f5
mov ecx, dword [ebp - 0x18]
add ecx, ebx
cmp dword [ecx], 0x7054842
jne 0x4de2ec
add ecx, 4
cmp dword [ecx], 0x84c3940f
je 0x4de2ec
mov eax, esi
shl eax, 0xf
add ebx, eax
inc ebx
add ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xb
jmp 0x4de2f5
mov ecx, dword [ebp - 0x18]
add ecx, ebx
cmp dword [ecx], 0x4034b50
jne 0x4de2ec
add ecx, 4
cmp dword [ecx], 0x3d0b74
je 0x4de2ec
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x1d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004dd9d4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4de2f5
mov eax, esi
shl eax, 0xf
add ebx, eax
add ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
jmp 0x4de2f5
mov ecx, dword [ebp - 0x18]
add ecx, ebx
cmp dword [ecx], 0x21726152
jne 0x4de2ec
mov eax, esi
shl eax, 0xf
add ebx, eax
inc ebx
add ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x19
jmp 0x4de2f5
inc edx
inc ebx
dec eax
jne 0x4de154
cmp dword [ebp - 0x10], 0
ja 0x4de305
inc esi
cmp esi, 6
jne 0x4de114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de322
mov eax, dword [ebp - 0x18]
call fcn.00402f2c
ret
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4