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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4c9080]
xor eax, esp
mov dword [esp + 0x58], eax
cmp byte [esp + 0x6c], 0
push ebx
mov ebx, dword [esp + 0x64]
push esi
mov esi, ecx
mov dword [esp + 8], ebx
jne 0x476efe
push 0x17
push str.FilterWithBufferedInput
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0040ce42
push str.:_Nonblocking_input_is_not_implemented_by_this_object.
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00462390
add esp, 0xc
mov dword [esp + 0x28], vtable.CryptoPP::Exception.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
push 0xffffffffffffffff
push 0
push eax
mov byte [esp + 0x3c], 0
call fcn.0040cebb
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], vtable.CryptoPP::NotImplemented.0
cmp eax, 0x10
jb 0x477208
jmp 0x4771f9
mov eax, dword [esp + 0x6c]
push ebp
push edi
test eax, eax
je 0x477024
cmp byte [esi + 0x28], 0
mov ecx, dword [esi + 0x44]
lea ebp, [ecx + eax]
jne 0x476f7b
mov eax, dword [esi + 0x1c]
cmp ebp, eax
jb 0x476f71
sub eax, ecx
lea ecx, [esi + 0x2c]
push eax
mov dword [esp + 0x18], eax
mov eax, ebx
push eax
call fcn.00476de0
mov edi, dword [esi]
lea eax, [esi + 0x1c]
push eax
lea ecx, [esi + 0x2c]
call fcn.00476590
push eax
mov ecx, esi
call dword [edi + 0xd8]
mov edi, dword [esi + 0x20]
lea ecx, [esi + 0x2c]
mov eax, dword [esi + 0x24]
xor edx, edx
lea eax, [eax + edi*2]
add eax, 0xfffffffe
div edi
push eax
push edi
call fcn.00477250
add ebx, dword [esp + 0x14]
sub ebp, dword [esi + 0x1c]
mov dword [esp + 0x10], ebx
mov byte [esi + 0x28], 1
cmp byte [esi + 0x28], 0
je 0x477013
mov ecx, dword [esi + 0x20]
lea edi, [esi + 0x20]
cmp ecx, 1
jne 0x477065
cmp ebp, dword [esi + 0x24]
jbe 0x476ff2
nop
cmp dword [esi + 0x44], 0
jbe 0x476ff2
mov ecx, dword [esi + 0x38]
lea edx, [esi + 0x44]
sub ecx, dword [esi + 0x48]
lea eax, [esp + 0x14]
add ecx, dword [esi + 0x34]
mov edi, ebp
sub edi, dword [esi + 0x24]
cmp dword [edx], ecx
mov dword [esp + 0x14], ecx
cmovb eax, edx
mov eax, dword [eax]
cmp eax, edi
cmovb edi, eax
mov eax, dword [esi + 0x48]
sub dword [edx], edi
mov dword [esp + 0x14], eax
lea ecx, [eax + edi]
mov dword [esi + 0x48], ecx
je 0x476fd6
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x34]
cmp ecx, eax
jne 0x476fdc
mov eax, dword [esi + 0x38]
mov dword [esi + 0x48], eax
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [esp + 0x18]
call dword [eax + 0xe4]
sub ebp, edi
cmp ebp, dword [esi + 0x24]
ja 0x476f90
mov edi, dword [esi + 0x24]
cmp ebp, edi
jbe 0x477013
push dword [esp + 0x80]
sub ebp, edi
mov ecx, esi
push ebp
push ebx
call fcn.00476ae0
add ebx, ebp
mov ebp, edi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
sub ebp, dword [esi + 0x44]
lea ecx, [esi + 0x2c]
push ebp
push eax
call fcn.00476de0
cmp dword [esp + 0x78], 0
je 0x4771e2
cmp byte [esi + 0x28], 0
jne 0x477047
cmp dword [esi + 0x1c], 0
jne 0x477047
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xd8]
mov ebx, dword [esi + 0x44]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x47715a
xor ebp, ebp
jmp 0x477165
mov eax, dword [esi + 0x24]
add eax, ecx
cmp ebp, eax
jb 0x4770c8
nop
cmp dword [esi + 0x44], ecx
jb 0x4770c8
mov edx, dword [esi + 0x44]
mov edi, dword [esi + 0x3c]
cmp edx, edi
jb 0x4770a8
mov ebx, dword [esi + 0x48]
lea ecx, [ebx + edi]
mov dword [esi + 0x48], ecx
mov eax, dword [esi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x34]
add eax, dword [esp + 0x14]
cmp ecx, eax
jne 0x4770a1
mov eax, dword [esp + 0x14]
mov dword [esi + 0x48], eax
sub edx, edi
mov dword [esi + 0x44], edx
jmp 0x4770aa
xor ebx, ebx
push dword [esi + 0x20]
mov eax, dword [esi]
lea edi, [esi + 0x20]
push ebx
mov ecx, esi
call dword [eax + 0xe4]
mov ecx, dword [edi]
sub ebp, ecx
mov eax, dword [esi + 0x24]
add eax, ecx
cmp ebp, eax
jae 0x477070
mov eax, dword [esi + 0x24]
mov ecx, dword [edi]
add eax, ecx
cmp ebp, eax
jb 0x477114
mov eax, dword [esi + 0x44]
test eax, eax
je 0x477114
mov edi, dword [esp + 0x10]
sub ecx, eax
push ecx
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x2c]
push edi
call fcn.00476de0
add edi, dword [esp + 0x14]
lea ecx, [esi + 0x2c]
push dword [esi + 0x20]
mov dword [esp + 0x14], edi
mov edi, dword [esi]
call fcn.00476550
push eax
mov ecx, esi
call dword [edi + 0xe4]
mov ecx, dword [esi + 0x20]
lea edi, [esi + 0x20]
sub ebp, ecx
mov edx, dword [esi + 0x24]
lea eax, [edx + ecx]
cmp ebp, eax
jb 0x477013
mov eax, ebp
sub eax, edx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00475d20
add esp, 8
mov edi, eax
mov ecx, esi
push dword [esp + 0x80]
push edi
push dword [esp + 0x18]
call fcn.00476ae0
mov eax, dword [esp + 0x10]
add eax, edi
sub ebp, edi
jmp 0x477017
push ebx
call fcn.0047a0b0
add esp, 4
mov ebp, eax
push ebp
lea ecx, [esi + 0x2c]
mov dword [esp + 0x28], ebp
call fcn.004764c0
mov edx, dword [esi]
mov ecx, esi
push ebx
push ebp
call dword [edx + 0xe8]
push dword [esi + 0x1c]
lea ecx, [esi + 0x2c]
mov byte [esi + 0x28], 0
push 1
call fcn.00477250
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa8]
push dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
dec ecx
mov edx, dword [eax]
push ecx
push 0
push 0
push 0x4ce818
mov ecx, eax
call dword [edx + 0x8c]
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x18], eax
test ebp, ebp
je 0x4771e2
lea eax, [esp + 0x20]
cmp ebx, 0xffffffff
lea ecx, [esp + 0x1c]
mov edi, ebp
cmovbe ecx, eax
xor al, al
push ebp
mov ecx, dword [ecx]
rep stosb byte es:[edi], al
call fcn.0043ae70
add esp, 4
mov ecx, dword [esp + 0x68]
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0043b37f
add esp, 0x5c
ret 0x14
inc eax
lea ecx, [esp + 0x48]
push eax
push dword [esp + 0x4c]
call fcn.0040d337
push 0x4c7100
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.CryptoPP::BufferedTransformation::BlockingInputOnly.0
push eax
call fcn.0043d3c2
int3