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

Disassembly:
push 0xffffffffffffffff
push 0x100700a0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008ab54]
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 0x1002e071
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.10002650
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x78], esi
call fcn.1002f150
push 0x10081914
lea edx, [esp + 0x40]
push edx
call fcn.1004a8fc
test eax, eax
je 0x1002e2c8
cmp byte [ebp + 0x24], 0
mov ecx, dword [ebp + 0x3c]
lea ebx, [ecx + eax]
jne 0x1002e0fa
mov eax, dword [ebp + 0x18]
cmp ebx, eax
lea edi, [ebp + 0x18]
jb 0x1002e0f0
sub eax, ecx
push eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x80]
lea esi, [ebp + 0x28]
push eax
call fcn.1002ddf0
mov eax, dword [ebp]
add eax, 0xc4
mov ecx, esi
mov dword [esp + 0x80], eax
call fcn.1002dd10
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [edx]
mov ecx, ebp
call eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
lea eax, [edx + ecx*2 - 2]
xor edx, edx
div ecx
mov edi, esi
push eax
push ecx
call fcn.1002dca0
mov eax, dword [esp + 0x78]
add dword [esp + 0x7c], eax
sub ebx, dword [ebp + 0x18]
mov byte [ebp + 0x24], 1
cmp byte [ebp + 0x24], 0
je 0x1002e2b7
mov eax, dword [ebp + 0x1c]
cmp eax, 1
jne 0x1002e1bc
cmp ebx, dword [ebp + 0x20]
jbe 0x1002e176
cmp dword [ebp + 0x3c], 0
jbe 0x1002e176
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 0x1002e13d
lea eax, [esp + 0x80]
cmp dword [eax], edx
jb 0x1002e145
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 0x1002e15d
mov ecx, dword [ebp + 0x2c]
add ecx, edi
cmp eax, ecx
jne 0x1002e160
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 0x1002e10b
mov eax, dword [ebp + 0x20]
cmp ebx, eax
jbe 0x1002e2b7
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 0x1002e1ab
mov edx, dword [eax + 0xd0]
call edx
add edi, esi
sub ebx, esi
jmp 0x1002e2bb
mov edx, dword [eax + 0xcc]
call edx
add edi, esi
sub ebx, esi
jmp 0x1002e2bb
mov ecx, dword [ebp + 0x20]
add ecx, eax
cmp ebx, ecx
jb 0x1002e222
cmp dword [ebp + 0x3c], eax
jb 0x1002e222
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x34]
cmp eax, edx
jb 0x1002e200
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
cmp ecx, edi
mov dword [ebp + 0x40], ecx
jne 0x1002e1f2
mov dword [ebp + 0x40], esi
sub eax, edx
mov dword [ebp + 0x3c], eax
mov eax, dword [esp + 0x80]
jmp 0x1002e202
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 0x1002e1c5
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
add edx, eax
cmp ebx, edx
jb 0x1002e26b
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
jbe 0x1002e26b
mov edi, eax
mov eax, dword [esp + 0x7c]
sub edi, ecx
push edi
lea esi, [ebp + 0x28]
push eax
call fcn.1002ddf0
mov ecx, dword [ebp + 0x1c]
add dword [esp + 0x7c], edi
mov edi, dword [ebp]
push ecx
mov ecx, esi
add edi, 0xd0
call fcn.1002dcd0
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 0x1002e2b7
mov edx, ebx
sub edx, ecx
lea ecx, [ebp + 0x1c]
lea eax, [esp + 0x80]
mov dword [esp + 0x80], edx
call fcn.1002d2d0
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 0x1002e1ab
mov edx, dword [eax + 0xd0]
call edx
add edi, esi
sub ebx, esi
jmp 0x1002e2bb
mov edi, dword [esp + 0x7c]
sub ebx, dword [ebp + 0x3c]
lea esi, [ebp + 0x28]
push ebx
push edi
call fcn.1002ddf0
cmp dword [esp + 0x84], 0
je 0x1002e3bd
cmp byte [ebp + 0x24], 0
jne 0x1002e2f1
cmp dword [ebp + 0x18], 0
jne 0x1002e2f1
mov eax, dword [ebp]
mov edx, dword [eax + 0xc4]
push 0
mov ecx, ebp
call edx
mov edi, dword [ebp + 0x3c]
cmp edi, 0xffffffff
mov dword [esp + 0x8c], edi
mov dword [esp + 0x18], edi
jbe 0x1002e309
call fcn.1000b8c0
test edi, edi
jne 0x1002e311
xor ebx, ebx
jmp 0x1002e318
call fcn.1002f360
mov ebx, eax
mov dword [esp + 0x1c], ebx
lea edi, [ebp + 0x28]
push ebx
mov esi, edi
mov dword [esp + 0x74], 1
call fcn.1002dd60
mov ecx, dword [esp + 0x8c]
mov eax, dword [ebp]
mov edx, dword [eax + 0xd4]
push ecx
push ebx
mov ecx, ebp
call edx
mov esi, dword [ebp + 0x18]
push edi
mov byte [ebp + 0x24], 0
call fcn.1000b190
mov eax, dword [edi + 8]
mov dword [edi + 0x10], esi
mov esi, dword [esp + 0x84]
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], 1
mov dword [edi + 0x14], 0
mov edx, dword [ebp]
mov eax, dword [edx + 0xa4]
mov ecx, ebp
add esi, 0xffffffff
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 0x1008c428
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.10049d6f
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