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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008b2e0
push eax
mov dword fs:[0], esp
sub esp, 0x58
cmp byte [esp + 0x74], 0
push esi
mov esi, ecx
jne 0x10065136
push 0x17
xor esi, esi
push str.FilterWithBufferedInput
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
call fcn.1005c2d0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], esi
call fcn.10064da0
push 0x100a5eac
lea ecx, [esp + 0x34]
push ecx
call fcn.10078ece
mov eax, dword [esp + 0x70]
test eax, eax
push ebx
push ebp
push edi
je 0x1006530b
cmp byte [esi + 0x20], 0
mov ecx, dword [esi + 0x38]
lea edi, [ecx + eax]
jne 0x100651be
mov eax, dword [esi + 0x14]
cmp edi, eax
lea ebx, [esi + 0x14]
jb 0x100651be
mov edx, dword [esp + 0x78]
sub eax, ecx
push eax
lea ebp, [esi + 0x24]
push edx
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.10064850
mov eax, dword [esi]
push ebx
mov ecx, ebp
mov dword [esp + 0x80], eax
call fcn.10064780
push eax
mov eax, dword [esp + 0x80]
mov ecx, esi
call dword [eax + 0xc4]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*2 - 2]
xor edx, edx
div ecx
push eax
push ecx
mov ecx, ebp
call fcn.10064ed0
mov ebp, dword [esp + 0x78]
add ebp, dword [esp + 0x10]
sub edi, dword [esi + 0x14]
mov dword [esp + 0x78], ebp
mov byte [esi + 0x20], 1
jmp 0x100651c2
mov ebp, dword [esp + 0x78]
cmp byte [esi + 0x20], 0
je 0x100652fe
mov eax, dword [esi + 0x18]
cmp eax, 1
jne 0x1006522f
cmp edi, dword [esi + 0x1c]
jbe 0x10065213
lea esp, [esp]
cmp dword [esi + 0x38], 0
jbe 0x10065213
mov ecx, edi
sub ecx, dword [esi + 0x1c]
lea edx, [esp + 0x78]
mov dword [esp + 0x78], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.10064780
mov ebx, dword [esp + 0x78]
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
call dword [edx + 0xd0]
sub edi, ebx
cmp edi, dword [esi + 0x1c]
ja 0x100651e0
mov eax, dword [esi + 0x1c]
cmp edi, eax
jbe 0x100652fe
mov ebx, edi
sub ebx, eax
mov eax, dword [esp + 0x88]
push eax
jmp 0x100652f1
mov ecx, dword [esi + 0x1c]
add ecx, eax
cmp edi, ecx
jb 0x10065290
cmp dword [esi + 0x38], eax
jb 0x10065290
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x30]
cmp eax, edx
jb 0x10065271
mov ecx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x2c]
mov ebp, dword [esi + 0x28]
mov dword [esp + 0x7c], ecx
add ecx, edx
add ebp, ebx
cmp ecx, ebp
mov dword [esi + 0x3c], ecx
jne 0x10065262
mov dword [esi + 0x3c], ebx
mov ebp, dword [esp + 0x78]
sub eax, edx
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x7c]
jmp 0x10065273
xor eax, eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 0xd0]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub edi, eax
add edx, eax
cmp edi, edx
jae 0x10065238
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add ecx, eax
cmp edi, ecx
jb 0x100652cf
mov ecx, dword [esi + 0x38]
test ecx, ecx
jbe 0x100652cf
mov ebx, eax
sub ebx, ecx
push ebx
lea ecx, [esi + 0x24]
push ebp
call fcn.10064850
mov edx, dword [esi + 0x18]
add ebp, ebx
mov ebx, dword [esi]
push edx
lea ecx, [esi + 0x24]
call fcn.10064740
push eax
mov ecx, esi
call dword [ebx + 0xd0]
mov eax, dword [esi + 0x18]
sub edi, eax
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + eax]
cmp edi, edx
jb 0x100652fe
push eax
mov eax, edi
sub eax, ecx
push eax
call fcn.10064ac0
mov ecx, dword [esp + 0x90]
add esp, 8
mov ebx, eax
push ecx
push ebx
mov ecx, esi
push ebp
call fcn.10064590
add ebp, ebx
sub edi, ebx
sub edi, dword [esi + 0x38]
lea ecx, [esi + 0x24]
push edi
push ebp
call fcn.10064850
cmp dword [esp + 0x80], 0
je 0x100653f3
cmp byte [esi + 0x20], 0
jne 0x10065331
cmp dword [esi + 0x14], 0
jne 0x10065331
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0xc4]
mov ebx, dword [esi + 0x38]
push ebx
mov dword [esp + 0x1c], ebx
call fcn.1005c540
add esp, 4
test ebx, ebx
jne 0x10065349
xor ebp, ebp
jmp 0x10065354
push ebx
call fcn.1001c740
add esp, 4
mov ebp, eax
mov dword [esp + 0x1c], ebp
lea edi, [esi + 0x24]
push ebp
mov ecx, edi
mov dword [esp + 0x74], 1
call fcn.100647e0
mov eax, dword [esi]
push ebx
push ebp
mov ecx, esi
call dword [eax + 0xd4]
mov eax, dword [esi + 0x14]
push eax
mov ecx, edi
mov byte [esi + 0x20], 0
mov dword [esp + 0x7c], eax
call fcn.1005d4a0
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x78]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], 1
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], edx
mov edi, dword [esp + 0x80]
mov eax, dword [esi]
mov ecx, esi
add edi, 0xffffffff
call dword [eax + 0xa4]
mov ecx, dword [esp + 0x84]
mov edx, dword [eax]
push ecx
push edi
push 0
push 0
mov ecx, eax
call dword [edx + 0x14]
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x10], eax
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
push ebp
rep stosb byte es:[edi], al
call fcn.1001c790
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret 0x14