Function at 0x455651
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x4dfcdd
call fcn.004d0500
sub esp, 0x130
mov eax, dword [0x52d320]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xfc], ecx
call fcn.00454f7a
push 0x4eb7f8
push esi
call dword [0x4ea814]
mov ebx, eax
xor edi, edi
cmp ebx, edi
pop ecx
pop ecx
mov dword [ebp - 0xf8], ebx
je 0x455a00
push ebx
push 1
lea eax, [ebp - 0x100]
push 2
push eax
mov dword [ebp - 0x100], edi
call dword [0x4ea818]
add esp, 0x10
cmp eax, 1
jne 0x4556c7
cmp word [ebp - 0x100], 0xfeff
je 0x4556d3
push edi
push edi
push ebx
call dword [0x4ea90c]
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [0x4ea6b0]
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
call dword [0x4ea6b0]
push 0x400
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [0x4ea640]
test dword [ebx + 0xc], 0x10
jne 0x4559d0
jmp 0x45570b
xor edi, edi
mov eax, dword [0x4ea6dc]
push dword [eax]
lea ecx, [ebp - 0x48]
push edi
call dword [0x4ea424]
mov esi, dword [0x4ea908]
jmp 0x45573a
cmp ax, 0xa
je 0x455744
cmp ax, 0xd
je 0x45573a
push eax
lea ecx, [ebp - 0x48]
call dword [0x4ea480]
push ebx
call esi
cmp ax, 0xffff
pop ecx
jne 0x455724
push edi
push 0x5b
lea ecx, [ebp - 0x48]
call dword [0x4ea708]
mov ebx, eax
mov eax, dword [0x4ea6dc]
push dword [eax]
lea ecx, [ebp - 0x48]
push 0x5d
call dword [0x4ea744]
push edi
push 0x3d
lea ecx, [ebp - 0x48]
mov esi, eax
call dword [0x4ea708]
test ebx, ebx
mov edi, eax
mov eax, dword [0x4ea6dc]
jne 0x455821
cmp esi, dword [eax]
je 0x455821
cmp esi, 1
jbe 0x455821
dec esi
push esi
push 1
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x48]
call dword [0x4ea6d8]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [0x4ea4e8]
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call dword [0x4ea4f8]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0xf1], 1
call dword [0x4ea6b0]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 3
jae 0x4557e7
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x9c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.0044f986
mov ecx, dword [ebp - 0xfc]
add esp, 0xc
lea eax, [ebp - 0xf1]
push eax
lea eax, [ebp - 0x9c]
push eax
add ecx, 4
call fcn.004550e8
lea ecx, [ebp - 0x9c]
jmp 0x4559b1
cmp edi, dword [eax]
je 0x4559bb
cmp dword [ebp - 0x18], 0
je 0x4559bb
push edi
push 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
call dword [0x4ea6d8]
mov eax, dword [0x4ea6dc]
push dword [eax]
inc edi
push edi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call dword [0x4ea6d8]
mov esi, dword [ebp - 0xfc]
cmp byte [esi + 0x21], 0
mov byte [ebp - 4], 5
je 0x4558ba
mov eax, dword [0x4ea6dc]
push dword [eax]
lea ecx, [ebp - 0x64]
push 0x23
call dword [0x4ea744]
mov ecx, dword [0x4ea6dc]
cmp eax, dword [ecx]
je 0x4558ba
push eax
push 0
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x64]
call dword [0x4ea6d8]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call dword [0x4ea4e8]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 5
call dword [0x4ea4f8]
lea ecx, [ebp - 0xf0]
call dword [0x4ea6b0]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call dword [0x4ea6b0]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call dword [0x4ea6b0]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 9
jae 0x4558f6
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xf0]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.0044f986
mov eax, dword [ebp - 0x7c]
add esp, 0xc
cmp dword [ebp - 0x68], 8
jae 0x455915
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0xb8]
push ecx
push dword [ebp - 0x6c]
push eax
call fcn.0044f986
mov eax, dword [ebp - 0x60]
add esp, 0xc
cmp dword [ebp - 0x4c], 8
jae 0x455934
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0xd4]
push ecx
push dword [ebp - 0x50]
push eax
call fcn.0044f986
sub esp, 0x10
lea eax, [ebp - 0xd4]
mov ecx, esp
mov dword [ebp - 0x104], esp
push eax
call dword [0x4ea4ec]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, esi
call fcn.004551e3
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call dword [0x4ea4f8]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call dword [0x4ea4f8]
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 5
call dword [0x4ea4f8]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call dword [0x4ea4f8]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call dword [0x4ea4f8]
mov eax, dword [ebp - 0xf8]
test dword [eax + 0xc], 0x10
mov ebx, eax
je 0x455709
push ebx
call dword [0x4ea80c]
mov eax, dword [ebp - 0xfc]
pop ecx
lea ecx, [ebp - 0x48]
mov byte [eax + 0x20], 0
mov byte [ebp - 4], 0
call dword [0x4ea4f8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [0x4ea4f8]
mov al, 1
jmp 0x455a02
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret 4