Function at 0x4ecbe0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5792b7
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x5d72e0]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1f4]
mov edi, dword [esp + 0x1f0]
mov ecx, dword [esp + 0x1f8]
mov edx, dword [esp + 0x1fc]
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov esi, 0xf
mov eax, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4ecc68
sub eax, ecx
push eax
push edi
lea ecx, [esp + 0xa0]
call fcn.004066b0
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
push 2
push 0x594538
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1f0], 2
call fcn.004b7190
mov eax, dword [esp + 0x9c]
mov ebp, 0x10
cmp dword [esp + 0xb0], ebp
jae 0x4ecce0
lea eax, [esp + 0x9c]
lea ecx, [esp + 0xb4]
push ecx
push eax
call fcn.0053664b
add esp, 8
cmp eax, ebx
mov dword [esp + 0x20], eax
jge 0x4ecd94
cmp dword [esp + 0x94], ebp
jb 0x4ecd16
mov edx, dword [esp + 0x80]
push edx
call fcn.0050fd2d
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jb 0x4ecd3e
mov eax, dword [esp + 0x64]
push eax
call fcn.0050fd2d
add esp, 4
cmp dword [esp + 0xb0], ebp
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x4ecd63
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0050fd2d
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.0053042b
add esp, 0x1d8
ret
mov edi, dword [esp + 0x24]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4ecda0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x84]
call fcn.004066b0
push 1
push 0x584cec
lea ecx, [esp + 0x84]
call fcn.004b7190
lea eax, [esp + 0xd8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4ecdd6
sub eax, edx
push eax
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x84]
call fcn.004b7190
mov edi, dword [esp + 0x1c]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4ece00
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x68]
call fcn.004066b0
cmp dword [esp + 0x78], ebp
mov eax, dword [esp + 0x64]
jae 0x4ece24
lea eax, [esp + 0x64]
push ebx
push 0x57e9e8
push eax
call fcn.00467680
add esp, 0xc
cmp eax, ebx
jne 0x4ece72
xor eax, eax
cmp dword [esp + 0x74], ebx
setne al
cmp eax, ebx
jne 0x4ece72
lea eax, [esp + 0xd8]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4ece50
sub eax, edx
push eax
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x68]
call fcn.004066b0
jmp 0x4ecef3
push 0x584cec
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004ecb20
lea ecx, [esp + 0xe4]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x200], 3
call fcn.004ecb20
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1f4], 4
call fcn.00406510
cmp dword [esp + 0x40], ebp
jb 0x4ececc
mov eax, dword [esp + 0x2c]
push eax
call fcn.0050fd2d
add esp, 4
cmp dword [esp + 0x5c], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x1e8], 2
jb 0x4ecef3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0050fd2d
add esp, 4
test byte [esp + 0xb4], 0x10
jne 0x4ecf97
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x4ecf18
lea eax, [esp + 0x80]
push 0x584c10
push eax
call fcn.00533f90
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4ed01d
mov eax, dword [esp + 0xd4]
cmp dword [esp + 0x200], eax
jl 0x4ed03f
mov edx, dword [esp + 0x14]
push edi
push eax
push 1
push edx
call fcn.00536b46
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xe8]
push eax
push ecx
call fcn.00503840
mov esi, eax
add esp, 0x18
cmp esi, ebx
je 0x4ecf89
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call fcn.005038e0
push esi
call fcn.00503930
add esp, 0x10
push edi
call fcn.00533b3e
add esp, 4
jmp 0x4ed018
mov edi, 0x592ec8
lea esi, [esp + 0xd8]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4ecfb3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4ed018
mov edi, 0x594534
lea esi, [esp + 0xd8]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4ecfd3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4ed018
cmp dword [esp + 0x78], ebp
mov ecx, dword [esp + 0x64]
jae 0x4ecfe5
lea ecx, [esp + 0x64]
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x4ecffc
lea eax, [esp + 0x80]
mov edx, dword [esp + 0x200]
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
call fcn.004ecbe0
add esp, 0x14
mov esi, 0xf
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xb4]
push eax
push ecx
call fcn.0053677b
add esp, 8
cmp eax, ebx
jge 0x4ecd90
jmp 0x4eccfd
cmp dword [esp + 0x94], ebp
jb 0x4ed058
mov edx, dword [esp + 0x80]
push edx
call fcn.0050fd2d
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jb 0x4ed080
mov eax, dword [esp + 0x64]
push eax
call fcn.0050fd2d
add esp, 4
cmp dword [esp + 0xb0], ebp
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x4ed0a5
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0050fd2d
add esp, 4
or eax, 0xffffffff
jmp 0x4ecd65