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

Disassembly:
push 0xffffffffffffffff
push 0x6959bd
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [esp + 0x16c]
mov edi, dword [esp + 0x17c]
mov esi, dword [esp + 0x180]
mov ebp, ecx
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x24], ecx
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0xe0], eax
call fcn.004afa40
xor ebx, ebx
cmp byte [esi + 0x121], bl
mov dword [esp + 0x160], ebx
jne 0x5a3f6c
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x24], bl
jne 0x5a3f6c
xor al, al
jmp 0x5a3f71
mov eax, 1
push eax
push str.channelSendData2
push esi
lea ecx, [esp + 0x58]
call fcn.004b1880
mov eax, dword [esp + 0x168]
cmp eax, 0xffffffff
mov byte [esp + 0x160], 1
jne 0x5a3fce
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.No_SSH_channel.
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x160], bl
call fcn.004b18c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x160], 0xffffffff
call fcn.004afa70
xor al, al
jmp 0x5a44db
mov ecx, dword [esp + 0x170]
mov dword [esp + 0x28], ecx
lea ecx, [ebp + 0x3e8]
push eax
mov dword [esp + 0x30], ebx
call fcn.005a69c0
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x5a403e
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Channel_not_found.
mov ecx, esi
call eax
mov ecx, dword [esp + 0x168]
push ecx
push str.clientChannelNum
mov ecx, esi
call fcn.004b14c0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x160], bl
call fcn.004b18c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x160], 0xffffffff
call fcn.004afa70
xor al, al
jmp 0x5a44db
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
mov dword [eax + 0x14], edx
call fcn.005a65a0
mov ecx, dword [esp + 0x18]
lea eax, [ebp + 0x3e8]
mov dword [esp + 0x44], eax
mov eax, 0x400
cmp dword [esp + 0x174], eax
mov byte [esp + 0x160], 2
mov dword [esp + 0x48], ecx
jae 0x5a4084
mov dword [esp + 0x174], eax
mov eax, dword [ecx + 0xa8]
cmp dword [esp + 0x174], eax
jbe 0x5a409a
mov dword [esp + 0x174], eax
sub dword [esp + 0x174], 0x40
lea ecx, [esp + 0xc0]
call fcn.00468060
cmp dword [esp + 0x170], ebx
mov byte [esp + 0x160], 3
je 0x5a4490
mov ecx, dword [esp + 0x174]
mov eax, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x20], ecx
ja 0x5a40da
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xb0]
cmp dword [esp + 0x20], eax
jbe 0x5a40ee
mov dword [esp + 0x20], eax
cmp eax, 0x2008
jae 0x5a4101
mov dword [ebp + 0x448], 0x11
jmp 0x5a410e
cmp dword [ebp + 0x448], 0x10
jbe 0x5a42ef
cmp byte [esi + 0x121], bl
jne 0x5a4123
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x24], bl
jne 0x5a4123
xor al, al
jmp 0x5a4128
mov eax, 1
push eax
push str.winAdjustCheck
push esi
lea ecx, [esp + 0x64]
call fcn.004b1880
push esi
push edi
mov ecx, ebp
mov byte [esp + 0x168], 4
call fcn.005a2040
mov ecx, edi
mov byte [esp + 0x17], al
call fcn.00512000
test al, al
jne 0x5a4505
lea esp, [esp]
cmp byte [esp + 0x17], bl
je 0x5a42da
lea ecx, [esp + 0x9c]
mov dword [ebp + 0x448], ebx
mov dword [esp + 0x64], vtable.SshReadParams.0
mov dword [esp + 0x68], ebx
mov byte [esp + 0x6c], 1
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0xea60
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x90], bl
mov byte [esp + 0x91], bl
mov byte [esp + 0x92], bl
mov byte [esp + 0x93], bl
mov byte [esp + 0x94], bl
mov byte [esp + 0x95], bl
mov dword [esp + 0x98], ebx
call fcn.00468060
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
mov cl, byte [eax + 0x24]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x28]
mov byte [esp + 0x88], cl
mov ecx, edi
mov byte [esp + 0x160], 5
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x70], ebx
mov dword [esp + 0x8c], edx
call fcn.00512090
push esi
push edi
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.005a3170
mov ecx, dword [edi + 4]
cmp ecx, ebx
mov byte [esp + 0x1f], al
je 0x5a4261
push esi
call fcn.004d0e20
test al, al
jne 0x5a4573
mov ecx, edi
call fcn.00512000
test al, al
jne 0x5a45b0
cmp byte [esp + 0x93], bl
jne 0x5a45ec
cmp byte [esp + 0x91], bl
jne 0x5a45f3
push esi
push edi
mov ecx, ebp
call fcn.005a2040
mov ecx, edi
mov byte [esp + 0x17], al
call fcn.00512000
test al, al
jne 0x5a45fd
lea ecx, [esp + 0x9c]
mov byte [esp + 0x160], 4
mov dword [esp + 0x64], vtable.SshReadParams.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
call fcn.00468860
cmp byte [esp + 0x1f], bl
jne 0x5a4160
lea ecx, [esp + 0x58]
mov byte [esp + 0x160], 3
call fcn.004b18c0
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x20], ebx
jne 0x5a4327
cmp dword [ecx + 0xb0], ebx
jne 0x5a4486
mov edx, dword [esp + 0x24]
push esi
push edi
push edx
push ecx
mov ecx, ebp
call fcn.005a3ca0
test al, al
je 0x5a4523
mov dword [ebp + 0x448], 0x11
jmp 0x5a4486
lea ecx, [esp + 0xc0]
call fcn.00467d60
push 0x5e
lea ecx, [esp + 0xc4]
call fcn.00468d30
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xa0]
lea eax, [esp + 0xc0]
push eax
push edx
call fcn.005cd100
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xe4]
lea eax, [esp + 0xc8]
push eax
mov eax, dword [esp + 0x38]
push ecx
add edx, eax
push edx
call fcn.005cd390
add esp, 0x14
lea ecx, [esp + 0xe0]
mov dword [esp + 0x3c], ebx
call fcn.00485650
cmp byte [ebp + 0xc4], bl
mov byte [esp + 0x160], 6
je 0x5a43df
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x94]
push edx
push str.channel
lea ecx, [esp + 0xe8]
call fcn.00488b40
push 0x20
lea ecx, [esp + 0xe4]
call fcn.00487e40
mov eax, dword [esp + 0x170]
push eax
push str.numBytes
lea ecx, [esp + 0xe8]
call fcn.00488b40
add dword [ebp + 0x448], 1
push esi
push edi
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0xf0]
call fcn.00483ec0
push eax
push str.CHANNEL_DATA
mov ecx, ebp
call fcn.0059f590
cmp al, bl
je 0x5a460f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 0xa8]
jbe 0x5a4460
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Sent_packet_larger_than_what_server_can_accept.
mov ecx, esi
call eax
mov ecx, dword [esp + 0x3c]
push ecx
push str.sizeOfPacketSent
mov ecx, esi
call fcn.004b14c0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xa8]
push eax
push str.serverMaxPacketSize
mov ecx, esi
call fcn.004b14c0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
sub dword [ecx + 0xb0], eax
add dword [esp + 0x2c], eax
sub dword [esp + 0x28], eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x160], 3
call fcn.00485710
cmp dword [esp + 0x28], ebx
jne 0x5a40c3
lea ecx, [esp + 0xc0]
mov byte [esp + 0x160], 2
call fcn.00468860
lea ecx, [esp + 0x40]
mov byte [esp + 0x160], 1
call fcn.005a6c80
lea ecx, [esp + 0x4c]
mov byte [esp + 0x160], bl
call fcn.004b18c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x160], 0xffffffff
call fcn.004afa70
mov al, 1
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x150
ret 0x1c
push esi
push str.lowWindowSizeCheck
mov ecx, edi
call fcn.00512100
lea ecx, [esp + 0x58]
mov byte [esp + 0x160], 3
call fcn.004b18c0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x160], 2
call fcn.00468860
lea ecx, [esp + 0x40]
mov byte [esp + 0x160], 1
call fcn.005a6c80
lea ecx, [esp + 0x4c]
mov byte [esp + 0x160], bl
call fcn.004b18c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x160], 0xffffffff
call fcn.004afa70
xor al, al
jmp 0x5a44db
push str.aborted_by_user_application.
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x160], 4
mov dword [esp + 0x64], vtable.SshReadParams.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
call fcn.00468860
jmp 0x5a4512
push esi
push str.sshWindowAdjust1
mov ecx, edi
call fcn.00512100
lea ecx, [esp + 0x9c]
mov byte [esp + 0x160], 4
mov dword [esp + 0x64], vtable.SshReadParams.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
call fcn.00468860
jmp 0x5a4512
push str.Received_DISCONNECT
jmp 0x5a4578
push str.Received_CHANNEL_CLOSE
jmp 0x5a4578
push esi
push str.lowWindowSizeCheck
mov ecx, edi
call fcn.00512100
jmp 0x5a4581
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Error_sending_data
mov ecx, esi
call eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x160], 3
call fcn.00485710
jmp 0x5a4523