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

Disassembly:
push 0xffffffffffffffff
push 0x50b2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5894dc]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
xor bl, bl
call fcn.00404230
cmp dword [esi + 0x544], 0
mov dword [esp + 0x44], 0
je 0x49a408
cmp dword [esi + 0x548], 0
mov edi, dword [esp + 0x5c]
je 0x49a3f5
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
push 0
push 0x65
mov byte [ebp], bl
mov byte [eax], bl
mov byte [ecx], bl
mov ecx, dword [esp + 0x5c]
mov byte [edx], bl
mov eax, dword [esi + 0x544]
mov edx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x6c]
mov byte [esp + 0x70], bl
mov byte [esp + 0x5c], bl
mov byte [esp + 0x23], bl
mov dword [eax + 0x278], ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x27]
push ecx
push edi
push edx
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esi + 0x544]
lea edx, [esp + 0x40]
push edx
push eax
push 0
push 0
push 1
push eax
mov eax, dword [esi + 0x548]
push eax
call fcn.004aa520
cmp byte [esp + 0x64], 0
movzx ecx, byte [esp + 0x1a]
mov edx, dword [esp + 0x68]
mov bl, al
mov eax, dword [esp + 0x18]
mov byte [ebp], ah
mov byte [edx], cl
movzx ecx, byte [esp + 0x1b]
mov edx, dword [esp + 0x6c]
mov byte [edx], cl
mov ecx, dword [esp + 0x70]
mov byte [ecx], al
je 0x49a3c2
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Received_EOF_on_SSH_channel.
mov ecx, edi
call eax
cmp byte [esp + 0x50], 0
je 0x49a3d7
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Received_Close_on_SSH_channel.
mov ecx, edi
call eax
cmp byte [esp + 0x17], 0
je 0x49a499
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Disconnected_on_SSH_channel.
mov ecx, edi
call eax
jmp 0x49a499
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.No_SSH_channel_for_reading.
mov ecx, edi
call eax
jmp 0x49a499
cmp byte [esi + 0x38], 0
je 0x49a451
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x5c]
push 0x12c
push ecx
mov ecx, dword [esp + 0x70]
lea edx, [esi + 0x5ac]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 0x40]
call fcn.004c34c0
jmp 0x49a497
mov ecx, dword [esp + 0x58]
lea ebx, [esi + 0x3b8]
push ecx
mov ecx, ebx
call fcn.00458f80
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.00459a00
mov bl, al
lea ecx, [esp + 0x1c]
mov dword [0x58b764], 0xa2
call fcn.0046fb70
add dword [esi + 0x550], eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x50]
adc dword [esi + 0x554], 0
call fcn.004058a0
test bl, bl
je 0x49a4f3
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x49a4f3
mov edx, dword [esp + 0x54]
push 0x67
push edx
call fcn.0044e7f0
test al, al
je 0x49a4f3
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Socket_ReceiveBytes_aborted_by_application.
mov ecx, edi
call edx
xor bl, bl
lea ecx, [esp + 0x1c]
mov dword [0x58b764], 0xa3
mov dword [esp + 0x44], 0xffffffff
call fcn.00404a00
mov al, bl
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x2c