Function at 0x4e9e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x569f80
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5bf500]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5bf500]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esp + 0x80], 0
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
jne 0x4e9ec0
push 0x17
push str.FilterWithBufferedInput
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.004027f0
lea eax, [esp + 0x20]
mov dword [esp + 0x6c], 0
push eax
lea ecx, [esp + 0x3c]
call fcn.004e7b80
push 0x5b6c14
lea eax, [esp + 0x3c]
push eax
call fcn.00524e20
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4e9fee
cmp byte [esi + 0x24], 0
mov ecx, dword [esi + 0x3c]
lea ebp, [ecx + eax]
jne 0x4e9f3b
mov eax, dword [esi + 0x18]
cmp ebp, eax
jb 0x4e9f31
sub eax, ecx
lea ecx, [esi + 0x28]
push eax
mov dword [esp + 0x20], eax
mov eax, ebx
push eax
call fcn.004e9dc0
mov edi, dword [esi]
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x28]
call fcn.004e8b00
push eax
mov ecx, esi
call dword [edi + 0xc4]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x20]
xor edx, edx
lea eax, [eax + edi*2]
add eax, 0xfffffffe
div edi
push eax
push edi
call fcn.004ea210
add ebx, dword [esp + 0x1c]
sub ebp, dword [esi + 0x18]
mov dword [esp + 0x14], ebx
mov byte [esi + 0x24], 1
cmp byte [esi + 0x24], 0
je 0x4e9fdd
mov ecx, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
cmp ecx, 1
jne 0x4ea030
cmp ebp, dword [esi + 0x20]
jbe 0x4e9fba
nop
cmp dword [esi + 0x3c], 0
jbe 0x4e9fba
mov eax, dword [esi + 0x30]
lea edx, [esi + 0x3c]
sub eax, dword [esi + 0x40]
lea ecx, [esp + 0x1c]
add eax, dword [esi + 0x2c]
mov edi, ebp
sub edi, dword [esi + 0x20]
cmp dword [edx], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
cmovb ecx, edx
mov dword [esp + 0x18], edi
cmp dword [ecx], edi
cmovb eax, ecx
mov edi, dword [eax]
sub dword [edx], edi
mov eax, dword [esi + 0x40]
mov dword [esp + 0x18], eax
lea ecx, [eax + edi]
mov dword [esi + 0x40], ecx
je 0x4e9f9e
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x2c]
cmp ecx, eax
jne 0x4e9fa4
mov eax, dword [esi + 0x30]
mov dword [esi + 0x40], eax
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [esp + 0x1c]
call dword [eax + 0xd0]
sub ebp, edi
cmp ebp, dword [esi + 0x20]
ja 0x4e9f50
mov eax, dword [esi + 0x20]
cmp ebp, eax
jbe 0x4e9fdd
push dword [esp + 0x84]
mov edi, ebp
mov ecx, esi
sub edi, eax
push edi
push ebx
call fcn.004e9930
add ebx, edi
sub ebp, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
sub ebp, dword [esi + 0x3c]
lea ecx, [esi + 0x28]
push ebp
push eax
call fcn.004e9dc0
cmp dword [esp + 0x7c], 0
je 0x4ea1b4
cmp byte [esi + 0x24], 0
jne 0x4ea011
cmp dword [esi + 0x18], 0
jne 0x4ea011
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xc4]
mov ebx, dword [esi + 0x3c]
push ebx
mov dword [esp + 0x28], ebx
call fcn.0043a9c0
add esp, 4
test ebx, ebx
jne 0x4ea12a
xor ebp, ebp
jmp 0x4ea135
mov eax, dword [esi + 0x20]
add eax, ecx
cmp ebp, eax
jb 0x4ea098
lea esp, [esp]
cmp dword [esi + 0x3c], ecx
jb 0x4ea098
mov edx, dword [esi + 0x3c]
mov edi, dword [esi + 0x34]
cmp edx, edi
jb 0x4ea078
mov ebx, dword [esi + 0x40]
lea ecx, [ebx + edi]
mov dword [esi + 0x40], ecx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
add eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x4ea071
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x40], eax
sub edx, edi
mov dword [esi + 0x3c], edx
jmp 0x4ea07a
xor ebx, ebx
push dword [esi + 0x1c]
mov eax, dword [esi]
lea edi, [esi + 0x1c]
push ebx
mov ecx, esi
call dword [eax + 0xd0]
mov ecx, dword [edi]
sub ebp, ecx
mov eax, dword [esi + 0x20]
add eax, ecx
cmp ebp, eax
jae 0x4ea040
mov eax, dword [esi + 0x20]
mov ecx, dword [edi]
add eax, ecx
cmp ebp, eax
jb 0x4ea0e4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4ea0e4
mov edi, dword [esp + 0x14]
sub ecx, eax
push ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esi + 0x28]
push edi
call fcn.004e9dc0
add edi, dword [esp + 0x18]
lea ecx, [esi + 0x28]
push dword [esi + 0x1c]
mov dword [esp + 0x18], edi
mov edi, dword [esi]
call fcn.004e8ac0
push eax
mov ecx, esi
call dword [edi + 0xd0]
mov ecx, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
sub ebp, ecx
mov edx, dword [esi + 0x20]
lea eax, [edx + ecx]
cmp ebp, eax
jb 0x4e9fdd
mov eax, ebp
sub eax, edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push edi
push eax
call fcn.004e79f0
add esp, 8
mov edi, eax
mov ecx, esi
push dword [esp + 0x84]
push edi
push dword [esp + 0x1c]
call fcn.004e9930
mov eax, dword [esp + 0x14]
add eax, edi
sub ebp, edi
jmp 0x4e9fe1
push ebx
call fcn.004edb80
add esp, 4
mov ebp, eax
mov dword [esp + 0x28], ebp
push ebp
lea ecx, [esi + 0x28]
mov dword [esp + 0x70], 1
call fcn.004e8a30
mov eax, dword [esi]
mov ecx, esi
push ebx
push ebp
call dword [eax + 0xd4]
push dword [esi + 0x18]
lea ecx, [esi + 0x28]
mov byte [esi + 0x24], 0
push 1
call fcn.004ea210
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [esp + 0x7c]
dec edi
call dword [eax + 0xa4]
push dword [esp + 0x80]
mov ecx, eax
push edi
mov edx, dword [eax]
push 0
push 0
push 0x5bf004
call dword [edx + 0x88]
xor edx, edx
mov dword [esp + 0x6c], 0xffffffff
test eax, eax
mov edi, ebp
mov ecx, ebx
setne dl
xor al, al
mov dword [esi + 0x14], edx
rep stosb byte es:[edi], al
push ebp
call fcn.00443e80
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0051ece9
add esp, 0x5c
ret 0x14