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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x184], esi
jne 0x412e2f
push 0xfc
push 1
call fcn.00403bc7
pop ecx
mov dword [edi + 0x184], eax
pop ecx
mov dword [eax], esi
mov ebx, dword [edi + 0x184]
mov eax, dword [ebx]
mov ecx, 0x1793
cmp eax, ecx
mov dword [ebp - 4], ebx
jg 0x413107
je 0x4130a2
sub eax, esi
je 0x413049
sub eax, 0x1671
je 0x413039
sub eax, 0xb9
je 0x412ffb
sub eax, 0x19
je 0x412f80
sub eax, 0x19
je 0x412f3c
sub eax, 0x12
jne 0x41313b
cmp dword [ebp + 0x14], esi
je 0x413fbc
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x90]
cmp dword [eax + 8], 0
jne 0x414099
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x48]
mov eax, dword [eax + 0x20]
mov ecx, dword [ecx + 0x20]
cmp eax, ecx
jle 0x412eb4
mov ecx, eax
mov dword [ebx + 4], ecx
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
shl eax, 3
cmp ecx, eax
jle 0x412ecd
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x90]
cmp dword [eax + 0xc], 0
jne 0x413fc7
push str.Doing_Diffie_Hellman_group_exchange
push dword [esi + 0xd4]
call fcn.0042736a
mov dword [esi + 0x148], 2
mov eax, dword [ebx + 4]
dec eax
push 0x40
cdq
pop ecx
idiv ecx
mov edx, 0x200
push 0x1e
mov ecx, eax
shl edx, cl
mov dword [ebx + 8], edx
call fcn.00408a45
lea edi, [ebx + 0xec]
mov dword [edi], eax
push eax
mov eax, dword [ebx + 8]
call fcn.00408898
push dword [edi]
push esi
call fcn.00414b8a
add esp, 0x18
mov ecx, 0x1793
mov dword [ebx], ecx
jmp 0x414922
cmp dword [ebp + 0x14], esi
je 0x412f4b
push str.Unexpected_data_from_server_while_waiting_for_user_response
jmp 0x4143d7
cmp dword [ebp + 0x10], esi
jg 0x412ff0
mov eax, dword [edi + 0x1f8]
mov dword [ebx + 0xf0], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.004097bf
cmp dword [ebx + 0xf0], edi
jne 0x413faf
mov eax, str.User_aborted_at_cipher_warning
jmp 0x4140fb
cmp dword [ebp + 0x14], esi
jne 0x412f41
cmp dword [ebp + 0x10], esi
jg 0x413fa4
mov eax, dword [edi + 0x1f8]
mov dword [ebx + 0xf0], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.004097bf
cmp dword [ebx + 0xf0], edi
je 0x412f76
cmp dword [ebx + 0x14], 0
je 0x413faf
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
call fcn.004097bf
mov ecx, dword [ebx + 0x48]
mov eax, esi
push eax
push 0x409aba
push dword [ecx + 0x18]
push str.server_to_client_cipher
push dword [eax + 0xd4]
call fcn.004271dc
add esp, 0x14
test eax, eax
mov dword [ebx + 0xf0], eax
jge 0x412f60
mov dword [ebx], 0x175c
jmp 0x414922
cmp dword [ebp + 0x14], esi
jne 0x412f41
cmp dword [ebp + 0x10], esi
jg 0x413f52
mov eax, dword [edi + 0x1f8]
mov dword [ebx + 0xf0], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.004097bf
cmp dword [ebx + 0xf0], edi
jne 0x413f60
mov eax, str.User_aborted_at_kex_warning
jmp 0x4140fb
mov ecx, dword [ebp + 0x14]
cmp ecx, esi
je 0x41396d
jmp 0x41397b
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x54], esi
mov dword [ebx + 0xe8], esi
mov dword [ebx + 0xe4], esi
mov dword [ebx + 0xdc], esi
mov dword [ebx + 0xe0], esi
test byte [edi + 0x50], 2
mov edi, dword [ebp + 8]
je 0x41308f
mov dword [ebx + 0x3c], 0x4486a0
mov dword [ebx + 0x40], 3
jmp 0x4134ba
mov dword [ebx + 0x3c], 0x448690
mov dword [ebx + 0x40], 4
jmp 0x4134ba
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x412f35
cmp dword [eax + 8], 0x1f
je 0x4130bd
push str.expected_key_exchange_group_packet_from_server
jmp 0x4143d7
mov esi, dword [ebp + 0x14]
call fcn.00408eec
mov dword [ebx + 0x18], eax
call fcn.00408eec
mov ecx, dword [ebx + 0x18]
test ecx, ecx
mov dword [ebx + 0x1c], eax
je 0x4130fd
test eax, eax
je 0x4130fd
push eax
push ecx
call fcn.0041c37c
pop ecx
mov dword [edi + 0xbc], eax
pop ecx
mov dword [ebx + 0x34], 0x20
mov dword [ebx + 0x38], 0x21
jmp 0x414002
push str.unable_to_read_mp_ints_from_incoming_group_packet
jmp 0x414910
sub eax, 0x17b6
je 0x4143b8
sub eax, 0x2c
je 0x41415c
sub eax, 0x52
je 0x414110
sub eax, 0x2d
je 0x4140bc
sub eax, 0x67
je 0x413142
sub eax, 0x69
je 0x4133ac
mov dword [ebx], esi
jmp 0x414922
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x414903
cmp dword [eax + 8], 0x15
je 0x41315d
push str.expected_new_keys_packet_from_server
jmp 0x4143d7
mov eax, dword [edi + 0x6c]
cmp eax, esi
mov dword [edi + 0x620], esi
je 0x413172
mov ecx, dword [edi + 0x64]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x64], eax
call dword [eax]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x7c]
cmp eax, esi
je 0x41318c
mov ecx, dword [edi + 0x74]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x50]
mov dword [edi + 0x74], eax
call dword [eax]
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x8c]
cmp eax, esi
je 0x4131ac
mov ecx, dword [edi + 0x84]
push eax
call dword [ecx + 0x18]
pop ecx
mov eax, dword [ebx + 0x58]
mov dword [edi + 0x84], eax
call dword [eax + 0x14]
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
shl eax, 1
cmp eax, 0x40
jbe 0x4131e8
push 0x18e8
push str..._ssh.c
push str.sizeof_keyspace____ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042db48
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
push 0x44
lea esi, [ebx + 0x84]
push esi
push dword [ebx + 0x28]
call fcn.00409f10
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 + 0x1c]
mov ecx, dword [ecx + 0xc]
shl ecx, 1
cmp eax, ecx
jle 0x41323b
push 0x18eb
push str..._ssh.c
push str._ssh__sccipher__keylen7____8___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042db48
add esp, 0xc
mov eax, dword [edi + 0x64]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x6c]
call dword [eax + 0xc]
lea eax, [ebp - 0x58]
push eax
push 0x42
push esi
push dword [ebx + 0x28]
call fcn.00409f10
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x64]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x1c], eax
jle 0x413287
push 0x18ef
push str..._ssh.c
push str.ssh__sccipher__blksize___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042db48
add esp, 0xc
mov eax, dword [edi + 0x64]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x6c]
call dword [eax + 8]
lea eax, [ebp - 0x58]
push eax
push 0x46
push esi
push dword [ebx + 0x28]
call fcn.00409f10
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x74]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x28], eax
jle 0x4132d3
push 0x18f3
push str..._ssh.c
push str.ssh__scmac__len___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042db48
add esp, 0xc
mov eax, dword [edi + 0x74]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x7c]
call dword [eax + 8]
lea eax, [ebp - 0x58]
push 0x40
push eax
call fcn.00428411
mov eax, dword [edi + 0x64]
push dword [eax + 0x28]
push str.Initialised__.200s_server__client_encryption
push edi
call fcn.004083af
mov eax, dword [edi + 0x74]
push dword [eax + 0x2c]
push str.Initialised__.200s_server__client_MAC_algorithm
push edi
call fcn.004083af
mov eax, dword [edi + 0x84]
mov eax, dword [eax + 0x24]
add esp, 0x28
test eax, eax
je 0x41332c
push eax
push str.Initialised__s_decompression
push edi
call fcn.004083af
add esp, 0xc
push dword [ebx + 0x28]
call fcn.0041841a
lea esi, [edi + 0x63c]
mov eax, dword [esi]
test eax, eax
pop ecx
je 0x41335b
push eax
push dword [edi + 0xd4]
call fcn.0042736a
and dword [ebp + 0x14], 0
and dword [esi], 0
pop ecx
pop ecx
jmp 0x4134ba
and dword [edi + 0x630], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x638], eax
add edi, 0x1e4
push 0x18
push dword [edi]
call fcn.00402036
test eax, eax
pop ecx
pop ecx
je 0x4133ac
mov esi, dword [ebp + 8]
push esi
push 0x40aabd
push 0x18
push dword [edi]
call fcn.00402036
imul eax, eax, 0xea60
pop ecx
pop ecx
push eax
call fcn.00426107
add esp, 0xc
mov dword [esi + 0x634], eax
mov eax, dword [ebp + 0x14]
xor esi, esi
cmp eax, esi
je 0x4133c3
cmp dword [eax + 8], 0x14
je 0x4133c8
mov edi, dword [ebp + 8]
jmp 0x413482
cmp dword [ebp + 0x10], esi
jge 0x4133bb
cmp eax, esi
je 0x4133e6
mov eax, dword [ebp + 8]
push str.Server_initiated_key_re_exchange
push dword [eax + 0xd4]
call fcn.0042736a
pop ecx
pop ecx
jmp 0x4134b7
cmp dword [ebp + 0x10], 0xfffffffe
jne 0x41341f
lea edi, [ebx + 0xdc]
cmp dword [edi], esi
je 0x41340d
push 0x1949
push str..._ssh.c
push str._s__userauth_succeeded
call fcn.0042db48
add esp, 0xc
lea eax, [ebx + 0xe0]
cmp dword [eax], esi
mov dword [edi], 1
je 0x4133bb
mov dword [eax], esi
mov edi, dword [ebp + 8]
test byte [edi + 0x50], 0x40
push dword [ebp + 0xc]
je 0x4134a9
push str.Server_bug_prevents_key_re_exchange___s_
push edi
call fcn.004083af
and dword [edi + 0x624], 0
and dword [edi + 0x620], 0
lea esi, [edi + 0x1e4]
push 0x18
push dword [esi]
call fcn.00402036
add esp, 0x14
test eax, eax
je 0x413480
push edi
push 0x40aabd
push 0x18
push dword [esi]
call fcn.00402036
imul eax, eax, 0xea60
pop ecx
pop ecx
push eax
call fcn.00426107
add esp, 0xc
mov dword [edi + 0x634], eax
xor esi, esi
lea eax, [edi + 0x1d8]
cmp dword [eax], esi
jne 0x41349e
push esi
push esi
push esi
push edi
mov dword [eax], 1
call fcn.004103f4
add esp, 0x10
mov dword [ebx], 0x1931
jmp 0x414922
push str.Initiating_key_re_exchange___s_
push edi
call fcn.004083af
add esp, 0xc
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [edi + 0x148], esi
mov dword [ebx + 0xa4], esi
push esi
push 0x17
push dword [edi + 0x1e4]
call fcn.004020b5
add esp, 0xc
sub eax, 0
je 0x413536
dec eax
je 0x413523
dec eax
je 0x413510
dec eax
je 0x4134fd
dec eax
jne 0x41354f
mov eax, dword [ebx + 0xa4]
mov dword [ebx + eax*4 + 0xa8], 0x44247c
jmp 0x413549
mov eax, dword [ebx + 0xa4]
mov dword [ebx + eax*4 + 0xa8], 0x441f64
jmp 0x413549
mov eax, dword [ebx + 0xa4]
mov dword [ebx + eax*4 + 0xa8], 0x441f14
jmp 0x413549
mov eax, dword [ebx + 0xa4]
mov dword [ebx + eax*4 + 0xa8], 0x441ee8
jmp 0x413549
cmp esi, 4
jge 0x41354f
mov eax, dword [ebx + 0xa4]
and dword [ebx + eax*4 + 0xa8], 0
inc dword [ebx + 0xa4]
inc esi
cmp esi, 5
jl 0x4134c8
xor esi, esi
mov dword [ebx + 0xbc], esi
push esi
push 0x1d
push dword [edi + 0x1e4]
call fcn.004020b5
add esp, 0xc
sub eax, 0
je 0x413600
dec eax
je 0x4135ed
dec eax
je 0x4135da
dec eax
je 0x4135c7
dec eax
je 0x4135a1
dec eax
jne 0x413619
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x43fa70
jmp 0x413613
push 0x20
push dword [edi + 0x1e4]
call fcn.00402036
test eax, eax
pop ecx
pop ecx
je 0x413619
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x441c78
jmp 0x413613
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x43f8d0
jmp 0x413613
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x440b8c
jmp 0x413613
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x441c68
jmp 0x413613
cmp esi, 5
jge 0x413619
mov eax, dword [ebx + 0xbc]
and dword [ebx + eax*4 + 0xc0], 0
inc dword [ebx + 0xbc]
inc esi
cmp esi, 6
jl 0x413561
push 0x16
push dword [edi + 0x1e4]
call fcn.00402036
test eax, eax
pop ecx
pop ecx
je 0x413642
mov dword [ebx + 0xd8], str.zlib
jmp 0x41364c
mov dword [ebx + 0xd8], str.none
xor eax, eax
inc eax
push 0x14
mov dword [edi + 0x128], eax
mov dword [edi + 0x630], eax
call fcn.00408a45
pop ecx
push 0x10
mov dword [ebx + 0xec], eax
pop esi
call fcn.0041fd97
push eax
push dword [ebx + 0xec]
call fcn.00408883
dec esi
pop ecx
pop ecx
jne 0x41366c
mov esi, dword [ebx + 0xec]
call fcn.004088cb
xor eax, eax
cmp dword [ebx + 0xa4], eax
mov dword [ebp - 0xc], eax
jle 0x413700
lea ecx, [ebx + 0xa8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edi, dword [ecx]
test edi, edi
je 0x4136ee
and dword [ebp + 0xc], 0
cmp dword [edi], 0
jle 0x4136ee
test eax, eax
je 0x4136ca
mov esi, dword [ebx + 0xec]
push 0x4387bc
call fcn.004088da
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 + 0xec]
call fcn.004088da
xor eax, eax
inc eax
inc dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edi]
jl 0x4136b5
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], 4
cmp ecx, dword [ebx + 0xa4]
jl 0x4136a3
mov esi, dword [ebx + 0xec]
call fcn.004088cb
xor edi, edi
mov eax, dword [edi + 0x448688]
push dword [eax + 0x30]
mov esi, dword [ebx + 0xec]
call fcn.004088da
cmp edi, 4
pop ecx
jae 0x413738
mov esi, dword [ebx + 0xec]
push 0x4387bc
call fcn.004088da
pop ecx
add edi, 4
cmp edi, 8
jb 0x41370d
mov dword [ebp - 0x14], 2
mov esi, dword [ebx + 0xec]
call fcn.004088cb
xor eax, eax
cmp dword [ebx + 0xbc], eax
mov dword [ebp - 0xc], eax
jle 0x4137c6
lea ecx, [ebx + 0xc0]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edi, dword [ecx]
test edi, edi
je 0x4137b4
and dword [ebp + 0xc], 0
cmp dword [edi], 0
jle 0x4137b4
test eax, eax
je 0x41378f
mov esi, dword [ebx + 0xec]
push 0x4387bc
call fcn.004088da
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 + 0xec]
call fcn.004088da
xor eax, eax
inc eax
inc dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edi]
jl 0x41377a
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], 4
cmp ecx, dword [ebx + 0xbc]
jl 0x413768
dec dword [ebp - 0x14]
jne 0x413747
mov dword [ebp + 0xc], 2
mov esi, dword [ebx + 0xec]
call fcn.004088cb
xor edi, edi
cmp dword [ebx + 0x40], edi
jle 0x41381c
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x24]
mov esi, dword [ebx + 0xec]
call fcn.004088da
mov eax, dword [ebx + 0x40]
dec eax
cmp edi, eax
pop ecx
jge 0x413816
mov esi, dword [ebx + 0xec]
push 0x4387bc
call fcn.004088da
pop ecx
inc edi
cmp edi, dword [ebx + 0x40]
jl 0x4137e8
dec dword [ebp + 0xc]
jne 0x4137d6
mov dword [ebp - 0x14], 2
mov esi, dword [ebx + 0xec]
call fcn.004088cb
mov eax, dword [ebx + 0xd8]
push dword [eax]
mov esi, dword [ebx + 0xec]
call fcn.004088da
xor edi, edi
cmp dword [ebx + 0xdc], edi
pop ecx
je 0x413882
mov eax, dword [ebx + 0xd8]
cmp dword [eax + 4], edi
je 0x413882
mov esi, dword [ebx + 0xec]
push 0x4387bc
call fcn.004088da
mov eax, dword [ebx + 0xd8]
push dword [eax + 4]
mov esi, dword [ebx + 0xec]
call fcn.004088da
pop ecx
pop ecx
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x4486ac]
cmp edi, dword [ebx + 0xd8]
je 0x4138e4
mov esi, dword [ebx + 0xec]
push 0x4387bc
call fcn.004088da
push dword [edi]
mov esi, dword [ebx + 0xec]
call fcn.004088da
cmp dword [ebx + 0xdc], 0
pop ecx
pop ecx
je 0x4138e4
cmp dword [edi + 4], 0
je 0x4138e4
mov esi, dword [ebx + 0xec]
push 0x4387bc
call fcn.004088da
push dword [edi + 4]
mov esi, dword [ebx + 0xec]
call fcn.004088da
pop ecx
pop ecx
add dword [ebp + 0xc], 4
cmp dword [ebp + 0xc], 8
jb 0x413885
dec dword [ebp - 0x14]
jne 0x413828
mov esi, dword [ebx + 0xec]
call fcn.004088cb
mov esi, dword [ebx + 0xec]
call fcn.004088cb
push 0
push dword [ebx + 0xec]
call fcn.00408883
push dword [ebx + 0xec]
xor eax, eax
call fcn.00408898
mov eax, dword [ebx + 0xec]
mov eax, dword [eax]
add eax, 0xfffffffb
push 1
push eax
mov dword [ebx + 0x30], eax
call fcn.00403bc7
mov ecx, dword [ebx + 0xec]
push dword [ebx + 0x30]
mov dword [ebx + 0x2c], eax
mov ecx, dword [ecx + 0x10]
add ecx, 5
push ecx
push eax
call fcn.0042df20
push dword [ebx + 0xec]
push dword [ebp + 8]
call fcn.00414b8a
add esp, 0x28
cmp dword [ebp + 0x14], 0
jne 0x413978
mov dword [ebx], 0x1671
jmp 0x414922
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 8], 0x14
je 0x413994
push str.expected_key_exchange_packet_from_server
call fcn.00404045
push eax
mov eax, dword [ebp + 8]
jmp 0x414918
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], 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 + 0x58], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
add dword [ecx + 0x18], 0x10
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
mov esi, ecx
call fcn.00408e1a
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx + 0xa4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
jle 0x413a62
lea eax, [ebx + 0xa8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
xor edi, edi
cmp esi, edi
jne 0x413a01
mov dword [ebx + 0xc], 1
jmp 0x413a44
cmp dword [esi], edi
jle 0x413a44
cmp dword [ebp - 0x14], 0
jne 0x413a16
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 - 8]
mov ecx, dword [ebp + 0xc]
call fcn.00409e70
test eax, eax
pop ecx
jne 0x413a35
inc edi
cmp edi, dword [esi]
jl 0x413a05
jmp 0x413a44
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 0x413a62
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x10], 4
cmp eax, dword [ebx + 0xa4]
jl 0x4139ed
mov esi, dword [ebp + 8]
cmp dword [esi + 0x90], 0
jne 0x413a98
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x413a7a
mov eax, str._null_
push eax
push str.Couldnt_agree_a_key_exchange_algorithm__available:__s_
call fcn.00404045
push eax
mov eax, esi
call fcn.0040b040
add esp, 0xc
and dword [ebx], 0
jmp 0x414922
push dword [ebp - 8]
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00409ecc
mov esi, dword [ebp + 0x14]
pop ecx
mov dword [ebx + 0xf4], eax
pop ecx
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.00408e1a
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor esi, esi
mov eax, dword [esi*4 + 0x448688]
push dword [eax + 0x30]
mov eax, dword [ebp - 8]
mov ecx, edi
call fcn.00409e70
test eax, eax
pop ecx
jne 0x413ae7
inc esi
cmp esi, 2
jb 0x413ac3
mov esi, dword [ebp + 8]
jmp 0x413af7
mov eax, dword [esi*4 + 0x448688]
mov esi, dword [ebp + 8]
mov dword [esi + 0x94], eax
cmp dword [esi + 0x94], ebx
jne 0x413b2a
cmp edi, ebx
mov eax, edi
jne 0x413b0a
mov eax, str._null_
push eax
push str.Couldnt_agree_a_host_key_algorithm__available:__s_
call fcn.00404045
push eax
mov eax, esi
call fcn.0040b040
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [eax], ebx
jmp 0x414922
mov esi, dword [ebp - 4]
cmp dword [esi + 0xf4], ebx
je 0x413b50
push dword [ebp - 8]
mov eax, dword [0x448688]
push dword [eax + 0x30]
call fcn.00409ecc
test eax, eax
pop ecx
pop ecx
je 0x413b50
xor eax, eax
inc eax
jmp 0x413b52
xor eax, eax
mov dword [esi + 0xf4], eax
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.00408e1a
mov esi, dword [ebp - 4]
and dword [ebp - 0xc], 0
cmp dword [esi + 0xbc], 0
jle 0x413bd8
lea eax, [esi + 0xc0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
xor ebx, ebx
cmp edi, ebx
jne 0x413b93
mov dword [esi + 0x10], 1
jmp 0x413bc0
cmp dword [edi], ebx
jle 0x413bc0
mov eax, dword [edi + 4]
mov eax, dword [eax + ebx*4]
push dword [eax + 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.00409e70
test eax, eax
pop ecx
jne 0x413bb7
inc ebx
cmp ebx, dword [edi]
jl 0x413b97
jmp 0x413bc0
mov eax, dword [edi + 4]
mov eax, dword [eax + ebx*4]
mov dword [esi + 0x44], eax
cmp dword [esi + 0x44], 0
jne 0x413c09
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], 4
cmp eax, dword [esi + 0xbc]
jl 0x413b7f
cmp dword [esi + 0x44], 0
jne 0x413c09
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x413bea
mov eax, str._null_
push eax
push str.Couldnt_agree_a_client_to_server_cipher__available:__s_
call fcn.00404045
push eax
mov eax, dword [ebp + 8]
call fcn.0040b040
add esp, 0xc
and dword [esi], 0
jmp 0x414922
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.00408e1a
mov edi, dword [ebp - 4]
and dword [ebp - 0xc], 0
cmp dword [edi + 0xbc], 0
jle 0x413c89
lea eax, [edi + 0xc0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
xor ebx, ebx
cmp esi, ebx
jne 0x413c44
mov dword [edi + 0x14], 1
jmp 0x413c71
cmp dword [esi], ebx
jle 0x413c71
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*4]
push dword [eax + 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.00409e70
test eax, eax
pop ecx
jne 0x413c68
inc ebx
cmp ebx, dword [esi]
jl 0x413c48
jmp 0x413c71
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*4]
mov dword [edi + 0x48], eax
cmp dword [edi + 0x48], 0
jne 0x413cba
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], 4
cmp eax, dword [edi + 0xbc]
jl 0x413c30
cmp dword [edi + 0x48], 0
jne 0x413cba
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x413c9b
mov eax, str._null_
push eax
push str.Couldnt_agree_a_server_to_client_cipher__available:__s_
call fcn.00404045
push eax
mov eax, dword [ebp + 8]
call fcn.0040b040
add esp, 0xc
and dword [edi], 0
jmp 0x414922
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.00408e1a
mov esi, dword [ebp - 4]
xor edi, edi
cmp dword [esi + 0x40], edi
jle 0x413cfc
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.00409e70
test eax, eax
pop ecx
jne 0x413cf3
inc edi
cmp edi, dword [esi + 0x40]
jl 0x413cd2
jmp 0x413cfc
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
mov dword [esi + 0x4c], eax
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.00408e1a
mov esi, dword [ebp - 4]
xor edi, edi
cmp dword [esi + 0x40], edi
jle 0x413d3e
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.00409e70
test eax, eax
pop ecx
jne 0x413d35
inc edi
cmp edi, dword [esi + 0x40]
jl 0x413d14
jmp 0x413d3e
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
mov dword [esi + 0x50], eax
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.00408e1a
xor ebx, ebx
test ebx, ebx
mov edi, dword [ebp - 4]
jne 0x413d5d
mov esi, dword [edi + 0xd8]
jmp 0x413d64
mov esi, dword [ebx*4 + 0x4486a8]
push dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.00409e70
test eax, eax
pop ecx
jne 0x413da4
push dword [esi + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.00409e70
test eax, eax
pop ecx
je 0x413d9c
cmp dword [edi + 0xdc], 0
jne 0x413da4
mov dword [edi + 0xe0], 1
inc ebx
cmp ebx, 3
jb 0x413d4e
jmp 0x413da7
mov dword [edi + 0x54], esi
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.00408e1a
xor ebx, ebx
test ebx, ebx
mov edi, dword [ebp - 4]
jne 0x413dc6
mov esi, dword [edi + 0xd8]
jmp 0x413dcd
mov esi, dword [ebx*4 + 0x4486a8]
push dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.00409e70
test eax, eax
pop ecx
jne 0x413e10
push dword [esi + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.00409e70
test eax, eax
pop ecx
je 0x413e05
cmp dword [edi + 0xdc], 0
jne 0x413e10
mov dword [edi + 0xe0], 1
inc ebx
cmp ebx, 3
jb 0x413db7
mov edi, dword [ebp - 4]
jmp 0x413e13
mov dword [edi + 0x58], esi
cmp dword [edi + 0xe0], 0
je 0x413e31
mov eax, dword [ebp + 8]
push str.Server_supports_delayed_compression__will_try_this_later
push dword [eax + 0xd4]
call fcn.0042736a
pop ecx
pop ecx
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.00408e1a
call fcn.00408e1a
mov ecx, esi
call fcn.00408df7
test eax, eax
je 0x413e60
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf4], 0
jne 0x413e60
xor eax, eax
inc eax
jmp 0x413e62
xor eax, eax
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov dword [ecx + 0xf8], eax
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
call dword [eax]
push dword [edi + 4]
mov dword [edi + 0xc], eax
call fcn.0042d810
push dword [edi + 4]
mov ecx, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [ecx + 0x1c]
mov ebx, eax
call fcn.0040877e
push dword [edi + 8]
call fcn.0042d810
push dword [edi + 8]
mov ecx, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [ecx + 0x1c]
mov ebx, eax
call fcn.0040877e
mov eax, dword [ebp - 4]
push dword [eax + 0x2c]
mov ecx, dword [edi + 0x90]
push dword [edi + 0xc]
mov ebx, dword [eax + 0x30]
mov esi, dword [ecx + 0x1c]
call fcn.0040877e
mov eax, dword [ebp - 4]
push dword [eax + 0x2c]
call fcn.00403c87
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add esp, 0x24
cmp eax, 5
jle 0x413f0a
lea ebx, [eax - 5]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
add eax, 5
push eax
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.0040877e
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
mov esi, dword [ebp + 8]
je 0x413f5d
xor edi, edi
inc edi
call fcn.004097bf
mov eax, dword [esi + 0x90]
push esi
push 0x409aba
push dword [eax]
push str.key_exchange_algorithm
push dword [esi + 0xd4]
call fcn.004271dc
mov ecx, dword [ebp - 4]
add esp, 0x14
test eax, eax
mov dword [ecx + 0xf0], eax
mov ebx, ecx
jge 0x413019
mov dword [ebx], 0x172a
jmp 0x414922
mov ebx, dword [ebp - 4]
cmp dword [ebx + 0x10], 0
je 0x412fac
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
call fcn.004097bf
mov ecx, dword [ebx + 0x44]
mov eax, esi
push eax
push 0x409aba
push dword [ecx + 0x18]
push str.client_to_server_cipher
push dword [eax + 0xd4]
call fcn.004271dc
add esp, 0x14
test eax, eax
mov dword [ebx + 0xf0], eax
jge 0x412f9a
mov dword [ebx], 0x1743
jmp 0x414922
cmp dword [ebx + 0xf8], 0
je 0x412e92
mov dword [ebx], 0x176e
jmp 0x414922
push eax
mov dword [esi + 0x148], 1
call fcn.0041c342
mov dword [esi + 0xbc], eax
mov dword [ebx + 0x34], 0x1e
mov dword [ebx + 0x38], 0x1f
mov eax, dword [esi + 0x90]
push dword [eax + 4]
push str.Using_Diffie_Hellman_with_standard_group___s_
push esi
call fcn.004083af
add esp, 0x10
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x1c]
push dword [eax + 0x10]
push str.Doing_Diffie_Hellman_key_exchange_with_hash__s
push esi
call fcn.004083af
push 2
push dword [esi + 0xd4]
call fcn.004067dc
mov eax, dword [ebx + 4]
shl eax, 1
push eax
push dword [esi + 0xbc]
call fcn.0041c3eb
push dword [ebx + 0x34]
mov dword [ebx + 0x20], eax
call fcn.00408a45
mov esi, eax
mov eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebx + 0xec], esi
call fcn.0040899a
mov dword [ebp + 0xc], eax
call fcn.004088cb
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
call fcn.00408937
push dword [ebp + 0xc]
call fcn.00403c87
push dword [ebx + 0xec]
mov esi, dword [ebp + 8]
push esi
call fcn.00414b8a
push 1
push dword [esi + 0xd4]
call fcn.004067dc
add esp, 0x40
jmp 0x4143bf
mov eax, dword [eax + 0x1c]
push dword [eax + 0x10]
push str.Doing_RSA_key_exchange_with_hash__s
push esi
call fcn.004083af
add esp, 0xc
mov dword [esi + 0x148], 3
jmp 0x414163
cmp dword [ebp + 0x14], esi
je 0x4140cb
push str.Unexpected_data_from_server_while_waiting_for_user_host_key_response
jmp 0x4143d7
cmp dword [ebp + 0x10], esi
jg 0x41465c
mov eax, dword [edi + 0x1f8]
mov dword [ebx + 0xf0], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.004097bf
cmp dword [ebx + 0xf0], edi
jne 0x414667
mov eax, str.User_aborted_at_host_key_verification
xor edi, edi
push 1
push edi
push edi
call fcn.0040bfec
add esp, 0xc
mov dword [ebx], edi
jmp 0x414922
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x4143ad
cmp dword [eax + 8], 0x20
je 0x414135
push dword [ebx + 0x64]
call fcn.00403c87
mov dword [esp], str.expected_signature_packet_from_server
jmp 0x4143d7
lea edi, [ebx + 0x74]
add ebx, 0x60
mov esi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call fcn.00408e1a
mov ebx, dword [ebp - 4]
push dword [ebx + 0x64]
call fcn.00403c87
mov edi, dword [ebp + 8]
pop ecx
jmp 0x414561
mov eax, dword [ebp + 0x14]
cmp eax, esi
jne 0x41416e
mov dword [ebx], 0x17e2
jmp 0x414922
cmp dword [eax + 8], 0x1e
je 0x41417e
push str.expected_RSA_public_key_packet_from_server
jmp 0x4143d7
lea edi, [ebx + 0x70]
add ebx, 0x5c
mov esi, eax
mov dword [ebp - 0xc], edi
mov dword [ebp + 0xc], ebx
call fcn.00408e1a
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
push dword [eax]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov ebx, dword [ecx]
mov esi, dword [eax + 0x1c]
call fcn.0040877e
mov ecx, dword [ebp - 0xc]
push dword [ecx]
mov ecx, dword [ebp + 0xc]
push dword [ecx]
mov eax, dword [edi + 0x94]
call dword [eax]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0x14]
lea edi, [ecx + 0x78]
lea ebx, [ebp - 0x14]
mov dword [ecx + 0x7c], eax
mov dword [ebp + 0xc], edi
call fcn.00408e1a
push 1
mov esi, edi
push dword [esi]
call fcn.00403bc7
push dword [esi]
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
mov dword [edi + 0x64], eax
push eax
call fcn.0042df20
push dword [esi]
push dword [edi + 0x64]
call fcn.004215f4
add esp, 0x2c
test eax, eax
push dword [edi + 0x64]
mov dword [edi + 0x80], eax
jne 0x41422f
call fcn.00403c87
mov dword [esp], str.unable_to_parse_RSA_public_key_from_server
call fcn.00404045
push eax
mov eax, dword [ebp + 8]
call fcn.0040b040
and dword [edi], 0
jmp 0x414920
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x90]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx]
mov esi, dword [eax + 0x1c]
call fcn.0040877e
push dword [edi + 0x80]
call fcn.004212da
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
shl eax, 4
mov dword [ebp - 0xc], esi
sub esi, eax
sub esi, 0x31
lea eax, [esi - 1]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.0041999b
add esp, 0x10
cmp esi, ebx
mov dword [edi + 0x28], eax
jle 0x4142b5
mov dword [ebp + 0xc], ebx
and dword [ebp + 0xc], 7
jne 0x414298
call fcn.0041fd97
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
sar eax, cl
and eax, 1
push eax
push ebx
push dword [edi + 0x28]
call fcn.00419232
add esp, 0xc
inc ebx
cmp ebx, esi
jl 0x414287
lea eax, [ebp + 0xc]
push eax
push dword [edi + 0x28]
call fcn.0040899a
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 4]
push 1
push eax
mov dword [ebp - 8], eax
call fcn.00403bc7
mov esi, eax
mov eax, ebx
sar eax, 0x18
mov byte [esi], al
mov eax, ebx
sar eax, 0x10
mov byte [esi + 1], al
mov eax, ebx
sar eax, 8
push ebx
push dword [ebp - 0x10]
mov byte [esi + 2], al
lea eax, [esi + 4]
push eax
mov dword [ebp - 0x18], esi
mov byte [esi + 3], bl
call fcn.0042df20
mov eax, dword [ebp - 0xc]
add eax, 7
push 8
pop ecx
cdq
idiv ecx
push 1
push eax
mov dword [ebp + 0xc], eax
call fcn.00403bc7
push dword [edi + 0x80]
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push eax
push dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x90]
push esi
push dword [eax + 0x1c]
call fcn.0042139b
push 0x1f
call fcn.00408a45
lea ebx, [edi + 0xec]
add esp, 0x40
mov esi, eax
mov dword [ebx], eax
call fcn.004088cb
push dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx]
call fcn.00408937
push dword [ebx]
mov esi, dword [ebp + 8]
push esi
call fcn.00414b8a
push dword [ebp - 0x14]
mov eax, dword [esi + 0x90]
push dword [esi + 0xc]
mov esi, dword [eax + 0x1c]
mov ebx, edi
call fcn.0040877e
push dword [ebp - 0x18]
call fcn.00403c87
push dword [ebp - 0x10]
call fcn.00403c87
push dword [ebp - 0x14]
call fcn.00403c87
mov eax, dword [ebp - 4]
push dword [eax + 0x80]
call fcn.004212d5
mov ebx, dword [ebp - 4]
add esp, 0x24
mov dword [ebx], 0x1834
jmp 0x414922
mov eax, dword [ebp + 0x14]
cmp eax, esi
jne 0x4143ca
mov dword [ebx], 0x17b6
jmp 0x414922
mov eax, dword [eax + 8]
cmp eax, dword [ebx + 0x38]
je 0x4143eb
push str.expected_key_exchange_reply_packet_from_server
call fcn.00404045
push eax
mov eax, edi
call fcn.0040b040
mov dword [ebx], esi
jmp 0x414920
mov eax, dword [ebp + 8]
push 2
push dword [eax + 0xd4]
call fcn.004067dc
mov esi, dword [ebp + 0x14]
lea edi, [ebx + 0x70]
add ebx, 0x5c
mov dword [ebp - 0xc], edi
mov dword [ebp + 0xc], ebx
call fcn.00408e1a
mov ecx, dword [ebp - 0xc]
push dword [ecx]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x94]
mov ecx, ebx
push dword [ecx]
call dword [eax]
mov ebx, dword [ebp - 4]
add esp, 0x10
mov dword [ebx + 0x7c], eax
call fcn.00408eec
test eax, eax
mov dword [ebx + 0x24], eax
jne 0x414442
push str.unable_to_parse_key_exchange_reply_packet
jmp 0x414910
mov esi, dword [ebp + 0x14]
lea edi, [ebx + 0x74]
add ebx, 0x60
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call fcn.00408e1a
mov esi, dword [ebp - 4]
push dword [esi + 0x24]
mov edi, dword [ebp + 8]
push dword [edi + 0xbc]
call fcn.0041c4fa
mov dword [esi + 0x28], eax
push 0
push dword [edi + 0xd4]
call fcn.004067dc
mov eax, dword [ebp + 0xc]
push dword [eax]
mov eax, dword [edi + 0x90]
mov ecx, dword [ebp - 0xc]
push dword [edi + 0xc]
mov ebx, dword [ecx]
mov esi, dword [eax + 0x1c]
call fcn.0040877e
mov eax, dword [edi + 0x90]
mov ebx, dword [ebp - 4]
add esp, 0x18
cmp dword [eax + 0xc], 0
jne 0x4144ff
mov ecx, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
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 [edi + 0xc]
shr edx, 8
mov byte [ebp + 0xe], dl
call dword [eax + 4]
push dword [ebx + 0x18]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.00408d91
push dword [ebx + 0x1c]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.00408d91
add esp, 0x1c
push dword [ebx + 0x20]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.00408d91
push dword [ebx + 0x24]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.00408d91
push dword [edi + 0xbc]
call fcn.0041c3ac
push dword [ebx + 0x24]
call fcn.0041841a
mov eax, dword [edi + 0x90]
add esp, 0x18
cmp dword [eax + 0xc], 0
jne 0x41455e
mov esi, dword [ebp - 4]
push dword [esi + 0x1c]
call fcn.0041841a
push dword [esi + 0x18]
call fcn.0041841a
pop ecx
pop ecx
mov ebx, dword [ebp - 4]
push dword [ebx + 0x28]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.00408d91
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0xc], 0x20
pop ecx
pop ecx
jbe 0x41459d
push 0x1841
push str..._ssh.c
push str.ssh__kex__hash__hlen___sizeof_s__exchange_hash_
call fcn.0042db48
add esp, 0xc
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
lea esi, [ebx + 0x84]
push esi
push dword [edi + 0xc]
call dword [eax + 8]
and dword [edi + 0xbc], 0
mov eax, dword [ebx + 0x7c]
test eax, eax
pop ecx
pop ecx
je 0x41490b
mov edx, dword [edi + 0x90]
mov edx, dword [edx + 0x1c]
push dword [edx + 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 0x94]
push esi
push dword [edx]
mov edx, dword [ebp - 0x10]
push dword [edx]
push eax
call dword [ecx + 0x28]
add esp, 0x14
test eax, eax
je 0x41490b
push dword [ebx + 0x7c]
mov eax, dword [edi + 0x94]
call dword [eax + 8]
push dword [ebx + 0x7c]
mov dword [ebx + 0x68], eax
mov eax, dword [edi + 0x94]
call dword [eax + 0x24]
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
mov dword [ebx + 0x6c], eax
call fcn.004097bf
mov eax, dword [esi + 0x94]
push esi
push 0x409aba
push dword [ebx + 0x6c]
push dword [ebx + 0x68]
push dword [eax + 0x34]
push dword [esi + 0xc4]
push dword [esi + 0xc0]
push dword [esi + 0xd4]
call fcn.004270c4
add esp, 0x28
test eax, eax
mov dword [ebx + 0xf0], eax
mov ebx, dword [ebp - 4]
jge 0x4140e0
mov dword [ebx], 0x1861
jmp 0x414922
cmp dword [ebx + 0xe4], 0
mov edi, dword [ebp + 8]
jne 0x414692
lea esi, [edi + 0xd4]
push str.Host_key_fingerprint_is:
push dword [esi]
call fcn.0042736a
push dword [ebx + 0x6c]
push dword [esi]
call fcn.0042736a
add esp, 0x10
push dword [ebx + 0x6c]
call fcn.00403c87
push dword [ebx + 0x68]
call fcn.00403c87
push dword [ebx + 0x7c]
mov eax, dword [edi + 0x94]
call dword [eax + 4]
add esp, 0xc
cmp dword [ebx + 0xe4], 0
jne 0x41470a
push 0x20
lea eax, [ebx + 0x84]
push eax
lea eax, [edi + 0x98]
push eax
call fcn.0042df20
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
add esp, 0xc
cmp eax, 0x20
mov dword [edi + 0xb8], eax
jbe 0x414700
push 0x1882
push str..._ssh.c
push str.ssh__v2_session_id_len___sizeof_ssh__v2_session_id_
call fcn.0042db48
add esp, 0xc
mov dword [ebx + 0xe4], 1
push 0x15
call fcn.00408a45
push eax
push edi
mov dword [ebx + 0xec], eax
call fcn.00414b8a
mov eax, dword [edi + 0x68]
and dword [edi + 0x624], 0
add esp, 0xc
test eax, eax
je 0x414737
mov ecx, dword [edi + 0x60]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x60], eax
call dword [eax]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
test eax, eax
je 0x414751
mov ecx, dword [edi + 0x70]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x70], eax
call dword [eax]
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x88]
test eax, eax
je 0x414771
mov ecx, dword [edi + 0x80]
push eax
call dword [ecx + 0xc]
pop ecx
mov eax, dword [ebx + 0x54]
mov dword [edi + 0x80], eax
call dword [eax + 8]
mov dword [edi + 0x88], eax
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
shl eax, 1
cmp eax, 0x40
jbe 0x4147ad
push 0x18a6
push str..._ssh.c
push str.sizeof_keyspace____ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042db48
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
lea eax, [ebx + 0x84]
push 0x43
push eax
push dword [ebx + 0x28]
call fcn.00409f10
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 0x20]
add esp, 0x10
add eax, 7
push 8
cdq
pop esi
idiv esi
shl ecx, 1
cmp eax, ecx
jle 0x4147fd
push 0x18a9
push str..._ssh.c
push str._ssh__cscipher__keylen7____8___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042db48
add esp, 0xc
mov eax, dword [edi + 0x60]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x68]
call dword [eax + 0xc]
lea eax, [ebp - 0x58]
push eax
push 0x41
lea esi, [ebx + 0x84]
push esi
push dword [ebx + 0x28]
call fcn.00409f10
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x60]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x1c], eax
jle 0x41484f
push 0x18ad
push str..._ssh.c
push str.ssh__cscipher__blksize___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042db48
add esp, 0xc
mov eax, dword [edi + 0x60]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x68]
call dword [eax + 8]
lea eax, [ebp - 0x58]
push eax
push 0x45
push esi
push dword [ebx + 0x28]
call fcn.00409f10
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x70]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x28], eax
jle 0x41489b
push 0x18b1
push str..._ssh.c
push str.ssh__csmac__len___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0042db48
add esp, 0xc
mov eax, dword [edi + 0x70]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x78]
call dword [eax + 8]
lea eax, [ebp - 0x58]
push 0x40
push eax
call fcn.00428411
mov eax, dword [edi + 0x60]
push dword [eax + 0x28]
push str.Initialised__.200s_client__server_encryption
push edi
call fcn.004083af
mov eax, dword [edi + 0x70]
push dword [eax + 0x2c]
push str.Initialised__.200s_client__server_MAC_algorithm
push edi
call fcn.004083af
mov eax, dword [edi + 0x80]
mov eax, dword [eax + 0x24]
add esp, 0x28
test eax, eax
je 0x4148f4
push eax
push str.Initialised__s_compression
push edi
call fcn.004083af
add esp, 0xc
mov esi, dword [ebp + 8]
and dword [esi + 0x128], 0
call fcn.0040bf76
mov dword [ebx], 0x18c8
jmp 0x414922
push str.Servers_host_key_did_not_match_the_signature_supplied
call fcn.00404045
push eax
mov eax, edi
call fcn.0040b040
and dword [ebx], 0
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret