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

Disassembly:
push 0xffffffffffffffff
push 0x101a75ad
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov eax, dword [esp + 0x174]
mov edi, dword [esp + 0x184]
mov esi, dword [esp + 0x188]
mov ebp, ecx
mov ecx, dword [esp + 0x180]
mov dword [esp + 0x24], ecx
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0xe8], eax
call fcn.1005ff60
xor ebx, ebx
cmp byte [esi + 0x125], bl
mov dword [esp + 0x168], ebx
jne 0x101482ac
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x24], bl
jne 0x101482ac
xor al, al
jmp 0x101482b1
mov eax, 1
push eax
push str.channelSendData2
push esi
lea ecx, [esp + 0x58]
call fcn.10061660
mov eax, dword [esp + 0x170]
cmp eax, 0xffffffff
mov byte [esp + 0x168], 1
jne 0x1014830e
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 + 0x168], bl
call fcn.100616a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x168], 0xffffffff
call fcn.1005ff90
xor al, al
jmp 0x10148822
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x28], ecx
lea ecx, [ebp + 0x79c]
push eax
mov dword [esp + 0x30], ebx
call fcn.101499f0
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x1014837e
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Channel_not_found.
mov ecx, esi
call eax
mov ecx, dword [esp + 0x170]
push ecx
push str.clientChannelNum
mov ecx, esi
call fcn.100612a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x168], bl
call fcn.100616a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x168], 0xffffffff
call fcn.1005ff90
xor al, al
jmp 0x10148822
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
mov dword [eax + 0x14], edx
call fcn.101495d0
mov ecx, dword [esp + 0x18]
lea eax, [ebp + 0x79c]
mov dword [esp + 0x44], eax
mov eax, 0x400
cmp dword [esp + 0x17c], eax
mov byte [esp + 0x168], 2
mov dword [esp + 0x48], ecx
jae 0x101483c4
mov dword [esp + 0x17c], eax
mov eax, dword [ecx + 0xa8]
cmp dword [esp + 0x17c], eax
jbe 0x101483da
mov dword [esp + 0x17c], eax
sub dword [esp + 0x17c], 0x40
lea ecx, [esp + 0xc8]
call fcn.100182e0
cmp dword [esp + 0x178], ebx
mov byte [esp + 0x168], 3
je 0x101487d7
mov ecx, dword [esp + 0x17c]
mov eax, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x20], ecx
ja 0x1014841a
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xb0]
cmp dword [esp + 0x20], eax
jbe 0x1014842e
mov dword [esp + 0x20], eax
cmp eax, 0x2008
jae 0x10148441
mov dword [ebp + 0x7fc], 0x11
jmp 0x1014844e
cmp dword [ebp + 0x7fc], 0x10
jbe 0x10148636
cmp byte [esi + 0x125], bl
jne 0x10148463
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x24], bl
jne 0x10148463
xor al, al
jmp 0x10148468
mov eax, 1
push eax
push str.winAdjustCheck
push esi
lea ecx, [esp + 0x64]
call fcn.10061660
push esi
push edi
mov ecx, ebp
mov byte [esp + 0x170], 4
call fcn.101462c0
mov ecx, edi
mov byte [esp + 0x17], al
call fcn.10095a30
test al, al
jne 0x1014884c
lea esp, [esp]
cmp byte [esp + 0x17], bl
je 0x10148621
lea ecx, [esp + 0xa4]
mov dword [ebp + 0x7fc], 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 dword [esp + 0x98], ebx
mov byte [esp + 0x9c], bl
mov dword [esp + 0xa0], ebx
call fcn.100182e0
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], 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 + 0x168], 5
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x70], ebx
mov dword [esp + 0x8c], edx
call fcn.10095ac0
push esi
push edi
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.10147490
mov ecx, dword [edi + 4]
cmp ecx, ebx
mov byte [esp + 0x1f], al
je 0x101485a8
push esi
call fcn.1007aa60
test al, al
jne 0x101488ba
mov ecx, edi
call fcn.10095a30
test al, al
jne 0x101488f7
cmp byte [esp + 0x93], bl
jne 0x10148933
cmp byte [esp + 0x91], bl
jne 0x1014893a
push esi
push edi
mov ecx, ebp
call fcn.101462c0
mov ecx, edi
mov byte [esp + 0x17], al
call fcn.10095a30
test al, al
jne 0x10148944
lea ecx, [esp + 0xa4]
mov byte [esp + 0x168], 4
mov dword [esp + 0x64], vtable.SshReadParams.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
call fcn.10018a90
cmp byte [esp + 0x1f], bl
jne 0x101484a0
lea ecx, [esp + 0x58]
mov byte [esp + 0x168], 3
call fcn.100616a0
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x20], ebx
jne 0x1014866e
cmp dword [ecx + 0xb0], ebx
jne 0x101487cd
mov edx, dword [esp + 0x24]
push esi
push edi
push edx
push ecx
mov ecx, ebp
call fcn.10147fd0
test al, al
je 0x1014886a
mov dword [ebp + 0x7fc], 0x11
jmp 0x101487cd
lea ecx, [esp + 0xc8]
call fcn.10017ff0
push 0x5e
lea ecx, [esp + 0xcc]
call fcn.10018f60
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xa0]
lea eax, [esp + 0xc8]
push eax
push edx
call fcn.10187240
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xec]
lea eax, [esp + 0xd0]
push eax
mov eax, dword [esp + 0x38]
push ecx
add edx, eax
push edx
call fcn.101874d0
add esp, 0x14
lea ecx, [esp + 0xe8]
mov dword [esp + 0x3c], ebx
call fcn.10010fb0
cmp byte [ebp + 0xc4], bl
mov byte [esp + 0x168], 6
je 0x10148726
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x94]
push edx
push str.channel
lea ecx, [esp + 0xf0]
call fcn.100146f0
push 0x20
lea ecx, [esp + 0xec]
call fcn.100139f0
mov eax, dword [esp + 0x178]
push eax
push str.numBytes
lea ecx, [esp + 0xf0]
call fcn.100146f0
add dword [ebp + 0x7fc], 1
push esi
push edi
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0xf8]
call fcn.1008be90
push eax
push str.CHANNEL_DATA
mov ecx, ebp
call fcn.10143720
cmp al, bl
je 0x10148956
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 0xa8]
jbe 0x101487a7
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.100612a0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xa8]
push eax
push str.serverMaxPacketSize
mov ecx, esi
call fcn.100612a0
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 + 0xe8]
mov byte [esp + 0x168], 3
call fcn.10011070
cmp dword [esp + 0x28], ebx
jne 0x10148403
lea ecx, [esp + 0xc8]
mov byte [esp + 0x168], 2
call fcn.10018a90
lea ecx, [esp + 0x40]
mov byte [esp + 0x168], 1
call fcn.10149cb0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x168], bl
call fcn.100616a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x168], 0xffffffff
call fcn.1005ff90
mov al, 1
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.1018f87e
add esp, 0x158
ret 0x1c
push esi
push str.lowWindowSizeCheck
mov ecx, edi
call fcn.10095b30
lea ecx, [esp + 0x58]
mov byte [esp + 0x168], 3
call fcn.100616a0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x168], 2
call fcn.10018a90
lea ecx, [esp + 0x40]
mov byte [esp + 0x168], 1
call fcn.10149cb0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x168], bl
call fcn.100616a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x168], 0xffffffff
call fcn.1005ff90
xor al, al
jmp 0x10148822
push str.aborted_by_user_application.
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x168], 4
mov dword [esp + 0x64], vtable.SshReadParams.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
call fcn.10018a90
jmp 0x10148859
push esi
push str.sshWindowAdjust1
mov ecx, edi
call fcn.10095b30
lea ecx, [esp + 0xa4]
mov byte [esp + 0x168], 4
mov dword [esp + 0x64], vtable.SshReadParams.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
call fcn.10018a90
jmp 0x10148859
push str.Received_DISCONNECT
jmp 0x101488bf
push str.Received_CHANNEL_CLOSE
jmp 0x101488bf
push esi
push str.lowWindowSizeCheck
mov ecx, edi
call fcn.10095b30
jmp 0x101488c8
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Error_sending_data
mov ecx, esi
call eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x168], 3
call fcn.10011070
jmp 0x1014886a