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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5de5a0
push eax
mov al, byte [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0x58
test al, al
push esi
mov esi, ecx
jne 0x568337
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.00403040
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], esi
call fcn.005681b0
push 0x63be30
lea ecx, [esp + 0x34]
push ecx
call fcn.0057a113
mov eax, dword [esp + 0x70]
test eax, eax
push ebx
push ebp
push edi
je 0x568516
mov ecx, dword [esi + 0x38]
lea edi, [ecx + eax]
mov al, byte [esi + 0x20]
test al, al
jne 0x5683c4
mov eax, dword [esi + 0x14]
cmp edi, eax
lea ebx, [esi + 0x14]
jb 0x5683c4
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.005675f0
mov eax, dword [esi]
push ebx
mov ecx, ebp
mov dword [esp + 0x80], eax
call fcn.00567520
push eax
mov eax, dword [esp + 0x80]
mov ecx, esi
call dword [eax + 0xcc]
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.00567bb0
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x14]
add ebx, ecx
mov dword [esp + 0x78], ebx
sub edi, eax
mov byte [esi + 0x20], 1
jmp 0x5683c8
mov ebx, dword [esp + 0x78]
mov al, byte [esi + 0x20]
test al, al
je 0x568509
mov eax, dword [esi + 0x18]
cmp eax, 1
jne 0x568434
cmp edi, dword [esi + 0x1c]
jbe 0x568418
mov eax, dword [esi + 0x38]
test eax, eax
jbe 0x568418
mov eax, dword [esi + 0x1c]
mov ecx, edi
sub ecx, eax
lea edx, [esp + 0x78]
mov dword [esp + 0x78], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.00567520
mov ebp, dword [esp + 0x78]
mov edx, dword [esi]
push ebp
push eax
mov ecx, esi
call dword [edx + 0xd8]
mov eax, dword [esi + 0x1c]
sub edi, ebp
cmp edi, eax
ja 0x5683e0
mov eax, dword [esi + 0x1c]
cmp edi, eax
jbe 0x568509
mov ebp, edi
sub ebp, eax
mov eax, dword [esp + 0x88]
push eax
jmp 0x5684fc
mov ecx, dword [esi + 0x1c]
add ecx, eax
cmp edi, ecx
jb 0x56849b
lea ecx, [ecx]
mov ecx, dword [esi + 0x38]
cmp ecx, eax
jb 0x56849b
mov edx, dword [esi + 0x30]
mov eax, ecx
cmp eax, edx
jb 0x56847a
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 0x56846b
mov dword [esi + 0x3c], ebx
mov ebx, dword [esp + 0x78]
sub eax, edx
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x7c]
jmp 0x56847c
xor eax, eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 0xd8]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ebp, eax
sub edi, eax
add edx, ebp
cmp edi, edx
jae 0x568440
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add ecx, eax
cmp edi, ecx
jb 0x5684da
mov ecx, dword [esi + 0x38]
test ecx, ecx
jbe 0x5684da
mov ebp, eax
sub ebp, ecx
push ebp
lea ecx, [esi + 0x24]
push ebx
call fcn.005675f0
mov edx, dword [esi + 0x18]
add ebx, ebp
mov ebp, dword [esi]
push edx
lea ecx, [esi + 0x24]
call fcn.005674e0
push eax
mov ecx, esi
call dword [ebp + 0xd8]
mov eax, dword [esi + 0x18]
sub edi, eax
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + eax]
cmp edi, edx
jb 0x568509
push eax
mov eax, edi
sub eax, ecx
push eax
call fcn.00565c80
mov ecx, dword [esp + 0x90]
add esp, 8
mov ebp, eax
push ecx
push ebp
mov ecx, esi
push ebx
call fcn.005670f0
add ebx, ebp
sub edi, ebp
sub edi, dword [esi + 0x38]
push edi
push ebx
lea ecx, [esi + 0x24]
call fcn.005675f0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5685f4
mov al, byte [esi + 0x20]
test al, al
jne 0x56853f
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x56853f
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0xcc]
mov ebx, dword [esi + 0x38]
test ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x18], ebx
jbe 0x56855b
push ebx
call fcn.005abeeb
add esp, 4
mov ebp, eax
jmp 0x56855d
xor ebp, ebp
mov dword [esp + 0x1c], ebp
lea edi, [esi + 0x24]
push ebp
mov ecx, edi
mov dword [esp + 0x74], 1
call fcn.00567580
mov eax, dword [esi]
push ebx
push ebp
mov ecx, esi
call dword [eax + 0xdc]
mov ebx, dword [esi + 0x14]
push ebx
mov ecx, edi
mov byte [esi + 0x20], 0
call fcn.00559770
mov ecx, dword [edi + 8]
mov dword [edi + 0x18], ecx
mov dword [edi + 0xc], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0
mov edi, dword [esp + 0x80]
mov edx, dword [esi]
mov ecx, esi
dec edi
call dword [edx + 0xa8]
mov ecx, dword [esp + 0x84]
mov edx, dword [eax]
push ecx
push edi
push 0
push 0
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x78]
neg eax
sbb eax, eax
mov edx, ecx
neg eax
mov dword [esi + 0x10], eax
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.005abee6
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