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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ebx, [esi + 0x188]
xor edi, edi
cmp dword [ebx], edi
jne 0x4149ad
push 0xe0
push 1
call fcn.00402908
pop ecx
pop ecx
mov dword [ebx], eax
mov eax, dword [esi + 0x178]
mov ebx, dword [ebx]
mov ecx, 0x15dc
cmp eax, ecx
push 3
mov dword [ebp - 0xc], ebx
pop edx
jg 0x414c36
je 0x414bd1
sub eax, edi
je 0x414b8f
sub eax, 0x14d3
je 0x414b48
sub eax, 0x97
je 0x414aca
sub eax, 0x19
je 0x414a4b
sub eax, 0x19
je 0x414a0d
sub eax, 0x1c
jne 0x414c61
cmp dword [ebp + 0x14], edi
je 0x415a16
jmp 0x415a2b
cmp dword [ebp + 0x14], edi
jne 0x414acf
cmp dword [ebp + 0x10], edi
jg 0x414abb
mov eax, dword [esi + 0x282c]
mov dword [ebx + 0xd4], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.0040be9e
cmp dword [ebx + 0xd4], edi
jne 0x41596b
mov eax, str.User_aborted_at_cipher_warning
jmp 0x415e6c
cmp dword [ebp + 0x14], edi
jne 0x414acf
cmp dword [ebp + 0x10], edi
jg 0x41595c
mov eax, dword [esi + 0x282c]
mov dword [ebx + 0xd4], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.0040be9e
cmp dword [ebx + 0xd4], edi
je 0x414a41
cmp dword [ebx + 0x10], 0
je 0x41596b
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
call fcn.0040be9e
mov ecx, dword [ebx + 0x44]
mov eax, esi
push eax
push 0x41494f
push dword [ecx + 0x18]
push str.server_to_client_cipher
push dword [eax + 0xd4]
call fcn.0042608b
add esp, 0x14
test eax, eax
mov dword [ebx + 0xd4], eax
jge 0x414a2b
mov dword [esi + 0x178], 0x159c
jmp 0x414ef6
cmp dword [ebp + 0x14], edi
je 0x414b13
push str.Unexpected_data_from_server_while_waiting_for_user_response
call fcn.00402d85
push edi
mov dword [ebp + 8], eax
call fcn.0040beb5
push dword [ebp + 8]
lea ebx, [esi + 0xd4]
push dword [ebx]
call fcn.00426217
push dword [ebp + 8]
push 0x438dac
push dword [ebx]
call fcn.00407854
push dword [ebp + 8]
call fcn.004029c8
add esp, 0x20
xor eax, eax
jmp 0x416165
cmp dword [ebp + 0x10], edi
jg 0x415909
mov eax, dword [esi + 0x282c]
mov dword [ebx + 0xd4], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.0040be9e
cmp dword [ebx + 0xd4], edi
jne 0x415918
mov eax, str.User_aborted_at_kex_warning
jmp 0x415e6c
cmp dword [ebp + 0x14], edi
je 0x4154a5
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0x14
je 0x4154b7
push str.expected_key_exchange_packet_from_server
call fcn.00402d85
mov esi, dword [ebp + 8]
push 0
mov edi, eax
call fcn.0040beb5
add esi, 0xd4
push edi
push dword [esi]
call fcn.00426217
push edi
push 0x438dac
push dword [esi]
jmp 0x416150
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x54], edi
mov dword [ebx + 0x50], edi
mov dword [ebx + 0xcc], edi
mov dword [ebx + 0xc8], edi
test byte [esi + 0x50], 2
mov edi, dword [ebp + 8]
mov dword [ebx + 0x3c], edx
je 0x414bc5
mov dword [ebx + 0x38], 0x4482c4
jmp 0x414fa4
mov dword [ebx + 0x38], 0x4482b8
jmp 0x414fa4
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x415aba
cmp dword [eax + 8], 0x1f
je 0x414bec
push str.expected_key_exchange_group_packet_from_server
jmp 0x414ad4
call fcn.0040b890
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x14]
call fcn.0040b890
mov ecx, dword [ebx + 0x14]
cmp ecx, edi
mov dword [ebx + 0x18], eax
je 0x414c2c
cmp eax, edi
je 0x414c2c
push eax
push ecx
call fcn.0041cfc4
pop ecx
mov dword [esi + 0xbc], eax
pop ecx
mov dword [ebx + 0x30], 0x20
mov dword [ebx + 0x34], 0x21
jmp 0x415afd
push str.unable_to_read_mp_ints_from_incoming_group_packet
jmp 0x414ad4
sub eax, 0x15ff
je 0x415bbc
sub eax, 0x3f
je 0x415b90
sub eax, 0x67
je 0x414c69
sub eax, 0x5e
je 0x414efd
sub eax, 0x12
je 0x414f0c
xor eax, eax
inc eax
jmp 0x416165
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x416114
cmp dword [eax + 8], 0x15
je 0x414c84
push str.expected_new_keys_packet_from_server
jmp 0x414ad4
mov eax, dword [esi + 0x6c]
cmp eax, edi
mov dword [esi + 0x2c4c], edi
je 0x414c99
mov ecx, dword [esi + 0x64]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x64], eax
call dword [eax]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x7c]
cmp eax, edi
je 0x414cb3
mov ecx, dword [esi + 0x74]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x74], eax
call dword [eax]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x8c]
cmp eax, edi
je 0x414cd3
mov ecx, dword [esi + 0x84]
push eax
call dword [ecx + 0x14]
pop ecx
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x84], eax
call dword [eax + 0x10]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
shl eax, 1
cmp eax, 0x40
jbe 0x414d0f
push 0x16c5
push str..._ssh.c
push str.sizeof_keyspace____ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042ae3d
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
push 0x44
lea esi, [ebx + 0x74]
push esi
push dword [ebx + 0x24]
call fcn.0040c6dc
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x20]
add esp, 0x10
add eax, 7
push 8
cdq
pop ecx
idiv ecx
mov ecx, dword [edi + 0x90]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
shl ecx, 1
cmp eax, ecx
jle 0x414d5f
push 0x16c8
push str..._ssh.c
push str._ssh__sccipher__keylen7____8___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042ae3d
add esp, 0xc
mov eax, dword [edi + 0x64]
lea ecx, [ebp - 0x54]
push ecx
push dword [edi + 0x6c]
call dword [eax + 0xc]
lea eax, [ebp - 0x54]
push eax
push 0x42
push esi
push dword [ebx + 0x24]
call fcn.0040c6dc
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x64]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x1c], eax
jle 0x414dab
push 0x16cc
push str..._ssh.c
push str.ssh__sccipher__blksize___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042ae3d
add esp, 0xc
mov eax, dword [edi + 0x64]
lea ecx, [ebp - 0x54]
push ecx
push dword [edi + 0x6c]
call dword [eax + 8]
lea eax, [ebp - 0x54]
push eax
push 0x46
push esi
push dword [ebx + 0x24]
call fcn.0040c6dc
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x74]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x18], eax
jle 0x414df7
push 0x16d0
push str..._ssh.c
push str.ssh__scmac__len___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042ae3d
add esp, 0xc
mov eax, dword [edi + 0x74]
lea ecx, [ebp - 0x54]
push ecx
push dword [edi + 0x7c]
call dword [eax + 8]
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0042a6d0
mov eax, dword [edi + 0x64]
push dword [eax + 0x28]
push str.Initialised__.200s_server__client_encryption
push edi
call fcn.0040ad75
mov eax, dword [edi + 0x74]
push dword [eax + 0x1c]
push str.Initialised__.200s_server__client_MAC_algorithm
push edi
call fcn.0040ad75
mov eax, dword [edi + 0x84]
mov eax, dword [eax + 0x20]
add esp, 0x2c
test eax, eax
je 0x414e52
push eax
push str.Initialised__s_decompression
push edi
call fcn.0040ad75
add esp, 0xc
push dword [ebx + 0x20]
call fcn.00419bfd
push dword [ebx + 0x24]
call fcn.00419bfd
mov eax, dword [edi + 0x90]
cmp dword [eax + 8], 0
pop ecx
pop ecx
jne 0x414e82
push dword [ebx + 0x18]
call fcn.00419bfd
push dword [ebx + 0x14]
call fcn.00419bfd
pop ecx
pop ecx
lea esi, [edi + 0x2c68]
mov eax, dword [esi]
test eax, eax
je 0x414ea8
push eax
push dword [edi + 0xd4]
call fcn.00426217
and dword [ebp + 0x14], 0
and dword [esi], 0
pop ecx
pop ecx
jmp 0x414fa4
and dword [edi + 0x2c5c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x2c64], eax
mov eax, dword [edi + 0xd38]
test eax, eax
je 0x414ee0
imul eax, eax, 0xea60
push edi
push 0x40cffb
push eax
call fcn.00424f8d
add esp, 0xc
mov dword [edi + 0x2c60], eax
cmp dword [ebx + 0xcc], 0
je 0x414efd
mov eax, dword [ebp + 8]
mov dword [eax + 0x178], 0x1703
xor eax, eax
jmp 0x41616b
mov esi, dword [ebp + 8]
mov dword [ebx + 0xcc], 1
xor edi, edi
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x414f2b
cmp dword [eax + 8], 0x14
je 0x414f31
xor eax, eax
mov dword [esi + 0x178], 0x1715
inc eax
jmp 0x41616b
cmp dword [ebp + 0x10], 0xffffffff
jne 0x414f19
cmp eax, edi
je 0x414f49
push str.Server_initiated_key_re_exchange
push dword [esi + 0xd4]
call fcn.00426217
pop ecx
pop ecx
jmp 0x414fa1
test byte [esi + 0x50], 0x40
push dword [ebp + 0xc]
je 0x414f93
push str.Server_bug_prevents_key_re_exchange___s_
push esi
call fcn.0040ad75
mov eax, dword [esi + 0xd38]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x2c50], edi
mov dword [esi + 0x2c4c], edi
je 0x414f19
imul eax, eax, 0xea60
push esi
push 0x40cffb
push eax
call fcn.00424f8d
add esp, 0xc
mov dword [esi + 0x2c60], eax
jmp 0x414f19
push str.Initiating_key_re_exchange___s_
push esi
call fcn.0040ad75
add esp, 0xc
mov edi, dword [ebp + 8]
and dword [edi + 0x140], 0xfffffff0
xor edx, edx
mov dword [ebx + 0x94], edx
lea ecx, [edi + 0xd28]
mov eax, dword [ecx]
sub eax, 0
je 0x415002
dec eax
je 0x414fef
dec eax
je 0x414fdc
dec eax
jne 0x41501b
mov eax, dword [ebx + 0x94]
mov dword [ebx + eax*4 + 0x98], 0x442d54
jmp 0x415015
mov eax, dword [ebx + 0x94]
mov dword [ebx + eax*4 + 0x98], 0x442d0c
jmp 0x415015
mov eax, dword [ebx + 0x94]
mov dword [ebx + eax*4 + 0x98], 0x442ce4
jmp 0x415015
cmp edx, 3
jge 0x41501b
mov eax, dword [ebx + 0x94]
and dword [ebx + eax*4 + 0x98], 0
inc dword [ebx + 0x94]
inc edx
add ecx, 4
cmp edx, 4
jl 0x414fb9
xor edx, edx
mov dword [ebx + 0xa8], edx
xor esi, esi
lea ecx, [edi + 0xd58]
mov eax, dword [ecx]
sub eax, edx
je 0x4150b0
dec eax
je 0x41509d
dec eax
je 0x41508a
dec eax
je 0x415077
dec eax
je 0x41505c
dec eax
jne 0x4150c8
mov eax, dword [ebx + 0xa8]
mov dword [ebx + eax*4 + 0xac], 0x440988
jmp 0x4150c2
cmp dword [edi + 0xe78], edx
je 0x4150c8
mov eax, dword [ebx + 0xa8]
mov dword [ebx + eax*4 + 0xac], 0x442a78
jmp 0x4150c2
mov eax, dword [ebx + 0xa8]
mov dword [ebx + eax*4 + 0xac], 0x4407e8
jmp 0x4150c2
mov eax, dword [ebx + 0xa8]
mov dword [ebx + eax*4 + 0xac], 0x441aa4
jmp 0x4150c2
mov eax, dword [ebx + 0xa8]
mov dword [ebx + eax*4 + 0xac], 0x442a68
jmp 0x4150c2
cmp esi, 5
jge 0x4150c8
mov eax, dword [ebx + 0xa8]
mov dword [ebx + eax*4 + 0xac], edx
inc dword [ebx + 0xa8]
inc esi
add ecx, 4
cmp esi, 6
jl 0x415034
cmp dword [edi + 0xd24], edx
je 0x4150e9
mov dword [ebx + 0xc4], str.zlib
jmp 0x4150f3
mov dword [ebx + 0xc4], str.none
xor eax, eax
inc eax
push 0x14
mov dword [edi + 0x120], eax
mov dword [edi + 0x2c5c], eax
call fcn.0040b407
pop ecx
push 0x10
mov dword [ebx + 0xd0], eax
pop esi
call fcn.004204c3
push eax
push dword [ebx + 0xd0]
call fcn.0040b245
dec esi
pop ecx
pop ecx
jne 0x415113
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
xor eax, eax
cmp dword [ebx + 0x94], eax
mov dword [ebp - 4], eax
jle 0x4151a7
lea ecx, [ebx + 0x98]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edi, dword [ecx]
test edi, edi
je 0x415195
and dword [ebp + 0xc], 0
cmp dword [edi], 0
jle 0x415195
test eax, eax
je 0x415171
mov esi, dword [ebx + 0xd0]
push 0x438c80
call fcn.0040b29c
pop ecx
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
push dword [eax]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
xor eax, eax
inc eax
inc dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edi]
jl 0x41515c
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
add dword [ebp - 8], 4
cmp ecx, dword [ebx + 0x94]
jl 0x41514a
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
xor edi, edi
mov eax, dword [edi + 0x4482b0]
push dword [eax + 0x30]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
cmp edi, 4
pop ecx
jae 0x4151df
mov esi, dword [ebx + 0xd0]
push 0x438c80
call fcn.0040b29c
pop ecx
add edi, 4
cmp edi, 8
jb 0x4151b4
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
xor eax, eax
cmp dword [ebx + 0xa8], eax
mov dword [ebp - 4], eax
jle 0x415266
lea ecx, [ebx + 0xac]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edi, dword [ecx]
test edi, edi
je 0x415254
and dword [ebp + 0xc], 0
cmp dword [edi], 0
jle 0x415254
test eax, eax
je 0x41522f
mov esi, dword [ebx + 0xd0]
push 0x438c80
call fcn.0040b29c
pop ecx
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
push dword [eax + 0x18]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
xor eax, eax
inc eax
inc dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edi]
jl 0x41521a
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
add dword [ebp - 8], 4
cmp ecx, dword [ebx + 0xa8]
jl 0x415208
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
xor eax, eax
cmp dword [ebx + 0xa8], eax
mov dword [ebp - 4], eax
jle 0x4152e5
lea ecx, [ebx + 0xac]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edi, dword [ecx]
test edi, edi
je 0x4152d3
and dword [ebp + 0xc], 0
cmp dword [edi], 0
jle 0x4152d3
test eax, eax
je 0x4152ae
mov esi, dword [ebx + 0xd0]
push 0x438c80
call fcn.0040b29c
pop ecx
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
push dword [eax + 0x18]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
xor eax, eax
inc eax
inc dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edi]
jl 0x415299
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
add dword [ebp - 8], 4
cmp ecx, dword [ebx + 0xa8]
jl 0x415287
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
xor edi, edi
cmp dword [ebx + 0x3c], edi
jle 0x41532b
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + edi*4]
push dword [eax + 0x14]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
mov eax, dword [ebx + 0x3c]
dec eax
cmp edi, eax
pop ecx
jge 0x415325
mov esi, dword [ebx + 0xd0]
push 0x438c80
call fcn.0040b29c
pop ecx
inc edi
cmp edi, dword [ebx + 0x3c]
jl 0x4152f7
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
xor edi, edi
cmp dword [ebx + 0x3c], edi
jle 0x415371
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + edi*4]
push dword [eax + 0x14]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
mov eax, dword [ebx + 0x3c]
dec eax
cmp edi, eax
pop ecx
jge 0x41536b
mov esi, dword [ebx + 0xd0]
push 0x438c80
call fcn.0040b29c
pop ecx
inc edi
cmp edi, dword [ebx + 0x3c]
jl 0x41533d
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
mov eax, dword [ebx + 0xc4]
push dword [eax]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
and dword [ebp + 0xc], 0
pop ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x4482d0]
cmp edi, dword [ebx + 0xc4]
je 0x4153c4
mov esi, dword [ebx + 0xd0]
push 0x438c80
call fcn.0040b29c
push dword [edi]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
pop ecx
pop ecx
add dword [ebp + 0xc], 4
cmp dword [ebp + 0xc], 8
jb 0x415394
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
mov eax, dword [ebx + 0xc4]
push dword [eax]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
and dword [ebp + 0xc], 0
pop ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x4482d0]
cmp edi, dword [ebx + 0xc4]
je 0x415421
mov esi, dword [ebx + 0xd0]
push 0x438c80
call fcn.0040b29c
push dword [edi]
mov esi, dword [ebx + 0xd0]
call fcn.0040b29c
pop ecx
pop ecx
add dword [ebp + 0xc], 4
cmp dword [ebp + 0xc], 8
jb 0x4153f1
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
mov esi, dword [ebx + 0xd0]
call fcn.0040b28d
push 0
push dword [ebx + 0xd0]
call fcn.0040b245
push dword [ebx + 0xd0]
xor eax, eax
call fcn.0040b25a
mov eax, dword [ebx + 0xd0]
mov eax, dword [eax]
add eax, 0xfffffffb
push 1
push eax
mov dword [ebx + 0x2c], eax
call fcn.00402908
mov ecx, dword [ebx + 0xd0]
push dword [ebx + 0x2c]
mov dword [ebx + 0x28], eax
mov ecx, dword [ecx + 0x10]
add ecx, 5
push ecx
push eax
call fcn.0042ab00
push dword [ebx + 0xd0]
push dword [ebp + 8]
call fcn.00416382
add esp, 0x28
cmp dword [ebp + 0x14], 0
jne 0x414b51
mov eax, dword [ebp + 8]
mov dword [eax + 0x178], 0x14d3
jmp 0x414ef6
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x90], eax
mov dword [ecx + 0x94], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x14]
add dword [eax + 0x18], 0x10
lea esi, [ebp - 4]
lea edi, [ebp + 0xc]
call fcn.0040b7c3
xor eax, eax
cmp dword [ebx + 0x94], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
jle 0x415583
lea eax, [ebx + 0x98]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
xor edi, edi
cmp esi, edi
jne 0x415522
mov dword [ebx + 8], 1
jmp 0x415565
cmp dword [esi], edi
jle 0x415565
cmp dword [ebp - 0x14], 0
jne 0x415537
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
push dword [eax]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0040c63c
test eax, eax
pop ecx
jne 0x415556
inc edi
cmp edi, dword [esi]
jl 0x415526
jmp 0x415565
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x90], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x90], 0
jne 0x415583
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 0x10], 4
cmp eax, dword [ebx + 0x94]
jl 0x41550e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x90], 0
jne 0x4155a6
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41559b
mov eax, str._null_
push eax
push str.Couldnt_agree_a_key_exchange_algorithm__available:__s_
jmp 0x41575b
push dword [ebp - 4]
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.0040c698
pop ecx
mov dword [ebx + 0xd8], eax
mov eax, dword [ebp + 0x14]
pop ecx
lea esi, [ebp - 4]
lea edi, [ebp + 0xc]
call fcn.0040b7c3
mov edi, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [esi*4 + 0x4482b0]
push dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov ecx, edi
call fcn.0040c63c
test eax, eax
pop ecx
jne 0x4155f0
inc esi
cmp esi, 2
jb 0x4155cf
jmp 0x415600
mov eax, dword [esi*4 + 0x4482b0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x94], eax
cmp dword [ebx + 0xd8], 0
je 0x415624
push dword [ebp - 4]
mov eax, dword [0x4482b0]
push dword [eax + 0x30]
call fcn.0040c698
test eax, eax
pop ecx
pop ecx
je 0x415624
xor eax, eax
inc eax
jmp 0x415626
xor eax, eax
mov dword [ebx + 0xd8], eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
lea edi, [ebp + 0xc]
call fcn.0040b7c3
and dword [ebp - 8], 0
cmp dword [ebx + 0xa8], 0
jle 0x4156a9
lea eax, [ebx + 0xac]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
xor edi, edi
cmp esi, edi
jne 0x415664
mov dword [ebx + 0xc], 1
jmp 0x415691
cmp dword [esi], edi
jle 0x415691
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
push dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0040c63c
test eax, eax
pop ecx
jne 0x415688
inc edi
cmp edi, dword [esi]
jl 0x415668
jmp 0x415691
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x40], 0
jne 0x4156c6
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 0x14], 4
cmp eax, dword [ebx + 0xa8]
jl 0x415650
cmp dword [ebx + 0x40], 0
jne 0x4156c6
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4156bb
mov eax, str._null_
push eax
push str.Couldnt_agree_a_client_to_server_cipher__available:__s_
jmp 0x41575b
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
lea edi, [ebp + 0xc]
call fcn.0040b7c3
and dword [ebp - 8], 0
cmp dword [ebx + 0xa8], 0
jle 0x415743
lea eax, [ebx + 0xac]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
xor edi, edi
cmp esi, edi
jne 0x4156fe
mov dword [ebx + 0x10], 1
jmp 0x41572b
cmp dword [esi], edi
jle 0x41572b
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
push dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0040c63c
test eax, eax
pop ecx
jne 0x415722
inc edi
cmp edi, dword [esi]
jl 0x415702
jmp 0x41572b
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov dword [ebx + 0x44], eax
cmp dword [ebx + 0x44], 0
jne 0x415795
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 0x14], 4
cmp eax, dword [ebx + 0xa8]
jl 0x4156ea
cmp dword [ebx + 0x44], 0
jne 0x415795
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x415755
mov eax, str._null_
push eax
push str.Couldnt_agree_a_server_to_client_cipher__available:__s_
call fcn.00402d85
mov esi, dword [ebp + 8]
push 0
mov edi, eax
call fcn.0040beb5
add esi, 0xd4
push edi
push dword [esi]
call fcn.00426217
push edi
push 0x438dac
push dword [esi]
call fcn.00407854
push edi
call fcn.004029c8
add esp, 0x24
jmp 0x41615e
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
lea edi, [ebp + 0xc]
call fcn.0040b7c3
xor esi, esi
cmp dword [ebx + 0x3c], esi
jle 0x4157d4
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + esi*4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0040c63c
test eax, eax
pop ecx
jne 0x4157cb
inc esi
cmp esi, dword [ebx + 0x3c]
jl 0x4157aa
jmp 0x4157d4
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + esi*4]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
lea edi, [ebp + 0xc]
call fcn.0040b7c3
xor esi, esi
cmp dword [ebx + 0x3c], esi
jle 0x415813
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + esi*4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0040c63c
test eax, eax
pop ecx
jne 0x41580a
inc esi
cmp esi, dword [ebx + 0x3c]
jl 0x4157e9
jmp 0x415813
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + esi*4]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
lea edi, [ebp + 0xc]
call fcn.0040b7c3
xor edi, edi
test edi, edi
jne 0x41582f
mov esi, dword [ebx + 0xc4]
jmp 0x415836
mov esi, dword [edi*4 + 0x4482cc]
push dword [esi]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0040c63c
test eax, eax
pop ecx
jne 0x415850
inc edi
cmp edi, 3
jb 0x415823
jmp 0x415853
mov dword [ebx + 0x50], esi
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
lea edi, [ebp + 0xc]
call fcn.0040b7c3
xor edi, edi
test edi, edi
jne 0x41586f
mov esi, dword [ebx + 0xc4]
jmp 0x415876
mov esi, dword [edi*4 + 0x4482cc]
push dword [esi]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0040c63c
test eax, eax
pop ecx
jne 0x415890
inc edi
cmp edi, 3
jb 0x415863
jmp 0x415893
mov dword [ebx + 0x54], esi
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
lea edi, [ebp + 0xc]
call fcn.0040b7c3
call fcn.0040b7c3
mov ecx, eax
call fcn.0040b7a0
test eax, eax
je 0x4158bf
cmp dword [ebx + 0xd8], 0
jne 0x4158bf
xor eax, eax
inc eax
jmp 0x4158c1
xor eax, eax
cmp dword [ebx + 8], 0
mov dword [ebx + 0xdc], eax
je 0x415918
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
call fcn.0040be9e
mov eax, esi
mov ecx, dword [eax + 0x90]
push eax
push 0x41494f
push dword [ecx]
push str.key_exchange_algorithm
push dword [eax + 0xd4]
call fcn.0042608b
add esp, 0x14
test eax, eax
mov dword [ebx + 0xd4], eax
jge 0x414b28
mov dword [esi + 0x178], 0x156a
jmp 0x414ef6
cmp dword [ebx + 0xc], 0
je 0x414a77
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
call fcn.0040be9e
mov ecx, dword [ebx + 0x40]
mov eax, esi
push eax
push 0x41494f
push dword [ecx + 0x18]
push str.client_to_server_cipher
push dword [eax + 0xd4]
call fcn.0042608b
add esp, 0x14
test eax, eax
mov dword [ebx + 0xd4], eax
jge 0x414a65
mov dword [esi + 0x178], 0x1583
jmp 0x414ef6
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x18]
call dword [eax]
push dword [esi + 4]
mov dword [esi + 0xc], eax
call fcn.0042a730
push dword [esi + 4]
mov ecx, dword [esi + 0x90]
push dword [esi + 0xc]
mov esi, dword [ecx + 0x18]
mov ebx, eax
call fcn.0040b140
mov edi, dword [ebp + 8]
push dword [edi + 8]
call fcn.0042a730
push dword [edi + 8]
mov ecx, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [ecx + 0x18]
mov ebx, eax
call fcn.0040b140
mov eax, dword [ebp - 0xc]
push dword [eax + 0x28]
mov ecx, dword [edi + 0x90]
push dword [edi + 0xc]
mov ebx, dword [eax + 0x2c]
mov esi, dword [ecx + 0x18]
call fcn.0040b140
mov eax, dword [ebp - 0xc]
push dword [eax + 0x28]
call fcn.004029c8
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
add esp, 0x24
cmp eax, 5
jle 0x415a0a
lea ebx, [eax - 5]
mov eax, dword [ecx + 0x10]
add eax, 5
push eax
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x18]
call fcn.0040b140
pop ecx
pop ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xdc], 0
je 0x415a28
mov eax, dword [ebp + 8]
mov dword [eax + 0x178], 0x15b8
jmp 0x414ef6
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
mov eax, dword [eax + 0x20]
mov ecx, dword [ecx + 0x20]
cmp eax, ecx
mov esi, dword [ebp + 8]
jle 0x415a40
mov ecx, eax
mov dword [ebx], ecx
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
shl eax, 3
cmp ecx, eax
jle 0x415a57
mov dword [ebx], eax
mov eax, dword [esi + 0x90]
cmp dword [eax + 8], 0
jne 0x415ac5
push str.Doing_Diffie_Hellman_group_exchange
push dword [esi + 0xd4]
call fcn.00426217
or dword [esi + 0x140], 2
mov eax, dword [ebx]
dec eax
push 0x40
cdq
pop ecx
idiv ecx
mov edx, 0x200
push 0x1e
mov ecx, eax
shl edx, cl
mov dword [ebx + 4], edx
call fcn.0040b407
lea edi, [ebx + 0xd0]
mov dword [edi], eax
push eax
mov eax, dword [ebx + 4]
call fcn.0040b25a
push dword [edi]
push esi
call fcn.00416382
mov esi, dword [ebp + 8]
add esp, 0x18
mov ecx, 0x15dc
mov dword [esi + 0x178], ecx
jmp 0x414ef6
or dword [esi + 0x140], 1
push eax
call fcn.0041cf8a
mov dword [esi + 0xbc], eax
mov dword [ebx + 0x30], 0x1e
mov dword [ebx + 0x34], 0x1f
mov eax, dword [esi + 0x90]
push dword [eax + 4]
push str.Using_Diffie_Hellman_with_standard_group___s_
push esi
call fcn.0040ad75
add esp, 0x10
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x18]
push dword [eax + 0x10]
push str.Doing_Diffie_Hellman_key_exchange_with_hash__s
push esi
call fcn.0040ad75
push 2
push dword [esi + 0xd4]
call fcn.0042b212
mov eax, dword [ebx]
shl eax, 1
push eax
push dword [esi + 0xbc]
call fcn.0041d033
push dword [ebx + 0x30]
mov dword [ebx + 0x1c], eax
call fcn.0040b407
mov esi, eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebx + 0xd0], esi
call fcn.0040b35c
mov dword [ebp + 0xc], eax
call fcn.0040b28d
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
call fcn.0040b2f9
push dword [ebp + 0xc]
call fcn.004029c8
push dword [ebx + 0xd0]
mov esi, dword [ebp + 8]
push esi
call fcn.00416382
push 1
push dword [esi + 0xd4]
call fcn.0042b212
add esp, 0x40
jmp 0x415bc3
cmp dword [ebp + 0x14], edi
je 0x415b9f
push str.Unexpected_data_from_server_while_waiting_for_user_host_key_response
jmp 0x414ad4
cmp dword [ebp + 0x10], edi
jg 0x415e40
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x282c]
mov dword [ebx + 0xd4], eax
jmp 0x415e55
mov eax, dword [ebp + 0x14]
cmp eax, edi
jne 0x415bd2
mov dword [esi + 0x178], 0x15ff
jmp 0x414ef6
mov eax, dword [eax + 8]
cmp eax, dword [ebx + 0x34]
je 0x415be4
push str.expected_key_exchange_reply_packet_from_server
jmp 0x414ad4
mov eax, dword [ebp + 8]
push 2
push dword [eax + 0xd4]
call fcn.0042b212
mov eax, dword [ebp + 0x14]
pop ecx
lea esi, [ebx + 0x68]
lea edi, [ebx + 0x58]
pop ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call fcn.0040b7c3
call fcn.0040b890
test eax, eax
mov dword [ebx + 0x20], eax
jne 0x415c49
push str.unable_to_parse_key_exchange_reply_packet
call fcn.00402d85
mov esi, dword [ebp + 8]
push 0
mov edi, eax
call fcn.0040beb5
push edi
push dword [esi + 0xd4]
call fcn.00426217
push edi
push 0x438dac
push dword [esi + 0xd4]
jmp 0x416150
mov eax, dword [ebp + 0x14]
lea esi, [ebx + 0x6c]
lea edi, [ebx + 0x5c]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
call fcn.0040b7c3
push dword [ebx + 0x20]
mov esi, dword [ebp + 8]
push dword [esi + 0xbc]
call fcn.0041d142
mov dword [ebx + 0x24], eax
push 0
push dword [esi + 0xd4]
call fcn.0042b212
mov eax, dword [ebp - 0x10]
push dword [eax]
mov eax, dword [esi + 0x90]
mov ecx, dword [ebp - 0x14]
push dword [esi + 0xc]
mov ebx, dword [ecx]
mov esi, dword [eax + 0x18]
call fcn.0040b140
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x90]
mov edi, dword [ebp - 0xc]
add esp, 0x18
cmp dword [eax + 8], 0
jne 0x415d06
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x18]
mov edx, ecx
shr edx, 0x18
mov byte [ebp + 0xc], dl
mov edx, ecx
shr edx, 0x10
mov byte [ebp + 0xd], dl
mov edx, ecx
mov byte [ebp + 0xf], cl
push 4
lea ecx, [ebp + 0xc]
push ecx
push dword [ebx + 0xc]
shr edx, 8
mov byte [ebp + 0xe], dl
call dword [eax + 4]
push dword [edi + 0x14]
mov eax, dword [ebx + 0x90]
push dword [ebx + 0xc]
mov esi, dword [eax + 0x18]
call fcn.0040b73a
push dword [edi + 0x18]
mov eax, dword [ebx + 0x90]
push dword [ebx + 0xc]
mov esi, dword [eax + 0x18]
call fcn.0040b73a
add esp, 0x1c
push dword [edi + 0x1c]
mov eax, dword [ebx + 0x90]
push dword [ebx + 0xc]
mov esi, dword [eax + 0x18]
call fcn.0040b73a
push dword [edi + 0x20]
mov eax, dword [ebx + 0x90]
push dword [ebx + 0xc]
mov esi, dword [eax + 0x18]
call fcn.0040b73a
push dword [edi + 0x24]
mov eax, dword [ebx + 0x90]
push dword [ebx + 0xc]
mov esi, dword [eax + 0x18]
call fcn.0040b73a
mov eax, dword [ebx + 0x90]
mov eax, dword [eax + 0x18]
add esp, 0x18
cmp dword [eax + 0xc], 0x20
jbe 0x415d6b
push 0x161c
push str..._ssh.c
push str.ssh__kex__hash__hlen___sizeof_s__exchange_hash_
call fcn.0042ae3d
add esp, 0xc
mov eax, dword [ebx + 0x90]
mov eax, dword [eax + 0x18]
lea esi, [edi + 0x74]
push esi
push dword [ebx + 0xc]
call dword [eax + 8]
push dword [ebx + 0xbc]
call fcn.0041cff4
and dword [ebx + 0xbc], 0
mov ecx, dword [ebp - 0x14]
push dword [ecx]
mov ecx, dword [ebp - 0x10]
push dword [ecx]
mov eax, dword [ebx + 0x94]
call dword [eax]
add esp, 0x14
test eax, eax
mov dword [edi + 0x70], eax
je 0x416123
mov edx, dword [ebx + 0x90]
mov edx, dword [edx + 0x18]
push dword [edx + 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebx + 0x94]
push esi
push dword [edx]
mov edx, dword [ebp - 4]
push dword [edx]
push eax
call dword [ecx + 0x28]
add esp, 0x14
test eax, eax
je 0x416123
push dword [edi + 0x70]
mov eax, dword [ebx + 0x94]
call dword [eax + 8]
push dword [edi + 0x70]
mov dword [edi + 0x60], eax
mov eax, dword [ebx + 0x94]
call dword [eax + 0x24]
mov dword [edi + 0x64], eax
xor edi, edi
inc edi
mov esi, ebx
call fcn.0040be9e
mov esi, dword [ebp - 0xc]
mov eax, dword [ebx + 0x94]
push ebx
push 0x41494f
push dword [esi + 0x64]
push dword [esi + 0x60]
push dword [eax + 0x34]
push dword [ebx + 0xc4]
push dword [ebx + 0xc0]
push dword [ebx + 0xd4]
call fcn.00425f73
add esp, 0x28
test eax, eax
mov dword [esi + 0xd4], eax
jge 0x415e52
mov eax, dword [ebp + 8]
mov dword [eax + 0x178], 0x163e
jmp 0x414ef6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.0040be9e
cmp dword [ebx + 0xd4], edi
jne 0x415e82
mov eax, str.User_aborted_at_host_key_verification
mov esi, dword [ebp + 8]
push 1
push 0
push 0
call fcn.0040e264
add esp, 0xc
jmp 0x41615e
cmp dword [ebx + 0xc8], 0
mov edi, dword [ebp + 8]
jne 0x415ead
lea esi, [edi + 0xd4]
push str.Host_key_fingerprint_is:
push dword [esi]
call fcn.00426217
push dword [ebx + 0x64]
push dword [esi]
call fcn.00426217
add esp, 0x10
push dword [ebx + 0x64]
call fcn.004029c8
push dword [ebx + 0x60]
call fcn.004029c8
push dword [ebx + 0x70]
mov eax, dword [edi + 0x94]
call dword [eax + 4]
add esp, 0xc
cmp dword [ebx + 0xc8], 0
jne 0x415f22
push 0x20
lea eax, [ebx + 0x74]
push eax
lea eax, [edi + 0x98]
push eax
call fcn.0042ab00
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
add esp, 0xc
cmp eax, 0x20
mov dword [edi + 0xb8], eax
jbe 0x415f18
push 0x165f
push str..._ssh.c
push str.ssh__v2_session_id_len___sizeof_ssh__v2_session_id_
call fcn.0042ae3d
add esp, 0xc
mov dword [ebx + 0xc8], 1
push 0x15
call fcn.0040b407
push eax
push edi
mov dword [ebx + 0xd0], eax
call fcn.00416382
mov eax, dword [edi + 0x68]
and dword [edi + 0x2c50], 0
add esp, 0xc
test eax, eax
je 0x415f4f
mov ecx, dword [edi + 0x60]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x60], eax
call dword [eax]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
test eax, eax
je 0x415f69
mov ecx, dword [edi + 0x70]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x70], eax
call dword [eax]
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x88]
test eax, eax
je 0x415f89
mov ecx, dword [edi + 0x80]
push eax
call dword [ecx + 8]
pop ecx
mov eax, dword [ebx + 0x50]
mov dword [edi + 0x80], eax
call dword [eax + 4]
mov dword [edi + 0x88], eax
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
shl eax, 1
cmp eax, 0x40
jbe 0x415fc5
push 0x1683
push str..._ssh.c
push str.sizeof_keyspace____ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042ae3d
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0x43
lea esi, [ebx + 0x74]
push esi
push dword [ebx + 0x24]
call fcn.0040c6dc
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 0x20]
add esp, 0x10
add eax, 7
push 8
cdq
pop ecx
idiv ecx
mov ecx, dword [edi + 0x90]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
shl ecx, 1
cmp eax, ecx
jle 0x416012
push 0x1686
push str..._ssh.c
push str._ssh__cscipher__keylen7____8___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042ae3d
add esp, 0xc
mov eax, dword [edi + 0x60]
lea ecx, [ebp - 0x54]
push ecx
push dword [edi + 0x68]
call dword [eax + 0xc]
lea eax, [ebp - 0x54]
push eax
push 0x41
push esi
push dword [ebx + 0x24]
call fcn.0040c6dc
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x60]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x1c], eax
jle 0x41605e
push 0x168a
push str..._ssh.c
push str.ssh__cscipher__blksize___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042ae3d
add esp, 0xc
mov eax, dword [edi + 0x60]
lea ecx, [ebp - 0x54]
push ecx
push dword [edi + 0x68]
call dword [eax + 8]
lea eax, [ebp - 0x54]
push eax
push 0x45
push esi
push dword [ebx + 0x24]
call fcn.0040c6dc
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x70]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x18], eax
jle 0x4160aa
push 0x168e
push str..._ssh.c
push str.ssh__csmac__len___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042ae3d
add esp, 0xc
mov eax, dword [edi + 0x70]
lea ecx, [ebp - 0x54]
push ecx
push dword [edi + 0x78]
call dword [eax + 8]
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0042a6d0
mov eax, dword [edi + 0x60]
push dword [eax + 0x28]
push str.Initialised__.200s_client__server_encryption
push edi
call fcn.0040ad75
mov eax, dword [edi + 0x70]
push dword [eax + 0x1c]
push str.Initialised__.200s_client__server_MAC_algorithm
push edi
call fcn.0040ad75
mov eax, dword [edi + 0x80]
mov eax, dword [eax + 0x20]
add esp, 0x2c
test eax, eax
je 0x416105
push eax
push str.Initialised__s_compression
push edi
call fcn.0040ad75
add esp, 0xc
mov esi, dword [ebp + 8]
and dword [esi + 0x120], 0
call fcn.0040e183
mov dword [esi + 0x178], 0x16a5
jmp 0x414ef6
push str.Servers_host_key_did_not_match_the_signature_supplied
call fcn.00402d85
push 0
mov esi, ebx
mov edi, eax
call fcn.0040beb5
push edi
push dword [ebx + 0xd4]
call fcn.00426217
push edi
push 0x438dac
push dword [ebx + 0xd4]
call fcn.00407854
push edi
call fcn.004029c8
add esp, 0x20
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
mov dword [esi + 0x178], edi
pop edi
pop esi
pop ebx
leave
ret