Function at 0x100792e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100d4ab3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
mov dword [esp + 0x14], edi
call fcn.100776f0
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], ebx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
lea esi, [edi + 0x28]
mov dword [edi + 0x18], ecx
push ebx
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], bl
push ebx
mov ecx, esi
mov dword [esp + 0x54], ebx
mov dword [esi + 4], ebx
call fcn.10069e70
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov ebp, 1
cmp eax, ebp
mov byte [esp + 0x4c], 1
mov dword [edi], 0x100dfae0
mov dword [edi + 4], 0x100dfad8
jb 0x100793a3
mov ebp, dword [edi + 0x18]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push ebx
push ebp
push eax
push ecx
push esi
call fcn.1006a850
mov ecx, dword [esp + 0x58]
add esp, 0x14
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
mov eax, edi
mov dword [esi + 4], ebp
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x10
mov cl, byte [esp + 0x60]
mov edi, str.FilterWithBufferedInput:_invalid_buffer_size
mov byte [esp + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ebx
push ecx
push str.FilterWithBufferedInput:_invalid_buffer_size
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebx
call fcn.100036bc
mov bl, 2
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], bl
call fcn.10091535
lea edx, [esp + 0x14]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0x50], 3
mov dword [esp + 0x34], ebp
call fcn.1000350c
lea eax, [esp + 0x24]
push 0x100f5480
push eax
mov byte [esp + 0x54], bl
mov dword [esp + 0x2c], 0x100df2d8
call fcn.100325a2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d4ad0
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov edx, dword [esp + 0x40]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [edi + 0x20]
lea ebx, [edi + 0x1c]
lea esi, [edi + 0x18]
push ecx
push ebx
push esi
push edx
mov ecx, edi
call dword [eax + 0xbc]
cmp dword [ebx], 1
jb 0x100794a6
mov ebp, dword [esi]
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
lea esi, [edi + 0x28]
xor ebx, ebx
push ebx
push ebp
push eax
push ecx
push esi
call fcn.1006a850
mov ecx, dword [esp + 0x54]
add esp, 0x14
mov dword [esi + 8], eax
mov dword [esi + 4], ebp
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov byte [edi + 0x24], bl
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov al, byte [esp + 0x50]
mov edi, str.FilterWithBufferedInput:_invalid_buffer_size
mov byte [esp + 0x10], al
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.10003758
test al, al
je 0x10079500
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
mov esi, str.FilterWithBufferedInput:_invalid_buffer_size
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.1006a1d0
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
call fcn.10091535
mov al, byte [esp + 0x10]
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x30], 1
mov byte [esp + 0x34], al
call fcn.10002424
mov ecx, dword [0x100d6d18]
lea edx, [esp + 0x10]
push ecx
push ebx
push edx
lea ecx, [esp + 0x3c]
call fcn.10003585
lea eax, [esp + 0x20]
push 0x100f5480
push eax
mov byte [esp + 0x50], bl
mov dword [esp + 0x28], 0x100df2d8
call fcn.100325a2
nop
nop
nop
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d4af8
push eax
mov al, byte [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x40
push ebx
xor ebx, ebx
push ebp
push esi
cmp al, bl
push edi
mov esi, ecx
jne 0x10079642
mov al, byte [esp + 0x64]
mov edi, str.FilterWithBufferedInput
mov byte [esp + 0x10], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ebx
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.10003758
test al, al
je 0x100795e4
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
mov esi, str.FilterWithBufferedInput
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.1006a1d0
lea eax, [esp + 0x10]
push str.:_Nonblocking_input_is_not_implemented_by_this_object.
lea ecx, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x64], ebx
call fcn.10050fad
add esp, 0xc
push eax
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 1
call fcn.10067230
mov dword [esp + 0x30], 0x100ded0c
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 3
call fcn.10002424
lea edx, [esp + 0x30]
push 0x100f6c30
push edx
mov dword [esp + 0x38], 0x100dfbc0
mov byte [esp + 0x60], bl
call fcn.100325a2
cmp byte [esp + 0x60], bl
je 0x100796db
cmp byte [esi + 0x24], bl
je 0x100796db
mov eax, dword [esi + 0x1c]
cmp eax, 1
jbe 0x100796aa
cmp dword [esi + 0x3c], eax
jb 0x100796db
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x34]
cmp eax, edx
jb 0x1007968d
mov edi, dword [esi + 0x40]
mov ebx, dword [esi + 0x30]
mov ebp, dword [esi + 0x2c]
lea ecx, [edi + edx]
add ebp, ebx
cmp ecx, ebp
mov dword [esi + 0x40], ecx
jne 0x10079684
mov dword [esi + 0x40], ebx
sub eax, edx
xor ebx, ebx
mov dword [esi + 0x3c], eax
jmp 0x1007968f
xor edi, edi
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi]
push ecx
push edi
mov ecx, esi
call dword [eax + 0xd0]
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x1c]
cmp edx, eax
jae 0x10079662
jmp 0x100796db
mov eax, dword [esi + 0x3c]
cmp eax, ebx
mov dword [esp + 0x64], eax
jbe 0x100796db
lea edi, [esi + 0x28]
mov ebp, dword [esi]
push eax
lea eax, [esp + 0x68]
mov ecx, edi
push eax
call fcn.100791a0
push eax
mov ecx, esi
call dword [ebp + 0xd0]
mov eax, dword [esi + 0x3c]
cmp eax, ebx
mov dword [esp + 0x64], eax
ja 0x100796b8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xd8]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 8