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

Disassembly:
push 0xffffffffffffffff
push 0x65044e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x59c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ebx
lea ecx, [esp + 0x2c]
call fcn.004eea40
mov ebp, dword [esp + 0x5cc]
xor edi, edi
push str.sshSetupConnection
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x5bc], edi
call fcn.004f0370
mov eax, dword [esp + 0x5c0]
mov ecx, dword [esp + 0x5c4]
mov esi, dword [esp + 0x5c8]
mov byte [esp + 0x5b4], 1
mov byte [eax], 0
mov byte [ecx], 0
mov ecx, esi
call fcn.00514cb0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x98]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
call fcn.004e57f0
lea esi, [ebx + 0x6e8]
lea ecx, [esp + 0x98]
push esi
mov byte [esp + 0x5b8], 2
call fcn.004e8a40
push 0x6b5dfc
lea ecx, [esp + 0x9c]
call fcn.004e5040
mov edi, dword [ebp]
mov ecx, esi
call fcn.004dda00
push eax
push str.clientIdentifier
mov ecx, ebp
call dword [edi + 0x2c]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x57bf8b
mov byte [edi + 0x94], 1
mov eax, dword [ebp]
push str.Sending_client_identifier...
mov ecx, ebp
call dword [eax + 0x18]
mov ecx, dword [esp + 0x5c8]
mov eax, dword [ebx + 0x66c]
push ecx
lea edx, [esp + 0x80]
push ebp
push edx
push eax
push 0
push 0x190
lea ecx, [esp + 0xb0]
mov dword [esp + 0x94], 0
call fcn.004e2930
push eax
lea ecx, [esp + 0xb4]
call fcn.004dda00
push eax
lea ecx, [ebx + 0x46c]
call fcn.00622430
mov edx, dword [ebp]
push str.Done_sending_client_identifier.
mov ecx, ebp
mov byte [esp + 0x17], al
call dword [edx + 0x18]
test edi, edi
je 0x57c003
mov byte [edi + 0x94], 0
mov al, byte [esp + 0x13]
test al, al
jne 0x57c01d
mov eax, dword [ebp]
push str.Failed_to_send_initial_protocol_version_string
mov ecx, ebp
call dword [eax + 0x14]
jmp 0x57cff8
push 0x6b5dfc
mov ecx, esi
call fcn.004dda00
push eax
push 0x6ff88c
mov ecx, ebx
call fcn.00579ee0
mov edx, dword [ebp]
push str.Reading_server_version...
mov ecx, ebp
call dword [edx + 0x18]
mov edi, dword [esp + 0x5c8]
push ebp
push edi
mov ecx, ebx
call fcn.00579c90
test al, al
lea esi, [ebx + 0x674]
jne 0x57c0cb
push str.220
mov ecx, esi
call fcn.004e5170
test al, al
je 0x57cff8
mov ecx, esi
call fcn.004e2b40
push esi
push str.received
mov ecx, ebp
call fcn.004efcb0
mov eax, dword [ebp]
push str.You_are_trying_to_connect_to_an_FTP_server.
mov ecx, ebp
call dword [eax + 0x14]
mov edx, dword [ebp]
push str.An_FTP_server_expects_to_communicate_using_the_FTP_protocol.
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [ebp]
push str.However__this_is_trying_to_establish_a_connection_to_an_SSH_server_using_the_SSH_protocol.
mov ecx, ebp
call dword [eax + 0x14]
mov edx, dword [ebp]
push str._The_SFTP_protocol_is_the_Secure_File_Transfer_over_SSH__whereas_FTPS_is_the_FTP_protocol_over_SSL_TLS_
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [ebp]
push str.You_should_instead_use_Chilkat_FTP2_to_connect_to_an_FTP_server.
mov ecx, ebp
call dword [eax + 0x14]
jmp 0x57cff8
mov ecx, esi
call fcn.004dda00
push eax
push str.serverVersion
mov ecx, ebp
call fcn.004eeed0
push str.SSH_1
mov ecx, esi
call fcn.004e5170
test al, al
je 0x57c11e
push str.SSH_1.99
mov ecx, esi
call fcn.004e5170
test al, al
jne 0x57c11e
mov edx, dword [ebp]
push str.The_older_SSH_v1._protocol_is_not_supported.
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [ebp]
push str.Chilkat_only_implements_the_SSH_v2.0__or_greater__protocol.
mov ecx, ebp
call dword [eax + 0x14]
jmp 0x57cff8
push str.F_SECURE
mov ecx, esi
call fcn.004e8fc0
test al, al
je 0x57c192
push str.2.1.0
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c17e
push str.2.2.0
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c17e
push str.2.3.0
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c17e
push str.2.0.
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c17e
push str.2.1
mov ecx, esi
call fcn.004e8fc0
test al, al
je 0x57c192
mov edx, dword [ebp]
push str.Server_has_SSH_2_HMAC_bug.
mov ecx, ebp
call dword [edx + 0x18]
mov byte [ebx + 0x668], 1
push str.SSH_2.0_OpenSSH_4.0
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c1d2
push str.SSH_2.0_OpenSSH_4.1
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c1d2
push str.SSH_2.0_OpenSSH_4.2
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c1d2
push str.SSH_2.0_OpenSSH_3.
mov ecx, esi
call fcn.004e8fc0
test al, al
je 0x57c1d9
mov byte [ebx + 0x66a], 0
push str.OpenSSH_7
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.OpenSSH_6
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.OpenSSH_8
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.OpenSSH_9
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.OpenSSH_10
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.Erlang
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.WS_FTP_SSH_8
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.WS_FTP_SSH_9
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.WS_FTP_SSH_1
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.SSH_2.0_Cisco_1.2
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.SSH_1.99_Cisco_1
mov ecx, esi
call fcn.004e8fc0
test al, al
jne 0x57c2a9
push str.Devart_6.0
mov ecx, esi
call fcn.004e8fc0
test al, al
je 0x57c2b0
mov byte [ebx + 0xc5], 0
push 0x6b5dfc
mov ecx, esi
call fcn.004dda00
push eax
push str.TRAN_
mov ecx, ebx
call fcn.00579ee0
mov edx, dword [ebp]
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.004dda00
push eax
mov eax, dword [esp + 0x18]
push str.serverVersion
mov ecx, ebp
call dword [eax + 0x2c]
push ebp
push edi
mov ecx, ebx
call fcn.0057a050
test al, al
je 0x57cff8
lea ecx, [esp + 0x34]
call fcn.004dfe70
lea ecx, [esp + 0x34]
mov byte [esp + 0x5b4], 3
call fcn.004dd9e0
push ebp
push edi
push 0
lea ecx, [esp + 0x40]
push 0
push ecx
mov ecx, ebx
call fcn.00577720
test al, al
je 0x57c3bf
lea ecx, [esp + 0x34]
call fcn.005a8750
test eax, eax
je 0x57c39c
lea edx, [esp + 0x34]
push edx
call fcn.00578630
add esp, 4
mov esi, eax
push 0x6b5dfc
push esi
call fcn.0057e280
add esp, 4
mov ecx, ebx
push eax
push str.TRAN_
call fcn.00579ee0
cmp esi, 2
jne 0x57c380
mov al, byte [ebp + 0x121]
test al, al
je 0x57c39c
mov eax, dword [ebp]
push str.Received_SSH2_MSG_IGNORE
mov ecx, ebp
call dword [eax + 0x18]
jmp 0x57c39c
cmp esi, 4
jne 0x57c3de
mov al, byte [ebp + 0x121]
test al, al
je 0x57c39c
mov edx, dword [ebp]
push str.Received_SSH2_MSG_DEBUG
mov ecx, ebp
call dword [edx + 0x18]
lea ecx, [esp + 0x34]
call fcn.004dd9e0
push ebp
push edi
push 0
lea eax, [esp + 0x40]
push 0
push eax
mov ecx, ebx
call fcn.00577720
test al, al
jne 0x57c32b
push ebp
push str.sshConnect1
mov ecx, edi
call fcn.00514d20
mov edx, dword [ebp]
push str.Failed_to_read_1st_key_exchange_packet
mov ecx, ebp
call dword [edx + 0x14]
jmp 0x57cfe7
lea eax, [esp + 0x78]
push ebp
lea ecx, [esp + 0x38]
push eax
xor esi, esi
push ecx
mov ecx, ebx
mov dword [esp + 0x84], esi
call fcn.0057a100
test al, al
jne 0x57c417
cmp dword [esp + 0x78], 1
jne 0x57cfe7
mov edx, dword [esp + 0x5c4]
mov byte [edx], 1
jmp 0x57cfe7
lea eax, [esp + 0x50]
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], esi
call fcn.0057abc0
mov al, byte [ebp + 0x121]
test al, al
je 0x57c45c
mov edx, dword [esp + 0x58]
mov ecx, ebp
push edx
push str.numBits
call fcn.004effe0
mov eax, dword [esp + 0x50]
mov ecx, ebp
push eax
push str.pbits
call fcn.004effe0
mov eax, dword [ebx + 0xaf0]
mov esi, 0x1f
cmp eax, 1
jne 0x57c49f
mov al, byte [ebp + 0x121]
mov dword [esp + 0x14], esi
test al, al
je 0x57c487
mov edx, dword [ebp]
push str.Using_Oakley_Group_2.
mov ecx, ebp
call dword [edx + 0x18]
push ebp
push 2
lea ecx, [ebx + 0x1b08]
call fcn.006260c0
push str.diffie_hellman_group1_sha1
jmp 0x57c5ce
cmp eax, 0xe
jne 0x57c4d7
mov al, byte [ebp + 0x121]
mov dword [esp + 0x14], esi
test al, al
je 0x57c4bf
mov eax, dword [ebp]
push str.Using_Oakley_Group_14.
mov ecx, ebp
call dword [eax + 0x18]
push ebp
push 0xe
lea ecx, [ebx + 0x1b08]
call fcn.006260c0
push str.diffie_hellman_group14_sha1
jmp 0x57c5ce
cmp eax, 0x63af
jne 0x57c503
mov al, byte [ebp + 0x121]
test al, al
je 0x57c4f5
mov edx, dword [ebp]
push str.Using_Curve25519.
mov ecx, ebp
call dword [edx + 0x18]
mov dword [esp + 0x14], esi
push str.curve25519_sha256_libssh.org
jmp 0x57c5ce
cmp eax, 0x4e8
je 0x57c585
cmp eax, 0x568
je 0x57c585
cmp eax, 0x5f1
je 0x57c585
cmp eax, 0xa0
je 0x57c538
cmp eax, 0x100
je 0x57c538
mov eax, dword [ebp]
push str.Unexpected_key_exchange_algorithm.
mov ecx, ebp
call dword [eax + 0x18]
jmp 0x57cfe7
mov al, byte [ebp + 0x121]
test al, al
je 0x57c54f
mov edx, dword [ebp]
push str.Using_GEX_Group.
mov ecx, ebp
call dword [edx + 0x18]
mov eax, dword [ebx + 0xaf0]
cmp eax, 0xa0
jne 0x57c563
push str.diffie_hellman_group_exchange_sha1
jmp 0x57c56f
cmp eax, 0x100
jne 0x57c57b
push str.diffie_hellman_group_exchange_sha256
push str.keyExchangeAlg
mov ecx, ebp
call fcn.004eeed0
mov dword [esp + 0x14], 0x21
jmp 0x57c5da
mov al, byte [ebp + 0x121]
test al, al
je 0x57c59c
mov eax, dword [ebp]
push str.Using_ECDH.
mov ecx, ebp
call dword [eax + 0x18]
mov eax, dword [ebx + 0xaf0]
mov dword [esp + 0x14], esi
cmp eax, 0x4e8
jne 0x57c5b4
push str.ecdh_sha2_nistp256
jmp 0x57c5ce
cmp eax, 0x568
jne 0x57c5c2
push str.ecdh_sha2_nistp384
jmp 0x57c5ce
cmp eax, 0x5f1
jne 0x57c5da
push str.ecdh_sha2_nistp521
push str.keyExchangeAlg
mov ecx, ebp
call fcn.004eeed0
mov eax, dword [ebx + 0xaf0]
cmp eax, 0xa0
je 0x57c5f2
cmp eax, 0x100
jne 0x57c8e3
lea ecx, [esp + 0x5c]
call fcn.004dfe70
mov al, byte [ebx + 0xc5]
mov byte [esp + 0x5b4], 4
test al, al
je 0x57c62c
push 0x1e
lea ecx, [esp + 0x60]
call fcn.004e0da0
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x5c]
push ecx
push edx
call fcn.005da3a0
add esp, 8
jmp 0x57c681
push 0x22
lea ecx, [esp + 0x60]
call fcn.004e0da0
mov eax, dword [esp + 0x50]
cmp eax, 0x400
jb 0x57cfb8
cmp eax, 0x2000
ja 0x57cfb8
lea eax, [esp + 0x5c]
push eax
push 0x400
call fcn.005da3a0
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x64]
push ecx
push edx
call fcn.005da3a0
lea eax, [esp + 0x6c]
push eax
push 0x2000
call fcn.005da3a0
add esp, 0x18
mov al, byte [ebp + 0x121]
test al, al
je 0x57c6a9
mov edx, dword [ebp]
push str.Sending_KEX_DH_GEX_REQUEST...
mov ecx, ebp
call dword [edx + 0x18]
mov eax, dword [esp + 0x50]
mov ecx, ebp
push eax
push str.pbits
call fcn.004effe0
push ebp
lea ecx, [esp + 0x60]
push edi
push ecx
push 0
push str.KEX_DH_GEX_REQUEST
mov ecx, ebx
call fcn.00577f40
test al, al
jne 0x57c6d4
mov edx, dword [ebp]
push str.Error_sending_KEX_DH_GEX_REQUEST_message_to_server
mov ecx, ebp
call dword [edx + 0x14]
jmp 0x57cfd6
lea ecx, [esp + 0x34]
call fcn.004dd9e0
push ebp
push edi
push 0
lea eax, [esp + 0x40]
push 0
push eax
mov ecx, ebx
call fcn.00577720
test al, al
je 0x57c74e
lea ecx, [esp + 0x34]
call fcn.005a8750
test eax, eax
je 0x57c72f
lea ecx, [esp + 0x34]
push ecx
call fcn.00578630
add esp, 4
mov esi, eax
push 0x6b5dfc
push esi
call fcn.0057e280
add esp, 4
mov ecx, ebx
push eax
push str.TRAN_
call fcn.00579ee0
cmp esi, 2
jne 0x57c777
lea ecx, [esp + 0x34]
call fcn.004dd9e0
push ebp
push edi
push 0
lea edx, [esp + 0x40]
push 0
push edx
mov ecx, ebx
call fcn.00577720
test al, al
jne 0x57c6f3
push ebp
push str.sshDhGex
mov ecx, edi
call fcn.00514d20
mov eax, dword [ebp]
push str.Failed_to_read_KEX_DH_GEX_REQUEST_response
mov ecx, ebp
call dword [eax + 0x14]
mov ecx, dword [esp + 0x5c0]
mov byte [ecx], 1
jmp 0x57cfd6
cmp esi, 0x1f
je 0x57c7b9
mov edx, dword [ebp]
push str.Unexpected_message_received.__Expected_KEX_DH_GEX_GROUP_KEXDH_REPLY.
mov ecx, ebp
call dword [edx + 0x14]
mov esi, dword [ebp]
lea eax, [esp + 0x34]
push eax
call fcn.00578630
push eax
call fcn.0057e280
add esp, 8
mov ecx, ebp
push eax
push str.msgType
call dword [esi + 0x2c]
mov ecx, dword [esp + 0x5c0]
mov byte [ecx], 1
jmp 0x57cfd6
lea ecx, [esp + 0x8c]
call fcn.00625450
lea ecx, [esp + 0x80]
mov byte [esp + 0x5b4], 5
call fcn.00625450
lea edx, [esp + 0x57]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x5c0], 6
call fcn.005da9b0
add esp, 0xc
test al, al
je 0x57c859
lea edx, [esp + 0x8c]
push ebp
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.005774b0
add esp, 0x10
test al, al
je 0x57c859
lea edx, [esp + 0x80]
push ebp
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.005774b0
add esp, 0x10
test al, al
je 0x57c859
lea edx, [esp + 0x80]
lea eax, [esp + 0x8c]
push edx
push eax
lea ecx, [ebx + 0x1b08]
call fcn.00625f70
test al, al
jne 0x57c89d
mov edx, dword [ebp]
push str.Failed_to_parse_KEX_DH_GEX_GROUP.
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [esp + 0x5c0]
lea ecx, [esp + 0x80]
mov byte [esp + 0x5b4], 5
mov byte [eax], 1
call fcn.00625490
lea ecx, [esp + 0x8c]
mov byte [esp + 0x5b4], 4
call fcn.00625490
jmp 0x57cfd6
mov edx, dword [ebp]
push str.Received_GEX_Group.
mov ecx, ebp
call dword [edx + 0x18]
lea ecx, [esp + 0x80]
mov byte [esp + 0x5b4], 5
call fcn.00625490
lea ecx, [esp + 0x8c]
mov byte [esp + 0x5b4], 4
call fcn.00625490
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5b4], 3
call fcn.004e0890
mov eax, dword [ebx + 0xaf0]
cmp eax, 1
je 0x57c95f
cmp eax, 0xe
je 0x57c95f
cmp eax, 0xa0
je 0x57c941
cmp eax, 0x100
je 0x57c941
cmp eax, 0x63af
jne 0x57c91a
push ebp
push edi
mov ecx, ebx
call fcn.0057b5a0
test al, al
jne 0x57c97c
jmp 0x57cfe7
cmp eax, 0x4e8
je 0x57c92f
cmp eax, 0x568
je 0x57c92f
cmp eax, 0x5f1
jne 0x57c97c
push ebp
push edi
mov ecx, ebx
call fcn.0057b390
test al, al
jne 0x57c97c
jmp 0x57cfe7
mov eax, dword [esp + 0x58]
push ebp
push edi
push str.SSH2_MSG_KEX_DH_GEX_INIT
push eax
push 0x20
mov ecx, ebx
call fcn.0057b0b0
test al, al
jne 0x57c97c
jmp 0x57cfe7
mov ecx, dword [esp + 0x58]
push ebp
push edi
push str.SSH_MSG_KEXDH_INIT
push ecx
push 0x1e
mov ecx, ebx
call fcn.0057b0b0
test al, al
je 0x57cfe7
lea ecx, [esp + 0x34]
call fcn.004dd9e0
push ebp
push edi
push 0
lea edx, [esp + 0x40]
push 0
push edx
mov ecx, ebx
call fcn.00577720
test al, al
je 0x57ca0d
lea ecx, [esp + 0x34]
call fcn.005a8750
test eax, eax
je 0x57c9ee
lea eax, [esp + 0x34]
push eax
call fcn.00578630
add esp, 4
mov esi, eax
push 0x6b5dfc
push esi
call fcn.0057e280
add esp, 4
mov ecx, ebx
push eax
push str.TRAN_
call fcn.00579ee0
cmp esi, 2
jne 0x57ca44
mov al, byte [ebp + 0x121]
test al, al
je 0x57c9ee
mov edx, dword [ebp]
push str.Received_IGNORE_while_waiting_for_KEX_init_response.
mov ecx, ebp
call dword [edx + 0x18]
lea ecx, [esp + 0x34]
call fcn.004dd9e0
push ebp
push edi
push 0
lea eax, [esp + 0x40]
push 0
push eax
mov ecx, ebx
call fcn.00577720
test al, al
jne 0x57c99b
push ebp
push str.sshKexInitResponse
mov ecx, edi
call fcn.00514d20
mov al, byte [edi + 0x17]
test al, al
je 0x57ca28
mov byte [ebx + 0x2421], 1
mov edx, dword [ebp]
push str.Failed_to_read_KEX_init_response
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [esp + 0x5c0]
mov byte [eax], 1
jmp 0x57cfe7
cmp esi, dword [esp + 0x14]
je 0x57ca98
mov edx, dword [ebp]
push str.Unexpected_message_received.
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
mov esi, dword [ebp]
push eax
call fcn.0057e280
add esp, 4
mov ecx, ebp
push eax
push str.expected
call dword [esi + 0x2c]
mov esi, dword [ebp]
lea ecx, [esp + 0x34]
push ecx
call fcn.00578630
push eax
call fcn.0057e280
add esp, 8
mov ecx, ebp
push eax
push str.msgType
call dword [esi + 0x2c]
jmp 0x57cfe7
lea edx, [esp + 0x57]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x24], 0
call fcn.005da9b0
lea esi, [ebx + 0x9e0]
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x13], al
call fcn.004dd9e0
mov al, byte [esp + 0x13]
test al, al
je 0x57cbc4
push ebp
lea edx, [esp + 0x1c]
push esi
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.005da790
add esp, 0x10
mov byte [esp + 0x13], al
test al, al
je 0x57cbc4
mov eax, dword [ebx + 0xaf0]
cmp eax, 0x63af
jne 0x57cc25
lea ecx, [esp + 0x5c]
call fcn.004dfe70
lea ecx, [esp + 0x5c]
push ebp
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x5c4], 7
call fcn.005da790
add esp, 0x10
lea ecx, [esp + 0x5c]
mov byte [esp + 0x13], al
call fcn.005a8750
cmp eax, 0x20
jne 0x57cc07
mov al, byte [esp + 0x13]
test al, al
je 0x57cc07
lea ecx, [esp + 0x5c]
lea edi, [ebx + 0x1ba4]
call fcn.004dda10
mov ecx, 8
mov esi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x1bc4]
push ebp
lea eax, [ebx + 0x1ba4]
push ecx
lea edx, [ebx + 0x1b64]
push eax
push edx
call fcn.005cafa0
add esp, 0x10
mov byte [esp + 0x13], al
test al, al
jne 0x57cbac
mov eax, dword [ebp]
push str.Invalid_shared_secret.
mov ecx, ebp
call dword [eax + 0x14]
mov byte [esp + 0x5b4], 3
lea ecx, [esp + 0x5c]
jmp 0x57cfe2
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5b4], 3
call fcn.004e0890
mov edi, dword [esp + 0x5c8]
lea esi, [ebx + 0x9fc]
mov ecx, esi
call fcn.004dd9e0
mov al, byte [esp + 0x13]
test al, al
je 0x57cbf5
push ebp
lea eax, [esp + 0x1c]
push esi
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.005da790
add esp, 0x10
test al, al
jne 0x57cd85
mov edx, dword [ebp]
push str.Failed_to_parse_server_host_key.
mov ecx, ebp
call dword [edx + 0x14]
jmp 0x57cfe7
mov edx, dword [ebp]
push str.Invalid_server_public_key.
mov ecx, ebp
call dword [edx + 0x14]
mov byte [esp + 0x5b4], 3
lea ecx, [esp + 0x5c]
jmp 0x57cfe2
cmp eax, 0x4e8
je 0x57cc94
cmp eax, 0x568
je 0x57cc94
cmp eax, 0x5f1
je 0x57cc94
lea esi, [ebx + 0xa18]
push ebp
lea eax, [esp + 0x1c]
push esi
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.005774b0
add esp, 0x10
test al, al
jne 0x57cc6a
mov edx, dword [ebp]
push str.Failed_to_parse_F.
mov ecx, ebp
call dword [edx + 0x14]
jmp 0x57cfe7
push esi
lea ecx, [ebx + 0x1b08]
call fcn.00626620
test al, al
mov byte [esp + 0x13], al
jne 0x57cbc4
mov eax, dword [ebp]
push str.Failed_to_find_K.
mov ecx, ebp
call dword [eax + 0x14]
jmp 0x57cfe7
lea esi, [ebx + 0x2068]
mov ecx, esi
call fcn.004dd9e0
push ebp
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.005da790
add esp, 0x10
test al, al
je 0x57cd73
lea ecx, [esp + 0x128]
call fcn.005cafd0
push ebp
push esi
mov ecx, ebx
mov byte [esp + 0x5bc], 8
call fcn.0057b360
push eax
lea ecx, [esp + 0x134]
call fcn.005d2d50
test al, al
jne 0x57cd11
mov eax, dword [ebp]
push str.Failed_to_load_SSH_servers_ECDH_KEX_public_key.
mov ecx, ebp
call dword [eax + 0x14]
lea ecx, [esp + 0x128]
mov byte [esp + 0x5b4], 3
call fcn.005cb060
jmp 0x57cfe7
lea ecx, [ebx + 0x2084]
push ebp
lea edx, [esp + 0x12c]
push ecx
push edx
lea ecx, [ebx + 0x1be4]
call fcn.005ce7d0
test al, al
mov byte [esp + 0x13], al
jne 0x57cd5a
mov eax, dword [ebp]
push str.Failed_to_generate_the_ECDH_shared_secret.
mov ecx, ebp
call dword [eax + 0x14]
lea ecx, [esp + 0x128]
mov byte [esp + 0x5b4], 3
call fcn.005cb060
jmp 0x57cfe7
lea ecx, [esp + 0x128]
mov byte [esp + 0x5b4], 3
call fcn.005cb060
jmp 0x57cbc4
mov edx, dword [ebp]
push str.Invalid_server_public_key.
mov ecx, ebp
call dword [edx + 0x14]
jmp 0x57cfe7
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
push ebp
push eax
push ecx
mov ecx, ebx
call fcn.0057ac90
lea esi, [ebx + 0xab8]
mov ecx, esi
call fcn.004dd9e0
lea edx, [ebx + 0xa9c]
mov ecx, esi
push edx
call fcn.004de6c0
push ebp
mov ecx, ebx
call fcn.0057ba50
test al, al
jne 0x57cdcd
mov eax, dword [esp + 0x5c0]
mov byte [eax], 1
jmp 0x57cfe7
push ebp
mov ecx, ebx
call fcn.00579b80
lea ecx, [esp + 0x10c]
call fcn.004dfe70
push 0x15
lea ecx, [esp + 0x110]
mov byte [esp + 0x5b8], 9
call fcn.004e0da0
mov edx, dword [ebp]
push str.Sending_newkeys_to_server...
mov ecx, ebp
call dword [edx + 0x18]
push ebp
lea eax, [esp + 0x110]
push edi
push eax
push 0
push str.NEWKEYS
mov ecx, ebx
call fcn.00577f40
test al, al
jne 0x57ce41
mov edx, dword [ebp]
push str.Error_sending_newkeys_to_server
mov ecx, ebp
call dword [edx + 0x14]
mov byte [esp + 0x5b4], 3
lea ecx, [esp + 0x10c]
jmp 0x57cfe2
mov eax, dword [ebp]
push str.Expecting_newkeys_from_server...
mov ecx, ebp
call dword [eax + 0x18]
lea ecx, [esp + 0x34]
call fcn.004dd9e0
push ebp
push edi
push 0
lea ecx, [esp + 0x40]
push 0
push ecx
mov ecx, ebx
call fcn.00577720
test al, al
je 0x57cec8
lea ecx, [esp + 0x34]
call fcn.005a8750
test eax, eax
je 0x57cea9
lea edx, [esp + 0x34]
push edx
call fcn.00578630
add esp, 4
mov esi, eax
push 0x6b5dfc
push esi
call fcn.0057e280
add esp, 4
mov ecx, ebx
push eax
push str.TRAN_
call fcn.00579ee0
cmp esi, 2
jne 0x57cef6
lea ecx, [esp + 0x34]
call fcn.004dd9e0
push ebp
push edi
push 0
lea eax, [esp + 0x40]
push 0
push eax
mov ecx, ebx
call fcn.00577720
test al, al
jne 0x57ce6d
push ebp
push str.sshNewKeys
mov ecx, edi
call fcn.00514d20
mov edx, dword [ebp]
push str.Failed_to_read_newkeys_response
mov ecx, ebp
call dword [edx + 0x14]
mov byte [esp + 0x5b4], 3
lea ecx, [esp + 0x10c]
jmp 0x57cfe2
cmp esi, 0x15
je 0x57cf29
mov eax, dword [ebp]
push str.Expected_newkeys_message
mov ecx, ebp
call dword [eax + 0x14]
push esi
push str.received
mov ecx, ebp
call fcn.004effe0
mov byte [esp + 0x5b4], 3
lea ecx, [esp + 0x10c]
jmp 0x57cfe2
push 0x6b5dfc
push str.SSH_Key_Exchange_Success.
push str.TRAN
mov ecx, ebx
call fcn.00579ee0
mov edx, dword [ebp]
push str.SSH_Key_Exchange_Success.
mov ecx, ebp
call dword [edx + 0x18]
push ebp
mov ecx, ebx
call fcn.0057d050
lea ecx, [esp + 0x10c]
mov bl, al
mov byte [esp + 0x5b4], 3
call fcn.004e0890
lea ecx, [esp + 0x34]
mov byte [esp + 0x5b4], 2
call fcn.004e0890
lea ecx, [esp + 0x98]
mov byte [esp + 0x5b4], 1
call fcn.004e58d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5b4], 0
call fcn.004f03e0
lea ecx, [esp + 0x28]
mov dword [esp + 0x5b4], 0xffffffff
call fcn.004eea90
mov al, bl
jmp 0x57d033
mov eax, dword [ebp]
push str.group_bit_size_is_out_of_range.
mov ecx, ebp
call dword [eax + 0x14]
mov ecx, dword [esp + 0x50]
push ecx
push str.pbits
mov ecx, ebp
call fcn.004effe0
mov byte [esp + 0x5b4], 3
lea ecx, [esp + 0x5c]
call fcn.004e0890
lea ecx, [esp + 0x34]
mov byte [esp + 0x5b4], 2
call fcn.004e0890
lea ecx, [esp + 0x98]
mov byte [esp + 0x5b4], 1
call fcn.004e58d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5b4], 0
call fcn.004f03e0
lea ecx, [esp + 0x28]
mov dword [esp + 0x5b4], 0xffffffff
call fcn.004eea90
xor al, al
mov ecx, dword [esp + 0x5ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5a8
ret 0x14