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

Disassembly:
push 0xffffffffffffffff
push 0x66b8f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
cmp byte [esp + 0x88], 0
jne 0x42e19e
push 0x17
xor esi, esi
push str.FilterWithBufferedInput
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.00416f50
lea eax, [esp + 0x20]
mov dword [esp + 0x70], esi
push eax
lea esi, [esp + 0x40]
call fcn.0042fa10
push 0x6d5990
mov ecx, esi
push ecx
call fcn.00610ded
test eax, eax
je 0x42e3f4
cmp byte [ebp + 0x24], 0
mov ecx, dword [ebp + 0x3c]
lea ebx, [ecx + eax]
jne 0x42e226
mov eax, dword [ebp + 0x18]
lea edi, [ebp + 0x18]
cmp ebx, eax
jb 0x42e21c
mov edx, dword [esp + 0x7c]
sub eax, ecx
push eax
lea esi, [ebp + 0x28]
push edx
mov dword [esp + 0x80], eax
call fcn.0042df20
mov eax, dword [ebp]
add eax, 0xc4
mov ecx, esi
mov dword [esp + 0x80], eax
call fcn.0042de40
push eax
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
mov ecx, ebp
call edx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
lea eax, [eax + ecx*2 - 2]
xor edx, edx
div ecx
push ecx
mov edi, eax
call fcn.0042ddd0
mov ecx, dword [esp + 0x78]
add dword [esp + 0x7c], ecx
sub ebx, dword [ebp + 0x18]
mov byte [ebp + 0x24], 1
cmp byte [ebp + 0x24], 0
je 0x42e3e3
mov eax, dword [ebp + 0x1c]
cmp eax, 1
jne 0x42e2e8
cmp ebx, dword [ebp + 0x20]
jbe 0x42e2a2
cmp dword [ebp + 0x3c], 0
jbe 0x42e2a2
mov eax, dword [ebp + 0x2c]
sub eax, dword [ebp + 0x40]
mov edi, dword [ebp + 0x30]
mov edx, ebx
sub edx, dword [ebp + 0x20]
add eax, edi
cmp dword [ebp + 0x3c], eax
lea ecx, [ebp + 0x3c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], edx
mov eax, ecx
jb 0x42e269
lea eax, [esp + 0x80]
cmp dword [eax], edx
jb 0x42e271
lea eax, [esp + 0x78]
mov esi, dword [eax]
sub dword [ecx], esi
mov edx, dword [ebp + 0x40]
lea eax, [edx + esi]
mov dword [ebp + 0x40], eax
je 0x42e289
mov ecx, dword [ebp + 0x2c]
add ecx, edi
cmp eax, ecx
jne 0x42e28c
mov dword [ebp + 0x40], edi
mov eax, dword [ebp]
push esi
push edx
mov edx, dword [eax + 0xd0]
mov ecx, ebp
call edx
sub ebx, esi
cmp ebx, dword [ebp + 0x20]
ja 0x42e237
mov eax, dword [ebp + 0x20]
cmp ebx, eax
jbe 0x42e3e3
mov edi, dword [esp + 0x7c]
mov esi, ebx
sub esi, eax
cmp byte [esp + 0x8c], 0
mov eax, dword [ebp]
push esi
mov ecx, ebp
push edi
je 0x42e2d7
mov edx, dword [eax + 0xd0]
call edx
add edi, esi
sub ebx, esi
jmp 0x42e3e7
mov edx, dword [eax + 0xcc]
call edx
add edi, esi
sub ebx, esi
jmp 0x42e3e7
mov ecx, dword [ebp + 0x20]
add ecx, eax
cmp ebx, ecx
jb 0x42e34e
cmp dword [ebp + 0x3c], eax
jb 0x42e34e
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x34]
cmp eax, edx
jb 0x42e32c
mov ecx, dword [ebp + 0x40]
mov esi, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x80], ecx
add ecx, edx
add edi, esi
mov dword [ebp + 0x40], ecx
cmp ecx, edi
jne 0x42e31e
mov dword [ebp + 0x40], esi
sub eax, edx
mov dword [ebp + 0x3c], eax
mov eax, dword [esp + 0x80]
jmp 0x42e32e
xor eax, eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp]
mov edx, dword [edx + 0xd0]
push ecx
push eax
mov ecx, ebp
call edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
sub ebx, eax
add ecx, eax
cmp ebx, ecx
jae 0x42e2f1
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
add edx, eax
cmp ebx, edx
jb 0x42e397
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
jbe 0x42e397
mov edi, eax
mov eax, dword [esp + 0x7c]
sub edi, ecx
push edi
lea esi, [ebp + 0x28]
push eax
call fcn.0042df20
mov ecx, dword [ebp + 0x1c]
add dword [esp + 0x7c], edi
mov edi, dword [ebp]
push ecx
mov ecx, esi
add edi, 0xd0
call fcn.0042de00
mov edx, dword [edi]
push eax
mov ecx, ebp
call edx
mov eax, dword [ebp + 0x1c]
sub ebx, eax
mov ecx, dword [ebp + 0x20]
add eax, ecx
cmp ebx, eax
jb 0x42e3e3
mov edx, ebx
sub edx, ecx
lea ecx, [ebp + 0x1c]
lea eax, [esp + 0x80]
mov dword [esp + 0x80], edx
call fcn.0041be50
cmp byte [esp + 0x8c], 0
mov edi, dword [esp + 0x7c]
mov esi, eax
mov eax, dword [ebp]
push esi
mov ecx, ebp
push edi
je 0x42e2d7
mov edx, dword [eax + 0xd0]
call edx
add edi, esi
sub ebx, esi
jmp 0x42e3e7
mov edi, dword [esp + 0x7c]
sub ebx, dword [ebp + 0x3c]
lea esi, [ebp + 0x28]
push ebx
push edi
call fcn.0042df20
cmp dword [esp + 0x84], 0
je 0x42e4e3
cmp byte [ebp + 0x24], 0
jne 0x42e41d
cmp dword [ebp + 0x18], 0
jne 0x42e41d
mov eax, dword [ebp]
mov edx, dword [eax + 0xc4]
push 0
mov ecx, ebp
call edx
mov edi, dword [ebp + 0x3c]
push edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x1c], edi
call fcn.004141c0
add esp, 4
test edi, edi
jne 0x42e43c
xor ebx, ebx
jmp 0x42e447
push edi
call fcn.004198a0
add esp, 4
mov ebx, eax
mov dword [esp + 0x1c], ebx
lea esi, [ebp + 0x28]
push ebx
mov dword [esp + 0x74], 1
call fcn.0042de90
mov eax, dword [ebp]
mov edx, dword [eax + 0xd4]
push edi
push ebx
mov ecx, ebp
call edx
mov edi, dword [ebp + 0x18]
push edi
mov ecx, esi
mov byte [ebp + 0x24], 0
call fcn.004135e0
mov eax, dword [esi + 8]
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0
mov edx, dword [ebp]
mov esi, dword [esp + 0x84]
mov eax, dword [edx + 0xa4]
mov ecx, ebp
dec esi
call eax
mov ecx, dword [esp + 0x88]
mov edx, dword [eax]
mov edx, dword [edx + 0x88]
push ecx
push esi
push 0
push 0
push 0x7086f0
mov ecx, eax
call edx
mov ecx, dword [esp + 0x8c]
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0x14], eax
xor al, al
mov edi, ebx
push ebx
rep stosb byte es:[edi], al
call fcn.0061588e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x18