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

Disassembly:
push 0xffffffffffffffff
push 0x581a90
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5df310]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5df310]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
cmp byte [esp + 0x94], 0
mov edx, dword [esp + 0x88]
mov esi, ecx
mov dword [esp + 0x14], edx
jne 0x53df10
push 0x17
xor esi, esi
push str.FilterWithBufferedInput
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
call fcn.00405240
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x84], esi
call fcn.0053d3e0
push 0x5d4494
lea ecx, [esp + 0x4c]
push ecx
call fcn.00511566
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x53e120
cmp byte [esi + 0x24], 0
mov ecx, dword [esi + 0x3c]
lea edi, [ecx + eax]
jne 0x53df8c
mov eax, dword [esi + 0x18]
cmp edi, eax
jb 0x53df82
sub eax, ecx
push eax
push edx
lea ecx, [esi + 0x28]
mov dword [esp + 0x24], eax
call fcn.0053c7d0
mov ebx, dword [esi]
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x28]
call fcn.0053c6e0
mov edx, dword [ebx + 0xc4]
push eax
mov ecx, esi
call edx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
lea eax, [eax + ecx*2 - 2]
xor edx, edx
div ecx
push eax
push ecx
lea ecx, [esi + 0x28]
call fcn.0053db20
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x14], ecx
sub edi, dword [esi + 0x18]
mov byte [esi + 0x24], 1
cmp byte [esi + 0x24], 0
je 0x53e10f
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x1c]
cmp eax, 1
jne 0x53e030
cmp edi, dword [esi + 0x20]
jbe 0x53e003
cmp dword [esi + 0x3c], 0
jbe 0x53e003
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x40]
mov ebx, dword [esi + 0x30]
mov edx, edi
sub edx, dword [esi + 0x20]
add eax, ebx
cmp dword [esi + 0x3c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
lea eax, [esi + 0x3c]
jb 0x53dfca
lea eax, [esp + 0x1c]
cmp dword [eax], edx
jb 0x53dfd2
lea eax, [esp + 0x18]
mov ebp, dword [eax]
sub dword [esi + 0x3c], ebp
mov edx, dword [esi + 0x40]
lea eax, [edx + ebp]
mov dword [esi + 0x40], eax
je 0x53dfeb
mov ecx, dword [esi + 0x2c]
add ecx, ebx
cmp eax, ecx
jne 0x53dfee
mov dword [esi + 0x40], ebx
mov eax, dword [esi]
push ebp
push edx
mov edx, dword [eax + 0xd0]
mov ecx, esi
call edx
sub edi, ebp
cmp edi, dword [esi + 0x20]
ja 0x53dfa0
mov eax, dword [esi + 0x20]
cmp edi, eax
jbe 0x53e10f
mov ecx, dword [esp + 0x14]
mov ebx, edi
sub ebx, eax
mov eax, dword [esp + 0x98]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0053c2d0
add dword [esp + 0x14], ebx
jmp 0x53e10d
mov edx, dword [esi + 0x20]
add edx, eax
cmp edi, edx
jb 0x53e08e
cmp dword [esi + 0x3c], eax
jb 0x53e08e
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x34]
cmp eax, edx
jb 0x53e06f
mov ecx, dword [esi + 0x40]
mov ebp, dword [esi + 0x2c]
mov dword [esp + 0x18], ecx
add ecx, edx
mov edx, dword [esi + 0x30]
add ebp, edx
mov dword [esi + 0x40], ecx
cmp ecx, ebp
jne 0x53e063
mov dword [esi + 0x40], edx
sub eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x18]
jmp 0x53e071
xor eax, eax
mov ecx, dword [ebx]
mov edx, dword [esi]
mov edx, dword [edx + 0xd0]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x20]
sub edi, eax
add ecx, eax
cmp edi, ecx
jae 0x53e039
mov ebp, dword [ebx]
mov edx, dword [esi + 0x20]
add edx, ebp
cmp edi, edx
jb 0x53e0d0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x53e0d0
sub ebp, eax
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esi + 0x28]
push eax
call fcn.0053c7d0
mov ecx, dword [ebx]
add dword [esp + 0x14], ebp
mov ebp, dword [esi]
push ecx
lea ecx, [esi + 0x28]
call fcn.0053c6a0
mov edx, dword [ebp + 0xd0]
push eax
mov ecx, esi
call edx
mov ebp, dword [ebx]
sub edi, ebp
mov eax, dword [esi + 0x20]
lea ecx, [eax + ebp]
cmp edi, ecx
jb 0x53e10f
mov edx, edi
sub edx, eax
lea eax, [esp + 0x18]
push ebx
push eax
mov dword [esp + 0x20], edx
call fcn.0053caf0
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x1c]
add esp, 8
push ecx
mov ebx, eax
push ebx
push ebp
mov ecx, esi
call fcn.0053c2d0
add ebp, ebx
mov dword [esp + 0x14], ebp
sub edi, ebx
sub edi, dword [esi + 0x3c]
mov edx, dword [esp + 0x14]
push edi
lea ecx, [esi + 0x28]
push edx
call fcn.0053c7d0
cmp dword [esp + 0x90], 0
je 0x53e1fb
cmp byte [esi + 0x24], 0
jne 0x53e148
cmp dword [esi + 0x18], 0
jne 0x53e148
mov eax, dword [esi]
mov edx, dword [eax + 0xc4]
push 0
mov ecx, esi
call edx
mov ebx, dword [esi + 0x3c]
push ebx
mov dword [esp + 0x28], ebx
call fcn.0041cee0
add esp, 4
test ebx, ebx
jne 0x53e160
xor ebp, ebp
jmp 0x53e16b
push ebx
call fcn.00540be0
add esp, 4
mov ebp, eax
mov dword [esp + 0x28], ebp
push ebp
lea ecx, [esi + 0x28]
mov dword [esp + 0x84], 1
call fcn.0053c740
mov eax, dword [esi]
mov edx, dword [eax + 0xd4]
push ebx
push ebp
mov ecx, esi
call edx
mov eax, dword [esi + 0x18]
push eax
push 1
lea ecx, [esi + 0x28]
mov byte [esi + 0x24], 0
call fcn.0053db20
mov edx, dword [esi]
mov edi, dword [esp + 0x90]
mov eax, dword [edx + 0xa4]
mov ecx, esi
dec edi
call eax
mov ecx, dword [esp + 0x94]
mov edx, dword [eax]
mov edx, dword [edx + 0x88]
push ecx
push edi
push 0
push 0
push 0x5e0b28
mov ecx, eax
call edx
xor ecx, ecx
test eax, eax
setne cl
xor al, al
mov edi, ebp
push ebp
mov dword [esp + 0x84], 0xffffffff
mov dword [esi + 0x14], ecx
mov ecx, ebx
rep stosb byte es:[edi], al
call fcn.00540b50
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0050fc14
add esp, 0x70
ret 0x14