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

Disassembly:
push 0xffffffffffffffff
push 0x101a7622
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x170]
mov edx, dword [esp + 0x178]
mov edi, dword [esp + 0x16c]
mov ebp, dword [esp + 0x180]
mov esi, dword [esp + 0x188]
mov ebx, ecx
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18c]
mov dword [esp + 0x1c], ecx
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
call fcn.1005ff60
push str.sshTransportOpenChannel
push esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x16c], 0
call fcn.10061630
mov eax, dword [esp + 0x38]
mov dword [eax], 0xffffffff
cmp byte [ebp + 0x24], 0
mov byte [esp + 0x164], 1
je 0x10148a68
cmp dword [ebp + 0x28], 0
jne 0x10148a68
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.No_m_pHandler.
mov ecx, esi
call eax
test edi, edi
je 0x10148ef5
mov eax, 1
cmp dword [edi + 0x1c], eax
jne 0x10148ae0
push str.Globalscape
push str.serverversion
mov ecx, ebx
call fcn.10142820
test al, al
je 0x10148acb
add ebx, 0x79c
push 0
mov ecx, ebx
call fcn.101499f0
test eax, eax
je 0x10148abf
mov ecx, dword [0x1026baf8]
mov dword [edi + 0x94], ecx
add dword [0x1026baf8], 1
push eax
mov ecx, ebx
call fcn.101497e0
jmp 0x10148af2
mov dword [edi + 0x94], 0
jmp 0x10148af2
mov edx, dword [0x1026baf8]
mov dword [edi + 0x94], edx
add dword [0x1026baf8], 1
jmp 0x10148af2
mov ecx, dword [0x1026baf8]
mov dword [edi + 0x94], ecx
add dword [0x1026baf8], eax
lea ecx, [esp + 0x28]
call fcn.10061ab0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x164], 2
mov dword [esp + 0x2c], edi
call fcn.10095ac0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov dword [edx], 0
mov dword [eax], 0
call fcn.10010660
lea ecx, [esp + 0x3c]
call fcn.100182e0
push 0x5a
lea ecx, [esp + 0x40]
mov byte [esp + 0x168], 3
call fcn.10018f60
lea ecx, [esp + 0x3c]
lea ebx, [edi + 0x20]
push ecx
mov ecx, ebx
call fcn.1008be90
push eax
call fcn.10187360
add esp, 8
cmp byte [esi + 0x125], 0
je 0x10148bb0
push ebx
push str.channelType
mov ecx, esi
call fcn.10060fd0
mov edx, dword [edi + 0x94]
push edx
push str.clientChannel
mov ecx, esi
call fcn.100612a0
mov eax, dword [edi + 0x98]
push eax
push str.clientInitialWindowSize
mov ecx, esi
call fcn.100612a0
mov ecx, dword [edi + 0x9c]
push ecx
push str.clientMaxPacketSize
mov ecx, esi
call fcn.100612a0
mov eax, dword [edi + 0x94]
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.10187240
mov edx, dword [edi + 0x98]
lea ecx, [esp + 0x44]
push ecx
push edx
call fcn.10187240
mov ecx, dword [edi + 0x9c]
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.10187240
add esp, 0x18
lea ecx, [esp + 0x70]
call fcn.10010fb0
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xc4], 0
mov byte [esp + 0x164], 4
je 0x10148c2f
push 0x1023da2c
mov ecx, ebx
call fcn.1008be90
push eax
lea ecx, [esp + 0x78]
call fcn.10013890
mov eax, dword [edi + 0x94]
push eax
push str.channel
lea ecx, [esp + 0x78]
call fcn.100146f0
push 0x1022b88c
mov ecx, ebx
call fcn.100131b0
test al, al
je 0x10148cae
lea edx, [esp + 0x3c]
lea ecx, [edi + 0x1e4]
push edx
call fcn.1008be90
push eax
call fcn.10187360
mov ecx, dword [edi + 0x258]
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.10187240
mov ebx, dword [esp + 0x28]
add esp, 0x10
cmp byte [ebx + 0xc4], 0
je 0x10148def
lea ecx, [edi + 0x1e4]
call fcn.1008be90
push eax
push str.x11_address
lea ecx, [esp + 0x78]
call fcn.10014730
mov edx, dword [edi + 0x258]
push edx
push str.x11_port
lea ecx, [esp + 0x78]
call fcn.100146f0
jmp 0x10148def
push str.direct_tcpip
mov ecx, ebx
call fcn.100131b0
test al, al
je 0x10148deb
lea eax, [esp + 0x3c]
lea ebx, [edi + 0x25c]
push eax
mov ecx, ebx
call fcn.1008be90
push eax
call fcn.10187360
mov edx, dword [edi + 0x2d0]
lea ecx, [esp + 0x44]
push ecx
push edx
call fcn.10187240
add esp, 0x10
cmp byte [esi + 0x125], 0
je 0x10148d17
push ebx
push str.directTcpHost
mov ecx, esi
call fcn.10060fd0
mov eax, dword [edi + 0x2d0]
push eax
push str.directTcpPort
mov ecx, esi
call fcn.100612a0
lea ecx, [esp + 0xe4]
call fcn.10010fb0
push esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xec]
push edx
add ecx, 0x820
mov byte [esp + 0x170], 5
call fcn.1014a0b0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xe8]
call fcn.1008be90
push eax
call fcn.10187360
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push edx
call fcn.10187240
add esp, 0x10
cmp byte [esi + 0x125], 0
je 0x10148d9f
lea eax, [esp + 0xe4]
push eax
push str.originatorIP
mov ecx, esi
call fcn.10060fd0
mov ecx, dword [esp + 0x14]
push ecx
push str.originatorPort
mov ecx, esi
call fcn.100612a0
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xc4], 0
je 0x10148dd7
mov ecx, ebx
call fcn.1008be90
push eax
push str.tcp_host
lea ecx, [esp + 0x78]
call fcn.10014730
mov eax, dword [edi + 0x2d0]
push eax
push str.tcp_port
lea ecx, [esp + 0x78]
call fcn.100146f0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x164], 4
call fcn.10011070
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x70]
call fcn.1008be90
mov ecx, dword [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
push ecx
push eax
push str.CHANNEL_OPEN
mov ecx, ebx
mov dword [esp + 0x2c], 0
call fcn.10143720
test al, al
mov ecx, esi
jne 0x10148e3d
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Error_sending_open_channel_request
call eax
mov cl, byte [ebp + 0x2f]
mov edx, dword [esp + 0x20]
mov byte [edx], cl
jmp 0x10148ec2
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Sent_open_channel_request
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x94]
push esi
push ecx
push 1
push ebp
mov ecx, ebx
mov dword [esp + 0x24], 0
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x20], edi
call fcn.101479f0
test al, al
je 0x10148f8c
mov dl, byte [ebp + 0x2f]
mov eax, dword [esp + 0x20]
mov byte [eax], dl
mov ecx, dword [ebp + 0x5c]
cmp ecx, dword [edi + 0x94]
jne 0x10148ea0
cmp dword [ebp + 0x3c], 0x62
jne 0x10148f9f
lea ecx, [ebp + 0x40]
call fcn.10017ff0
jmp 0x10148f68
cmp dword [edi + 0x1c], 1
je 0x10148f46
cmp dword [ebp + 0x28], 0
jne 0x10148f5b
push str.Message_for_another_channel_arrived_when_expecting_a_CHANNEL_OPEN_response.
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x164], 3
call fcn.10011070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x164], 2
call fcn.10018a90
lea ecx, [esp + 0x28]
mov byte [esp + 0x164], 1
call fcn.10061ac0
lea ecx, [esp + 0x64]
mov byte [esp + 0x164], 0
call fcn.100616a0
lea ecx, [esp + 0x58]
mov dword [esp + 0x164], 0xffffffff
call fcn.1005ff90
xor al, al
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.1018f87e
add esp, 0x154
ret 0x24
cmp dword [esp + 0x14], 0
jne 0x10148f5b
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Received_extraneous_reply_to_open_channel_request__InitializeSFtp___reading_again_for_the_correct_reply...
mov ecx, esi
call eax
lea ecx, [ebp + 0x40]
call fcn.10017ff0
add dword [esp + 0x14], 1
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x94]
push esi
push edx
mov dword [ebp + 0x14], ecx
push 1
push ebp
mov ecx, ebx
mov dword [ebp + 0x20], edi
call fcn.101479f0
test al, al
jne 0x10148e75
mov al, byte [ebp + 0x2f]
mov ecx, dword [esp + 0x20]
mov byte [ecx], al
push str.Error_reading_channel_response.
jmp 0x10148eb9
mov ecx, dword [ebp + 0x3c]
mov edx, dword [esp + 0x34]
mov dword [edx], ecx
mov eax, dword [ebp + 0x3c]
cmp eax, 0x5b
jne 0x10148fc5
push esi
lea eax, [ebp + 0x40]
push edi
push eax
call fcn.10141fc0
add esp, 0xc
mov bl, 1
jmp 0x1014908f
cmp eax, 0x5c
jne 0x1014906f
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
push esi
push ecx
lea edx, [ebp + 0x40]
push ebx
push edx
call fcn.10141ec0
mov eax, dword [ebx]
add esp, 0x10
push eax
push str.reasonCode
mov ecx, esi
call fcn.100612a0
mov ecx, dword [esp + 0x24]
push ecx
push str.errorDescrip
mov ecx, esi
call fcn.10060fd0
mov eax, dword [ebx]
cmp eax, 1
jne 0x10149021
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push str.Server_says_it_is_administratively_prohibited.
push str.reasonCodeMeaning
mov ecx, esi
call eax
jmp 0x1014908d
cmp eax, 2
jne 0x1014903b
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push str.Server_says_the_connect_failed__no_further_details_provided_by_the_server_.
push str.reasonCodeMeaning
mov ecx, esi
call eax
jmp 0x1014908d
cmp eax, 3
jne 0x10149055
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push str.Server_says_it_is_an_unknown_channel_type.
push str.reasonCodeMeaning
mov ecx, esi
call eax
jmp 0x1014908d
cmp eax, 4
jne 0x1014908d
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push str.Server_says_it_has_a_resource_shortage.
push str.reasonCodeMeaning
mov ecx, esi
call eax
jmp 0x1014908d
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Unexpected_message_type_received_in_response_to_open_channel_request.
mov ecx, esi
call eax
mov ecx, dword [ebp + 0x3c]
push ecx
push str.messageType
mov ecx, esi
call fcn.100612a0
xor bl, bl
xor eax, eax
test bl, bl
mov dword [ebp + 0x20], eax
je 0x101490b8
mov edx, dword [edi + 0x94]
mov ecx, dword [esp + 0x38]
mov dword [ecx], edx
mov ecx, dword [esp + 0x18]
push edi
add ecx, 0x79c
mov dword [esp + 0x30], eax
call fcn.10149970
lea ecx, [esp + 0x70]
mov byte [esp + 0x164], 3
call fcn.10011070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x164], 2
call fcn.10018a90
lea ecx, [esp + 0x28]
mov byte [esp + 0x164], 1
call fcn.10061ac0
lea ecx, [esp + 0x64]
mov byte [esp + 0x164], 0
call fcn.100616a0
lea ecx, [esp + 0x58]
mov dword [esp + 0x164], 0xffffffff
call fcn.1005ff90
mov al, bl
jmp 0x10148f1c