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

Disassembly:
push 0xffffffffffffffff
push 0x7fd102
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.SSH::Channel.0
mov dword [esi + 4], vtable.SSH::Channel.1.0
lea ecx, [esi + 0x104]
mov dword [esp + 0x3c], 3
call fcn.005e579e
mov eax, dword [esi + 0x100]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x3c], 2
je 0x47b93c
mov edi, dword [esi + 0xe0]
add edi, 0xc
dec eax
cmp eax, ebx
mov dword [esi + 0xe0], edi
mov ecx, edi
mov dword [esi + 0x100], eax
je 0x47b87f
cmp ecx, dword [esi + 0xdc]
jne 0x47b92e
mov eax, dword [esi + 0xe4]
lea ecx, [eax + 4]
mov dword [esi + 0xe4], ecx
mov eax, dword [eax]
push eax
call fcn.007d7349
mov eax, dword [esi + 0x100]
add esp, 4
cmp eax, ebx
jne 0x47b8f6
lea ecx, [esp + 0x14]
call fcn.00501890
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0xd8]
mov edi, dword [esp + 0x20]
mov ebp, edx
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0xe8]
mov dword [esi + 0xe8], eax
mov eax, dword [esi + 0xf8]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.007d7349
add esp, 4
jmp 0x47b92e
mov eax, dword [esi + 0xe4]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00481560
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea eax, [esi + 0xd8]
mov dword [esi + 0xd8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x100]
cmp eax, ebx
jne 0x47b857
lea ecx, [esi + 0xa0]
mov byte [esp + 0x3c], 1
call fcn.005e579e
mov eax, dword [esi + 0x9c]
mov byte [esp + 0x3c], bl
cmp eax, ebx
je 0x47ba31
mov edi, dword [esi + 0x7c]
add edi, 0xc
dec eax
cmp eax, ebx
mov dword [esi + 0x7c], edi
mov ecx, edi
mov dword [esi + 0x9c], eax
je 0x47b97d
cmp ecx, dword [esi + 0x78]
jne 0x47ba23
mov eax, dword [esi + 0x80]
lea ecx, [eax + 4]
mov dword [esi + 0x80], ecx
mov edx, dword [eax]
push edx
call fcn.007d7349
mov eax, dword [esi + 0x9c]
add esp, 4
cmp eax, ebx
jne 0x47b9f1
lea ecx, [esp + 0x24]
call fcn.00501890
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0x74]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x84]
mov dword [esi + 0x84], eax
mov dword [ebp + 4], ecx
mov ecx, dword [esi + 0x94]
push ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.007d7349
add esp, 4
jmp 0x47ba23
mov eax, dword [esi + 0x80]
lea ecx, [esp + 0x14]
push eax
mov edx, dword [eax]
push edx
call fcn.00481560
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esi + 0x74]
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x9c]
cmp eax, ebx
jne 0x47b95e
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x47ba4f
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x47ba46
dec cl
mov byte [eax], cl
jmp 0x47ba4f
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret