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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1cc]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], 0x4a038c
mov dword [ebp - 0x20], str.host_key_algorithm
mov dword [ebp - 0x1c], str.client_to_server_cipher
mov dword [ebp - 0x18], str.server_to_client_cipher
mov dword [ebp - 0x14], str.client_to_server_MAC
mov dword [ebp - 0x10], str.server_to_client_MAC
mov dword [ebp - 0xc], str.client_to_server_compression_method
mov dword [ebp - 8], str.server_to_client_compression_method
mov dword [ebp - 0x48], esi
test esi, esi
jne 0x413d3d
push 0x74c
push 1
call fcn.004060a0
mov ecx, dword [ebp - 0x40]
add esp, 8
mov dword [ebx + 0x1cc], eax
mov dword [eax], esi
mov esi, dword [ebx + 0x1cc]
mov dword [ebp - 0x48], esi
mov eax, dword [esi]
cmp eax, 0x1b73
jg 0x414067
je 0x414000
cmp eax, 0x1aff
jg 0x413ee4
je 0x413e98
test eax, eax
je 0x413e1a
cmp eax, 0x1a26
je 0x413ddd
cmp eax, 0x1abc
jne 0x413e03
test ecx, ecx
je 0x413d86
push str.Unexpected_data_from_server_while_waiting_for_user_response
jmp 0x413df4
cmp dword [ebp + 0x10], 0
jg 0x41587a
mov eax, dword [ebx + 0x25c]
lea edi, [esi + 0x140]
mov dword [edi], eax
push 0
push ebx
call fcn.0041d490
add esp, 8
cmp dword [edi], 0
jne 0x415891
push 1
push 0
push 0
push str.User_aborted_at_kex_warning
push ebx
call fcn.0041c5a0
add esp, 0x14
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x41548a
cmp dword [ecx + 8], 0x14
je 0x4154a1
push str.expected_key_exchange_packet_from_server
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0xc
pop edi
mov dword [esi], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x130], 0
test byte [ebx + 0x50], 2
je 0x413e85
mov dword [esi + 0x40], 0x49dd30
mov dword [esi + 0x44], 3
jmp 0x414d67
mov dword [esi + 0x40], 0x49dd20
mov dword [esi + 0x44], 4
jmp 0x414d67
test ecx, ecx
jne 0x413d7f
cmp dword [ebp + 0x10], ecx
jg 0x4159a4
mov eax, dword [ebx + 0x25c]
lea edi, [esi + 0x140]
mov dword [edi], eax
push 0
push ebx
call fcn.0041d490
add esp, 8
cmp dword [edi], 0
jne 0x4159bb
push 1
push 0
push 0
push str.User_aborted_at_host_key_warning
push ebx
call fcn.0041c5a0
add esp, 0x14
jmp 0x413e03
sub eax, 0x1b18
je 0x413f79
sub eax, 0x19
je 0x413f29
sub eax, 0x12
jne 0x413e03
test ecx, ecx
je 0x415a1d
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x415c0f
mov eax, dword [esi + 0x48]
test eax, eax
je 0x415a34
mov eax, dword [eax + 0x28]
jmp 0x415a36
test ecx, ecx
jne 0x413d7f
cmp dword [ebp + 0x10], ecx
jg 0x413fe9
mov eax, dword [ebx + 0x25c]
lea edi, [esi + 0x140]
mov dword [esi + 0x140], eax
push 0
push ebx
call fcn.0041d490
add esp, 8
cmp dword [edi], 0
jne 0x415a10
push 1
push 0
push 0
push str.User_aborted_at_cipher_warning
push ebx
call fcn.0041c5a0
add esp, 0x14
jmp 0x413e03
test ecx, ecx
jne 0x413d7f
cmp dword [ebp + 0x10], ecx
jg 0x4159f9
mov eax, dword [ebx + 0x25c]
lea edi, [esi + 0x140]
mov dword [edi], eax
push 0
push ebx
call fcn.0041d490
add esp, 8
mov dword [ebp - 0x30], edi
cmp dword [edi], 0
je 0x413f60
cmp dword [esi + 0x18], 0
je 0x415a10
push 1
push ebx
call fcn.0041d490
mov eax, dword [esi + 0x4c]
push ebx
push 0x41c550
push dword [eax + 0x20]
push str.server_to_client_cipher
push dword [ebx + 0x110]
call fcn.0043d660
mov edi, dword [ebp - 0x30]
add esp, 0x1c
mov dword [edi], eax
test eax, eax
jns 0x413f4c
pop edi
mov dword [esi], 0x1b31
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x415b36
cmp dword [ecx + 8], 0x1f
je 0x414018
push str.expected_key_exchange_group_packet_from_server
jmp 0x413df4
push ecx
call fcn.00419b60
push dword [ebp - 0x40]
mov dword [esi + 0x1c], eax
call fcn.00419b60
mov ecx, dword [esi + 0x1c]
add esp, 8
mov dword [esi + 0x20], eax
test ecx, ecx
je 0x41405d
test eax, eax
je 0x41405d
push eax
push ecx
call fcn.00427d00
mov dword [ebx + 0xe8], eax
add esp, 8
mov dword [esi + 0x38], 0x20
mov dword [esi + 0x3c], 0x21
jmp 0x415b8d
push str.unable_to_read_mp_ints_from_incoming_group_packet
jmp 0x413df4
cmp eax, 0x1c85
jg 0x4149d1
je 0x41465a
sub eax, 0x1b96
je 0x414468
sub eax, 0x56
je 0x4142f7
sub eax, 0x3e
jne 0x413e03
test ecx, ecx
je 0x415cfd
cmp dword [ecx + 8], 0x1e
je 0x4140ad
push str.expected_RSA_public_key_packet_from_server
jmp 0x413df4
lea eax, [esi + 0x7c]
push eax
lea edi, [esi + 0x68]
push edi
push ecx
call fcn.0041cd20
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x4140ce
push str.unable_to_parse_RSA_public_key_packet
jmp 0x413df4
push dword [esi + 0x7c]
push eax
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416760
push dword [esi + 0x7c]
mov eax, dword [ebx + 0x9c]
push dword [edi]
push eax
mov eax, dword [eax]
call eax
mov dword [esi + 0x88], eax
lea edi, [esi + 0x84]
push edi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x40]
call fcn.0041cd20
add esp, 0x28
cmp dword [ebp - 0x2c], 0
je 0x4140c4
push 1
push dword [edi]
call fcn.004060a0
push dword [edi]
mov dword [esi + 0x70], eax
push dword [ebp - 0x2c]
push eax
call fcn.00449f40
push dword [edi]
push dword [esi + 0x70]
call fcn.004336f0
mov ecx, dword [esi + 0x70]
add esp, 0x1c
mov dword [esi + 0x8c], eax
test eax, eax
jne 0x414165
push ecx
call fcn.00406080
push str.unable_to_parse_RSA_public_key_from_server
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
jmp 0x413e03
push dword [edi]
mov eax, dword [ebx + 0x98]
push ecx
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416760
push dword [esi + 0x8c]
call fcn.004336d0
mov ecx, dword [ebx + 0x98]
mov ebx, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], 0
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
shl ecx, 4
sub ebx, ecx
sub ebx, 0x31
mov dword [ebp - 0x30], ebx
lea eax, [ebx - 1]
push eax
call fcn.00422c50
add esp, 0x18
mov dword [esi + 0x2c], eax
xor edi, edi
test ebx, ebx
jle 0x4141f0
nop dword [eax]
mov ebx, edi
and ebx, 7
jne 0x4141d1
call fcn.00431980
mov dword [ebp - 0x2c], eax
jmp 0x4141d4
mov eax, dword [ebp - 0x2c]
mov edx, eax
mov ecx, ebx
sar edx, cl
and edx, 1
push edx
push edi
push dword [esi + 0x2c]
call fcn.00422ae0
inc edi
add esp, 0xc
cmp edi, dword [ebp - 0x30]
jl 0x4141c0
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x2c]
call fcn.00418810
mov ebx, dword [ebp - 0x30]
mov edi, eax
push 1
mov dword [ebp - 0x3c], edi
lea eax, [ebx + 4]
push eax
call fcn.004060a0
mov ecx, ebx
mov dword [ebp - 0x2c], eax
sar ecx, 0x18
push ebx
mov byte [eax], cl
mov ecx, ebx
sar ecx, 0x10
mov byte [eax + 1], cl
mov ecx, ebx
sar ecx, 8
mov byte [eax + 2], cl
mov byte [eax + 3], bl
add eax, 4
push edi
push eax
call fcn.00449f40
mov eax, dword [ebp - 0x44]
add eax, 7
cdq
and edx, 7
push 1
lea edi, [edx + eax]
sar edi, 3
push edi
call fcn.004060a0
push dword [esi + 0x8c]
lea ecx, [ebx + 4]
mov dword [ebp - 0x30], eax
push edi
push eax
push ecx
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x98]
push dword [ecx + 0xc]
call fcn.004335b0
push 0x1f
call fcn.00419ba0
add esp, 0x40
mov dword [esi + 0x13c], eax
push eax
call fcn.0041cb50
mov ebx, dword [ebp - 0x30]
push edi
push ebx
push dword [esi + 0x13c]
call fcn.0041caf0
push dword [esi + 0x13c]
push dword [ebp - 0x34]
call fcn.00419cc0
mov eax, dword [ebp - 0x34]
push edi
push ebx
push dword [eax + 0xc]
mov eax, dword [eax + 0x98]
push dword [eax + 0xc]
call fcn.00416760
push dword [ebp - 0x2c]
call fcn.00406080
push dword [ebp - 0x3c]
call fcn.00406080
push ebx
call fcn.00406080
push dword [esi + 0x8c]
call fcn.004336c0
add esp, 0x38
mov dword [esi], 0x1c85
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x415cce
cmp dword [ecx + 8], 0x1f
je 0x414329
push dword [esi + 0x90]
call fcn.0042ca00
push str.expected_ECDH_reply_packet_from_server
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
jmp 0x413e03
lea eax, [esi + 0x7c]
push eax
lea edi, [esi + 0x68]
push edi
push ecx
call fcn.0041cd20
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x41434a
push str.unable_to_parse_ECDH_reply_packet
jmp 0x413df4
push dword [esi + 0x7c]
push eax
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416760
push dword [esi + 0x7c]
mov eax, dword [ebx + 0x9c]
push dword [edi]
push eax
mov eax, dword [eax]
call eax
mov dword [esi + 0x88], eax
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x90]
call fcn.0042cad0
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x4143b1
push dword [esi + 0x90]
call fcn.0042ca00
push str.Unable_to_encode_public_key_for_ECDH_hash
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
jmp 0x413e03
push dword [ebp - 0x30]
mov eax, dword [ebx + 0x98]
push edi
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416760
push edi
call fcn.00406080
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x40]
call fcn.0041cd20
mov eax, dword [ebp - 0x2c]
add esp, 0x20
test eax, eax
je 0x414340
mov edi, dword [ebp - 0x30]
push edi
push eax
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416760
push edi
push dword [ebp - 0x2c]
push dword [esi + 0x90]
call fcn.0042ca10
add esp, 0x1c
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x41443d
push dword [esi + 0x90]
call fcn.0042ca00
push str.point_received_in_ECDH_was_not_valid
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
jmp 0x413e03
lea eax, [esi + 0x80]
push eax
lea edi, [esi + 0x6c]
push edi
push dword [ebp - 0x40]
call fcn.0041cd20
add esp, 0xc
cmp dword [edi], 0
je 0x4144a8
push dword [esi + 0x90]
call fcn.0042ca00
jmp 0x4146c7
test ecx, ecx
je 0x415bf8
mov eax, dword [ecx + 8]
cmp eax, dword [esi + 0x3c]
je 0x414482
push str.expected_key_exchange_reply_packet_from_server
jmp 0x413df4
push 2
push dword [ebx + 0x110]
call fcn.0043dcd0
lea eax, [esi + 0x7c]
push eax
lea edi, [esi + 0x68]
push edi
push dword [ebp - 0x40]
call fcn.0041cd20
mov ecx, dword [edi]
add esp, 0x14
test ecx, ecx
jne 0x4144b2
push str.unable_to_parse_key_exchange_reply_packet
jmp 0x413df4
push dword [esi + 0x7c]
mov eax, dword [ebx + 0x9c]
push ecx
push eax
mov eax, dword [eax]
call eax
push dword [ebp - 0x40]
mov dword [esi + 0x88], eax
call fcn.00419b60
add esp, 0x10
mov dword [esi + 0x28], eax
test eax, eax
je 0x4144a8
lea eax, [esi + 0x80]
push eax
lea edi, [esi + 0x6c]
push edi
push dword [ebp - 0x40]
call fcn.0041cd20
add esp, 0xc
cmp dword [edi], 0
je 0x4144a8
push dword [esi + 0x28]
push dword [ebx + 0xe8]
call fcn.00427d80
add esp, 8
test eax, eax
je 0x414523
push eax
push str.key_exchange_reply_failed_validation:__s
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
jmp 0x413e03
push dword [esi + 0x28]
push dword [ebx + 0xe8]
call fcn.00427c90
mov dword [esi + 0x2c], eax
push 0
push dword [ebx + 0x110]
call fcn.0043dcd0
push dword [esi + 0x7c]
mov eax, dword [ebx + 0x98]
push dword [esi + 0x68]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416760
push dword [ebx + 0x98]
call fcn.00427ce0
add esp, 0x24
test eax, eax
je 0x4145f4
test dword [ebx + 0x50], 0x1000
jne 0x414590
mov eax, dword [ebx + 0x98]
push 0x400
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.004167b0
add esp, 0xc
push dword [esi + 8]
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.004167b0
add esp, 0xc
test dword [ebx + 0x50], 0x1000
jne 0x4145c9
mov eax, dword [ebx + 0x98]
push 0x2000
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.004167b0
add esp, 0xc
push dword [esi + 0x1c]
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416730
push dword [esi + 0x20]
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416730
add esp, 0x18
push dword [esi + 0x24]
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416730
push dword [esi + 0x28]
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416730
push dword [ebx + 0xe8]
call fcn.00427b00
push dword [esi + 0x28]
call fcn.00422d10
push dword [ebx + 0x98]
call fcn.00427ce0
add esp, 0x24
test eax, eax
je 0x4146ca
push dword [esi + 0x20]
call fcn.00422d10
push dword [esi + 0x1c]
call fcn.00422d10
add esp, 8
jmp 0x4146ca
test ecx, ecx
jne 0x414675
pop edi
mov dword [esi], 0x1c85
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 8], 0x20
je 0x41469c
push dword [esi + 0x70]
call fcn.00406080
push str.expected_signature_packet_from_server
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
jmp 0x413e03
lea eax, [esi + 0x80]
push eax
lea edi, [esi + 0x6c]
push edi
push ecx
call fcn.0041cd20
add esp, 0xc
cmp dword [edi], 0
jne 0x4146bf
push str.unable_to_parse_signature_packet
jmp 0x413df4
push dword [esi + 0x70]
call fcn.00406080
add esp, 4
push dword [esi + 0x2c]
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416730
mov eax, dword [ebx + 0x98]
lea ecx, [esi + 0x94]
push ecx
push dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebx + 0xe8], 0
add esp, 0x14
mov edx, dword [esi + 0x88]
test edx, edx
jne 0x414717
push str.Servers_host_key_is_invalid
jmp 0x413df4
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x9c]
mov eax, dword [eax + 0xc]
push dword [eax + 0x14]
lea eax, [esi + 0x94]
push eax
push dword [esi + 0x80]
mov eax, dword [ecx + 0x28]
push dword [edi]
push edx
call eax
add esp, 0x14
test eax, eax
jne 0x41474f
push str.Servers_host_key_did_not_match_the_signature_supplied
jmp 0x413df4
mov eax, dword [ebx + 0x9c]
push dword [esi + 0x88]
mov eax, dword [eax + 8]
call eax
add esp, 4
mov edi, eax
cmp dword [esi + 0x134], 0
mov dword [esi + 0x74], edi
jne 0x41490f
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x38], edx
xor edi, edi
mov dword [ebp - 0x28], ecx
mov eax, dword [edi*8 + 0x49dcf0]
cmp eax, dword [ebx + 0x9c]
je 0x4147b8
mov edx, dword [ebx + 0x6c8]
xor eax, eax
test edx, edx
jle 0x4147b5
lea ecx, [ebx + 0x6b0]
cmp dword [ecx], edi
je 0x414856
inc eax
add ecx, 4
cmp eax, edx
jl 0x4147a2
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
inc edi
cmp edi, 6
jb 0x414781
test ecx, ecx
je 0x4147f8
cmp edx, 1
mov eax, str.any_of_them
mov edi, 0x4a0960
mov edx, 0x49b3f7
cmovle eax, edi
push eax
mov eax, 0x49b9b4
cmovle eax, edx
push eax
push ecx
push str.Server_also_has__s_host_key_s__but_we_dont_know__s
push ebx
call fcn.00416850
push dword [ebp - 0x28]
call fcn.00406080
add esp, 0x18
push dword [esi + 0x88]
push dword [ebx + 0x9c]
call fcn.0042fb00
mov dword [esi + 0x78], eax
push str.Host_key_fingerprint_is:
push dword [ebx + 0x110]
call fcn.0043dc60
push dword [esi + 0x78]
push dword [ebx + 0x110]
call fcn.0043dc60
push dword [esi + 0x88]
push dword [ebx + 0x9c]
push dword [esi + 0x78]
push ebx
call fcn.0041e210
add esp, 0x28
mov dword [esi + 0x140], eax
test eax, eax
jne 0x4148ad
push str.Host_key_did_not_appear_in_manually_configured_list
jmp 0x413df4
cmp eax, edx
jge 0x4147b2
mov ecx, dword [edi*8 + 0x49dcf0]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x30]
push ecx
test eax, eax
je 0x414880
push eax
push 0x4a094c
call fcn.004059f0
add esp, 0xc
jmp 0x41488d
push 0x49ba54
call fcn.004059f0
add esp, 8
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
call fcn.00406080
mov edx, dword [ebp - 0x38]
add esp, 4
mov ecx, dword [ebp - 0x2c]
inc edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], edx
jmp 0x4147b8
jns 0x415da5
push 1
push ebx
call fcn.0041d490
mov eax, dword [ebx + 0x9c]
push ebx
push 0x41c550
push dword [esi + 0x78]
push dword [esi + 0x74]
push dword [eax + 0x34]
push dword [ebx + 0xfc]
push dword [ebx + 0xf8]
push dword [ebx + 0x110]
call fcn.0043dd00
add esp, 0x28
mov dword [esi + 0x140], eax
test eax, eax
jns 0x415d78
pop edi
mov dword [esi], 0x1ced
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x6cc], 0
je 0x414981
push dword [esi + 0x88]
push dword [ebx + 0x9c]
call fcn.0042fb00
mov dword [esi + 0x78], eax
push str.Storing_additional_host_key_for_this_host:
push dword [ebx + 0x110]
call fcn.0043dc60
push dword [esi + 0x78]
push dword [ebx + 0x110]
call fcn.0043dc60
push dword [esi + 0x78]
call fcn.00406080
push dword [esi + 0x74]
mov eax, dword [ebx + 0x9c]
push dword [eax + 0x34]
push dword [ebx + 0xfc]
push dword [ebx + 0xf8]
call fcn.00445ec0
add esp, 0x2c
mov dword [ebx + 0x6cc], 0
jmp 0x415db0
mov eax, dword [ebx + 0xa0]
mov ecx, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4149b0
test dl, dl
je 0x4149ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4149b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x414990
xor eax, eax
jmp 0x4149b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4149c3
push str.Host_key_was_different_in_repeat_key_exchange
jmp 0x413df4
push edi
call fcn.00406080
add esp, 4
jmp 0x415db9
sub eax, 0x1ced
je 0x415d41
sub eax, 0x91
je 0x4149f1
sub eax, 0x7f
je 0x414c61
jmp 0x413e03
test ecx, ecx
je 0x41600f
cmp dword [ecx + 8], 0x15
je 0x414a09
push str.expected_new_keys_packet_from_server
jmp 0x413df4
mov ecx, dword [ebx + 0x6c]
mov dword [ebx + 0x684], 0
test ecx, ecx
je 0x414a26
mov eax, dword [ebx + 0x64]
push ecx
mov eax, dword [eax + 4]
call eax
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x414a37
mov dword [ebx + 0x64], eax
mov eax, dword [eax]
call eax
mov dword [ebx + 0x6c], eax
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x414a4d
mov eax, dword [ebx + 0x74]
push ecx
mov eax, dword [eax + 4]
call eax
add esp, 4
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x414a6d
push dword [ebx + 0x6c]
mov dword [ebx + 0x74], ecx
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x7c], eax
mov eax, dword [ecx]
call eax
add esp, 4
mov dword [ebx + 0x84], eax
mov ecx, dword [ebx + 0x94]
test ecx, ecx
je 0x414a86
mov eax, dword [ebx + 0x8c]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x8c], eax
mov eax, dword [eax + 0x14]
call eax
mov dword [ebx + 0x94], eax
lea ecx, [esi + 0x94]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x414b1a
push dword [eax + 0x2c]
push 0x44
push ecx
push dword [esi + 0x2c]
push ebx
call fcn.004186d0
mov ecx, dword [ebx + 0x64]
mov edi, eax
push edi
push dword [ebx + 0x6c]
mov ecx, dword [ecx + 0xc]
call ecx
mov ecx, dword [ebx + 0x64]
push dword [ecx + 0x2c]
push edi
call fcn.0043fb70
push edi
call fcn.00406080
mov eax, dword [ebx + 0x64]
push dword [eax + 0x24]
lea eax, [esi + 0x94]
push 0x42
push eax
push dword [esi + 0x2c]
push ebx
call fcn.004186d0
mov ecx, dword [ebx + 0x64]
mov edi, eax
push edi
push dword [ebx + 0x6c]
mov ecx, dword [ecx + 8]
call ecx
mov ecx, dword [ebx + 0x64]
add esp, 0x44
push dword [ecx + 0x24]
push edi
call fcn.0043fb70
push edi
call fcn.00406080
add esp, 0xc
lea ecx, [esi + 0x94]
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x414b56
push dword [eax + 0x30]
push 0x46
push ecx
push dword [esi + 0x2c]
push ebx
call fcn.004186d0
mov ecx, dword [ebx + 0x74]
mov edi, eax
push edi
push dword [ebx + 0x84]
mov ecx, dword [ecx + 8]
call ecx
mov ecx, dword [ebx + 0x74]
push dword [ecx + 0x30]
push edi
call fcn.0043fb70
push edi
call fcn.00406080
add esp, 0x28
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x414b6e
push dword [eax + 0x34]
push str.Initialised__.200s_server__client_encryption
push ebx
call fcn.00416850
add esp, 0xc
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x414ba8
mov eax, dword [ebx + 0x64]
mov edi, 0x49b3f7
mov ecx, str.__required_by_cipher_
cmp dword [eax + 0x38], 0
mov eax, str.__in_ETM_mode_
cmove ecx, edi
cmp dword [ebx + 0x7c], 0
push ecx
cmove eax, edi
push eax
push dword [edx + 0x34]
push str.Initialised__.200s_server__client_MAC_algorithm_s_s
push ebx
call fcn.00416850
add esp, 0x14
mov eax, dword [ebx + 0x8c]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x414bc4
push eax
push str.Initialised__s_decompression
push ebx
call fcn.00416850
add esp, 0xc
push dword [esi + 0x2c]
call fcn.00422d10
push dword [ebx + 0x110]
call fcn.0043dcf0
mov eax, dword [ebx + 0x6a0]
add esp, 8
test eax, eax
je 0x414c09
push eax
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebx + 0x6a0], 0
jmp 0x414d67
mov dword [ebx + 0x694], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
push dword [ebx + 0x248]
mov dword [ebx + 0x69c], eax
call fcn.004030c0
add esp, 8
test eax, eax
je 0x414c5e
push ebx
push 0x41b2a0
push 0x1a
push dword [ebx + 0x248]
call fcn.004030c0
imul eax, eax, 0xea60
add esp, 8
push eax
call fcn.0043c3a0
add esp, 0xc
mov dword [ebx + 0x698], eax
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x414c8a
cmp dword [eax + 8], 0x14
jne 0x414d20
push str.Server_initiated_key_re_exchange
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
jmp 0x414d67
mov eax, dword [ebp + 0x10]
test eax, eax
jns 0x414d20
cmp eax, 0xfffffffe
jne 0x414cb7
cmp dword [esi + 0x130], 0
mov dword [esi + 0x12c], 1
je 0x414d20
mov dword [esi + 0x130], 0
test byte [ebx + 0x50], 0x40
push edi
je 0x414d59
push str.Server_bug_prevents_key_re_exchange___s_
push ebx
call fcn.00416850
push 0x1a
push dword [ebx + 0x248]
mov dword [ebx + 0x688], 0
mov dword [ebx + 0x684], 0
call fcn.004030c0
add esp, 0x14
test eax, eax
je 0x414d20
push ebx
push 0x41b2a0
push 0x1a
push dword [ebx + 0x248]
call fcn.004030c0
imul eax, eax, 0xea60
add esp, 8
push eax
call fcn.0043c3a0
add esp, 0xc
mov dword [ebx + 0x698], eax
cmp dword [ebx + 0x238], 0
jne 0x414d42
push 0
push 0
push 0
push ebx
mov dword [ebx + 0x238], 1
call fcn.00410fc0
add esp, 0x10
pop edi
mov dword [esi], 0x1dfd
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
push str.Initiating_key_re_exchange___s_
push ebx
call fcn.00416850
add esp, 0xc
mov dword [ebx + 0x184], 0
xor edi, edi
mov dword [esi + 0xd4], 0
nop dword [eax]
push edi
push 0x18
push dword [ebx + 0x248]
call fcn.004030f0
add esp, 0xc
cmp eax, 5
ja case.default.0x414d9a
jmp dword [eax*4 + 0x416028]
mov eax, dword [esi + 0xd4]
mov dword [esi + eax*4 + 0xd8], 0x4a62c0
jmp 0x414e16
mov eax, dword [esi + 0xd4]
mov dword [esi + eax*4 + 0xd8], 0x4a62b8
jmp 0x414e16
mov eax, dword [esi + 0xd4]
mov dword [esi + eax*4 + 0xd8], 0x4a62b0
jmp 0x414e16
mov eax, dword [esi + 0xd4]
mov dword [esi + eax*4 + 0xd8], 0x4a7508
jmp 0x414e16
mov eax, dword [esi + 0xd4]
mov dword [esi + eax*4 + 0xd8], 0x4a6648
jmp 0x414e16
cmp edi, 5
jge case.default.0x414d9a
mov eax, dword [esi + 0xd4]
mov dword [esi + eax*4 + 0xd8], 0
inc dword [esi + 0xd4]
inc edi
cmp edi, 6
jl 0x414d80
mov dword [esi + 0xf0], 0
xor edi, edi
push edi
push 0x19
push dword [ebx + 0x248]
call fcn.004030f0
add esp, 0xc
test eax, eax
jne 0x414e4c
cmp edi, 4
jge 0x414e5f
mov ecx, dword [esi + 0xf0]
mov dword [esi + ecx*4 + 0xf4], eax
inc dword [esi + 0xf0]
inc edi
cmp edi, 5
jl 0x414e32
mov dword [esi + 0x108], 0
xor edi, edi
push edi
push 0x1f
push dword [ebx + 0x248]
call fcn.004030f0
add esp, 0xc
cmp eax, 6
ja case.default.0x414e8b
jmp dword [eax*4 + 0x416040]
mov eax, dword [esi + 0x108]
mov dword [esi + eax*4 + 0x10c], 0x4a40e4
jmp 0x414f35
push 0x22
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
test eax, eax
je case.default.0x414e8b
mov eax, dword [esi + 0x108]
mov dword [esi + eax*4 + 0x10c], 0x4a5708
jmp 0x414f35
mov eax, dword [esi + 0x108]
mov dword [esi + eax*4 + 0x10c], 0x4a5700
jmp 0x414f35
mov eax, dword [esi + 0x108]
mov dword [esi + eax*4 + 0x10c], 0x4a1b90
jmp 0x414f35
mov eax, dword [esi + 0x108]
mov dword [esi + eax*4 + 0x10c], 0x4a4010
jmp 0x414f35
mov eax, dword [esi + 0x108]
mov dword [esi + eax*4 + 0x10c], 0x4a5200
jmp 0x414f35
cmp edi, 6
jge case.default.0x414e8b
mov eax, dword [esi + 0x108]
mov dword [esi + eax*4 + 0x10c], 0
inc dword [esi + 0x108]
inc edi
cmp edi, 7
jl 0x414e71
push 0x17
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
mov edx, 0x49dd3c
test eax, eax
mov ecx, 0x4a83a8
lea eax, [esi + 0x14c]
cmove ecx, edx
mov edx, 8
mov dword [esi + 0x128], ecx
mov dword [ebx + 0x164], 1
mov dword [ebx + 0x694], 1
mov dword [ebp - 0x38], eax
nop dword [eax]
mov ecx, 0x10
nop word [eax + eax]
mov dword [eax], 0
add eax, 0xc
sub ecx, 1
jne 0x414fa0
sub edx, 1
jne 0x414f90
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
cmp dword [esi + 0xd4], ecx
jle 0x41502a
lea eax, [esi + 0xd8]
mov dword [ebp - 0x3c], eax
nop word [eax + eax]
mov ebx, dword [eax]
test ebx, ebx
jne 0x414fdf
mov dword [ebp - 0x2c], 1
jmp 0x415015
xor edi, edi
cmp dword [ebx], edi
jle 0x415015
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 4]
mov eax, dword [eax + edi*4]
push dword [eax]
push dword [ebp - 0x38]
call fcn.004182c0
mov ecx, dword [ebx + 4]
add esp, 8
mov ecx, dword [ecx + edi*4]
inc edi
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
cmp edi, dword [ebx]
jl 0x414fe8
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
inc ecx
add eax, 4
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], eax
cmp ecx, dword [esi + 0xd4]
jl 0x414fd0
mov ebx, dword [ebp - 0x34]
cmp dword [esi + 0x134], 0
jne 0x415165
mov edx, dword [esi + 0xf0]
xor eax, eax
mov dword [ebp - 0x3c], eax
lea edi, [eax + 1]
test edx, edx
jle 0x4150e1
lea ecx, [esi + 0xf4]
mov dword [ebp - 0x28], ecx
cmp dword [ecx], 0
cmove eax, edi
xor edi, edi
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x49dcf4]
cmp eax, dword [ecx]
jne 0x4150b6
mov eax, dword [edi + 0x49dcf0]
push dword [eax + 0x34]
push dword [ebx + 0xfc]
push dword [ebx + 0xf8]
call fcn.00445880
add esp, 0xc
test eax, eax
je 0x4150b3
mov eax, dword [edi + 0x49dcf0]
push dword [eax + 0x30]
lea eax, [esi + 0x20c]
push eax
call fcn.004182c0
mov ecx, dword [edi + 0x49dcf0]
add esp, 8
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x28]
add edi, 8
cmp edi, 0x30
jb 0x415061
mov eax, dword [ebp - 0x3c]
add ecx, 4
mov edx, dword [esi + 0xf0]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, edx
mov eax, dword [ebp - 0x2c]
mov edi, 1
mov dword [ebp - 0x28], ecx
jl 0x415056
mov dword [ebp - 0x3c], 0
test edx, edx
jle 0x41518d
lea ecx, [esi + 0xf4]
xor ebx, ebx
mov dword [ebp - 0x2c], ecx
nop dword [eax + eax]
cmp dword [ecx], 0
cmove ebx, edi
xor edi, edi
nop dword [eax + eax]
mov eax, dword [edi + 0x49dcf4]
cmp eax, dword [ecx]
jne 0x415141
mov eax, dword [edi + 0x49dcf0]
push dword [eax + 0x30]
lea eax, [esi + 0x20c]
push eax
call fcn.004182c0
mov ecx, dword [edi + 0x49dcf0]
add esp, 8
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ebx
add edi, 8
cmp edi, 0x30
jb 0x415110
mov eax, dword [ebp - 0x3c]
add ecx, 4
inc eax
mov dword [ebp - 0x2c], ecx
mov edi, 1
mov dword [ebp - 0x3c], eax
cmp eax, dword [esi + 0xf0]
jl 0x415100
jmp 0x41518d
mov eax, dword [ebx + 0x9c]
push dword [eax + 0x30]
lea eax, [esi + 0x20c]
push eax
call fcn.004182c0
mov ecx, dword [ebx + 0x9c]
add esp, 8
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
lea ecx, [esi + 0x2cc]
mov eax, 2
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
nop
xor edx, edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], edx
cmp dword [esi + 0x108], edx
jle 0x415224
lea eax, [esi + 0x10c]
mov dword [ebp - 0x44], eax
nop dword [eax]
mov ebx, dword [eax]
test ebx, ebx
jne 0x4151cf
mov dword [ebp - 0x3c], 1
jmp 0x41520f
xor edi, edi
cmp dword [ebx], edi
jle 0x41520f
mov esi, dword [ebp - 0x3c]
nop dword [eax + eax]
mov eax, dword [ebx + 4]
mov eax, dword [eax + edi*4]
push dword [eax + 0x20]
push ecx
call fcn.004182c0
mov ecx, dword [ebx + 4]
add esp, 8
mov ecx, dword [ecx + edi*4]
inc edi
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 8], esi
cmp edi, dword [ebx]
jl 0x4151e0
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
inc edx
add eax, 4
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x44], eax
cmp edx, dword [esi + 0x108]
jl 0x4151c0
mov eax, dword [ebp - 0x30]
add ecx, 0xc0
sub eax, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
jne 0x4151a0
mov eax, dword [esi + 0x44]
lea edx, [esi + 0x44c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], 2
nop dword [eax]
xor edi, edi
mov ecx, eax
test eax, eax
jle 0x41528d
mov ebx, dword [ebp - 0x28]
nop dword [eax + eax]
mov eax, dword [esi + 0x40]
mov eax, dword [eax + edi*4]
push dword [eax + 0x24]
push ebx
call fcn.004182c0
mov ecx, dword [esi + 0x40]
add esp, 8
mov ecx, dword [ecx + edi*4]
inc edi
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov ecx, dword [esi + 0x44]
cmp edi, ecx
jl 0x415260
mov edx, dword [ebp - 0x28]
xor edi, edi
mov eax, ecx
test ecx, ecx
jle 0x4152d2
mov ebx, dword [ebp - 0x28]
nop dword [eax + eax]
mov eax, dword [esi + 0x40]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4152c7
push eax
push ebx
call fcn.004182c0
mov ecx, dword [esi + 0x40]
add esp, 8
mov ecx, dword [ecx + edi*4]
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
mov eax, dword [esi + 0x44]
inc edi
cmp edi, eax
jl 0x4152a0
mov edx, dword [ebp - 0x28]
add edx, 0xc0
sub dword [ebp - 0x30], 1
mov dword [ebp - 0x28], edx
jne 0x415250
lea ebx, [esi + 0x5cc]
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x28], ebx
mov eax, dword [esi + 0x128]
push dword [eax]
push ebx
call fcn.004182c0
mov ecx, dword [esi + 0x128]
add esp, 8
mov dword [eax + 4], ecx
cmp dword [esi + 0x12c], 0
je 0x415338
mov eax, dword [esi + 0x128]
mov eax, dword [eax + 4]
test eax, eax
je 0x415338
push eax
push ebx
call fcn.004182c0
mov ecx, dword [esi + 0x128]
add esp, 8
mov dword [eax + 4], ecx
xor ebx, ebx
nop word [eax + eax]
mov edi, dword [ebx + 0x49ddac]
push dword [edi]
push dword [ebp - 0x28]
call fcn.004182c0
add esp, 8
mov dword [eax + 4], edi
cmp dword [esi + 0x12c], 0
je 0x415375
mov eax, dword [edi + 4]
test eax, eax
je 0x415375
push eax
push dword [ebp - 0x28]
call fcn.004182c0
add esp, 8
mov dword [eax + 4], edi
add ebx, 4
cmp ebx, 8
jb 0x415340
mov ebx, dword [ebp - 0x28]
add ebx, 0xc0
sub dword [ebp - 0x30], 1
mov dword [ebp - 0x28], ebx
jne 0x4152f5
push 0x14
call fcn.00419ba0
add esp, 4
mov dword [esi + 0x13c], eax
mov edi, 0x10
call fcn.00431980
push eax
push dword [esi + 0x13c]
call fcn.0041ca80
add esp, 8
sub edi, 1
jne 0x4153a8
lea ebx, [edi + 8]
push dword [esi + 0x13c]
call fcn.0041cb50
mov edi, dword [ebp - 0x38]
add esp, 4
mov dword [ebp - 0x30], 0
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x415404
push eax
push dword [esi + 0x13c]
call fcn.00419790
mov eax, dword [ebp - 0x30]
add esp, 8
inc eax
add edi, 0xc
mov dword [ebp - 0x30], eax
cmp eax, 0x10
jl 0x4153e0
add dword [ebp - 0x38], 0xc0
sub ebx, 1
jne 0x4153c4
push dword [esi + 0x13c]
call fcn.0041cb50
push dword [esi + 0x13c]
call fcn.0041cb50
push ebx
push dword [esi + 0x13c]
call fcn.00419730
push ebx
push dword [esi + 0x13c]
call fcn.0041cba0
mov eax, dword [esi + 0x13c]
push 1
mov eax, dword [eax]
add eax, 0xfffffffb
push eax
mov dword [esi + 0x34], eax
call fcn.004060a0
mov ecx, dword [esi + 0x13c]
push dword [esi + 0x34]
mov dword [esi + 0x30], eax
mov ecx, dword [ecx + 0x10]
add ecx, 5
push ecx
push eax
call fcn.00449f40
push dword [esi + 0x13c]
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.00419cc0
mov ecx, dword [ebp - 0x40]
add esp, 0x34
test ecx, ecx
jne 0x413de5
pop edi
mov dword [esi], 0x1a26
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
add dword [ecx + 0x18], 0x10
xor eax, eax
mov dword [esi + 0x144], 0
mov dword [ebp - 0x34], eax
nop
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push ecx
call fcn.0041cd20
add esp, 0xc
cmp dword [ebp - 0x38], 0
je 0x415d37
mov ecx, dword [ebp - 0x34]
cmp ecx, 4
jne 0x415554
mov edx, dword [esi + 0x48]
test edx, edx
je 0x41557a
mov edx, dword [edx + 0x38]
test edx, edx
je 0x41557a
xor eax, eax
mov dword [esi + 0x50], edx
cmp dword [edx + 0x28], eax
setne al
mov dword [esi + 0x58], eax
jmp 0x415728
cmp ecx, 5
jne 0x41557a
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x41557a
mov edx, dword [edx + 0x38]
test edx, edx
je 0x41557a
xor eax, eax
mov dword [esi + 0x54], edx
cmp dword [edx + 0x28], eax
setne al
mov dword [esi + 0x5c], eax
jmp 0x415728
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp edx, 0x10
jge 0x415d14
mov eax, ecx
shl eax, 4
add eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + 0x53]
lea edi, [esi + eax*4]
mov eax, dword [edi]
test eax, eax
je 0x415d14
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push eax
call fcn.004167f0
add esp, 0xc
test eax, eax
jne 0x4155ed
mov ecx, dword [ebp - 0x34]
cmp ecx, 6
je 0x4155c2
cmp ecx, 7
jne 0x4155e7
push dword [ebp - 0x28]
mov eax, dword [edi + 4]
push dword [ebp - 0x38]
push dword [eax + 4]
call fcn.004167f0
mov ecx, dword [ebp - 0x34]
add esp, 0xc
test eax, eax
je 0x4155e7
mov dword [esi + 0x130], 1
mov edx, dword [ebp - 0x2c]
inc edx
jmp 0x41557c
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4155f9
cmp eax, 1
jne 0x41561d
cmp dword [ebp - 0x2c], 0
jne 0x415613
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [edi]
call fcn.00416660
add esp, 0xc
test eax, eax
jne 0x41561d
mov dword [esi + 0x144], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x415638
mov eax, dword [edi + 4]
mov dword [ebx + 0x98], eax
mov eax, dword [edi + 8]
mov dword [esi + 0xc], eax
jmp 0x415728
cmp ecx, 1
jne 0x4156c4
mov eax, dword [edi + 4]
mov dword [ebx + 0x9c], eax
mov eax, dword [edi + 8]
xor edi, edi
mov dword [esi + 0x10], eax
mov dword [ebx + 0x6c8], 0
nop dword [eax]
mov eax, dword [edi*8 + 0x49dcf0]
cmp eax, dword [ebx + 0x9c]
je 0x4156b9
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [eax + 0x30]
call fcn.004167f0
add esp, 0xc
test eax, eax
je 0x4156b9
mov eax, dword [edi*8 + 0x49dcf0]
push dword [eax + 0x34]
push dword [ebx + 0xfc]
push dword [ebx + 0xf8]
call fcn.00445880
add esp, 0xc
test eax, eax
jne 0x4156b9
mov eax, dword [ebx + 0x6c8]
mov dword [ebx + eax*4 + 0x6b0], edi
inc dword [ebx + 0x6c8]
inc edi
cmp edi, 6
jb 0x415660
mov ecx, dword [ebp - 0x34]
jmp 0x415728
cmp ecx, 2
jne 0x4156d7
mov eax, dword [edi + 4]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x14], eax
jmp 0x415728
cmp ecx, 3
jne 0x4156ea
mov eax, dword [edi + 4]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x18], eax
jmp 0x415728
cmp ecx, 4
jne 0x4156fd
mov eax, dword [edi + 4]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x58], eax
jmp 0x415728
cmp ecx, 5
jne 0x415710
mov eax, dword [edi + 4]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x5c], eax
jmp 0x415728
cmp ecx, 6
jne 0x41571d
mov eax, dword [edi + 4]
mov dword [esi + 0x60], eax
jmp 0x415728
cmp ecx, 7
jne 0x415728
mov eax, dword [edi + 4]
mov dword [esi + 0x64], eax
inc ecx
mov dword [ebp - 0x34], ecx
cmp ecx, 8
mov ecx, dword [ebp - 0x40]
jl 0x415510
cmp dword [esi + 0x130], 0
je 0x415754
push str.Server_supports_delayed_compression__will_try_this_later
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
mov edi, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.0041cd20
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.0041cd20
push edi
call fcn.00419b30
add esp, 0x1c
test eax, eax
je 0x415790
cmp dword [esi + 0x144], 0
jne 0x415790
mov eax, 1
jmp 0x415792
xor eax, eax
mov dword [esi + 0x148], eax
mov eax, dword [ebx + 0x98]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
call eax
mov edi, dword [ebx + 4]
mov edx, eax
mov ecx, edi
mov dword [ebx + 0xc], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4157b5
sub ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x98]
push ecx
push edi
push edx
push dword [eax + 0xc]
call fcn.00416760
mov edx, dword [ebx + 8]
add esp, 0x10
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4157e0
mov eax, dword [ebx + 0x98]
sub ecx, edi
push ecx
push edx
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416760
push dword [esi + 0x34]
mov eax, dword [ebx + 0x98]
push dword [esi + 0x30]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416760
push dword [esi + 0x30]
call fcn.00406080
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
inc eax
push eax
mov eax, dword [ecx + 0x14]
dec eax
push eax
mov eax, dword [ebx + 0x98]
push dword [ebx + 0xc]
push dword [eax + 0xc]
call fcn.00416760
add esp, 0x34
lea edi, [esi + 0x140]
cmp dword [esi + 0xc], 0
je 0x415891
push 1
push ebx
call fcn.0041d490
mov eax, dword [ebx + 0x98]
push ebx
push 0x41c550
push dword [eax]
push str.key_exchange_algorithm
push dword [ebx + 0x110]
call fcn.0043d660
add esp, 0x1c
mov dword [edi], eax
test eax, eax
jns 0x413d9e
pop edi
mov dword [esi], 0x1abc
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x10], 0
je 0x4159bb
push 1
push ebx
call fcn.0041d490
xor ecx, ecx
add esp, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], ecx
cmp dword [ebx + 0x6c8], ecx
jle 0x415954
lea eax, [ebx + 0x6b0]
xor esi, esi
mov dword [ebp - 0x44], eax
mov eax, dword [eax]
xor edi, edi
mov dword [ebp - 0x3c], eax
nop dword [eax]
push edi
push 0x19
push dword [ebx + 0x248]
call fcn.004030f0
add esp, 0xc
test eax, eax
je 0x41592f
mov ecx, dword [ebp - 0x3c]
cmp eax, dword [ecx*8 + 0x49dcf4]
je 0x4158f9
inc edi
cmp edi, 5
jl 0x4158d0
jmp 0x41592f
mov eax, dword [ecx*8 + 0x49dcf0]
mov eax, dword [eax + 0x30]
test esi, esi
je 0x415924
push 0
push eax
push 0x49c824
push esi
mov edi, esi
call fcn.00405930
push edi
mov esi, eax
call fcn.00406080
add esp, 0x14
jmp 0x41592f
push eax
call fcn.00405a10
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
inc edx
add eax, 4
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], eax
cmp edx, dword [ebx + 0x6c8]
jl 0x4158c5
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x9c]
lea edi, [esi + 0x140]
mov edx, dword [ebx + 0x110]
push ebx
push 0x41c550
mov eax, dword [eax + 0x30]
test ecx, ecx
je 0x41598a
push ecx
push eax
push edx
call fcn.0043d870
push dword [ebp - 0x28]
mov dword [edi], eax
call fcn.00406080
add esp, 0x18
jmp 0x41599b
push eax
push str.host_key_type
push edx
call fcn.0043d660
add esp, 0x14
mov dword [edi], eax
cmp dword [edi], 0
jge 0x413eb7
pop edi
mov dword [esi], 0x1aff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x30], edi
je 0x413fab
push 1
push ebx
call fcn.0041d490
mov eax, dword [esi + 0x48]
push ebx
push 0x41c550
push dword [eax + 0x20]
push str.client_to_server_cipher
push dword [ebx + 0x110]
call fcn.0043d660
add esp, 0x1c
mov dword [edi], eax
test eax, eax
jns 0x413f98
pop edi
mov dword [esi], 0x1b18
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x148], 0
je 0x413f05
pop edi
mov dword [esi], 0x1b43
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x415a42
mov ecx, dword [ecx + 0x28]
jmp 0x415a44
xor ecx, ecx
cmp eax, ecx
cmovg ecx, eax
mov dword [esi + 4], ecx
mov edx, dword [ebx + 0x98]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x14]
shl eax, 3
cmp ecx, eax
jle 0x415a68
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x98]
push edx
call fcn.00427ce0
add esp, 4
test eax, eax
je 0x415b4d
push str.Doing_Diffie_Hellman_group_exchange
push dword [ebx + 0x110]
call fcn.0043dc60
mov dword [ebx + 0x184], 2
add esp, 8
mov eax, dword [esi + 4]
dec eax
cdq
and edx, 0x3f
lea ecx, [edx + eax]
mov edx, 0x200
sar ecx, 6
shl edx, cl
mov dword [esi + 8], edx
cmp edx, 0x400
jge 0x415abf
mov dword [esi + 8], 0x400
jmp 0x415ace
cmp edx, 0x2000
jle 0x415ace
mov dword [esi + 8], 0x2000
test dword [ebx + 0x50], 0x1000
je 0x415aec
push 0x1e
call fcn.00419ba0
mov ecx, dword [esi + 8]
add esp, 4
mov dword [esi + 0x13c], eax
jmp 0x415b20
push 0x22
call fcn.00419ba0
push 0x400
push eax
mov dword [esi + 0x13c], eax
call fcn.0041cba0
push dword [esi + 8]
push dword [esi + 0x13c]
call fcn.0041cba0
mov eax, dword [esi + 0x13c]
add esp, 0x14
mov ecx, 0x2000
push ecx
push eax
call fcn.0041cba0
push dword [esi + 0x13c]
push ebx
call fcn.00419cc0
add esp, 0x10
pop edi
mov dword [esi], 0x1b73
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x98]
mov dword [ebx + 0x184], 1
call fcn.00427d40
mov dword [ebx + 0xe8], eax
mov dword [esi + 0x38], 0x1e
mov dword [esi + 0x3c], 0x1f
mov eax, dword [ebx + 0x98]
push dword [eax + 4]
push str.Using_Diffie_Hellman_with_standard_group___s_
push ebx
call fcn.00416850
add esp, 0x10
mov eax, dword [ebx + 0x98]
mov eax, dword [eax + 0xc]
push dword [eax + 0x18]
push str.Doing_Diffie_Hellman_key_exchange_with_hash__s
push ebx
call fcn.00416850
push 2
push dword [ebx + 0x110]
call fcn.0043dcd0
mov eax, dword [esi + 4]
add eax, eax
push eax
push dword [ebx + 0xe8]
call fcn.00427b50
push dword [esi + 0x38]
mov dword [esi + 0x24], eax
call fcn.00419ba0
push dword [esi + 0x24]
mov dword [esi + 0x13c], eax
push eax
call fcn.00419750
push dword [esi + 0x13c]
push ebx
call fcn.00419cc0
push 1
push dword [ebx + 0x110]
call fcn.0043dcd0
add esp, 0x38
pop edi
mov dword [esi], 0x1b96
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x18]
push eax
cmp edx, 2
jne 0x415ce5
push ecx
call fcn.0042c9e0
add esp, 4
push eax
push str.Doing_ECDH_key_exchange_with_curve__s_and_hash__s
push ebx
call fcn.00416850
push dword [ebx + 0x98]
mov dword [ebx + 0x184], 3
call fcn.0042cba0
add esp, 0x14
mov dword [esi + 0x90], eax
test eax, eax
jne 0x415c60
push str.Unable_to_generate_key_for_ECDH
jmp 0x413df4
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.0042cad0
mov edi, eax
add esp, 8
test edi, edi
jne 0x415c97
push dword [esi + 0x90]
call fcn.0042ca00
push str.Unable_to_encode_public_key_for_ECDH
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
jmp 0x413e03
push 0x1e
call fcn.00419ba0
push eax
mov dword [esi + 0x13c], eax
call fcn.0041cb50
push dword [ebp - 0x30]
push edi
push dword [esi + 0x13c]
call fcn.0041caf0
push edi
call fcn.00406080
push dword [esi + 0x13c]
push ebx
call fcn.00419cc0
add esp, 0x20
pop edi
mov dword [esi], 0x1bec
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
push str.Doing_RSA_key_exchange_with_hash__s
push ebx
call fcn.00416850
add esp, 0xc
mov dword [ebx + 0x184], 4
pop edi
mov dword [esi], 0x1c2a
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x38]
push dword [ebp - 0x28]
push dword [ebp + ecx*4 - 0x24]
push str.Couldnt_agree_a__s__available:__.s_
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x18
jmp 0x413e03
push str.KEXINIT_packet_was_incomplete
jmp 0x413df4
test ecx, ecx
je 0x415d4f
push str.Unexpected_data_from_server_while_waiting_for_user_host_key_response
jmp 0x413df4
cmp dword [ebp + 0x10], 0
jle 0x415d6c
pop edi
mov dword [esi], 0x1ced
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x25c]
mov dword [esi + 0x140], eax
push 0
push ebx
call fcn.0041d490
add esp, 8
cmp dword [esi + 0x140], 0
jne 0x415da5
push 1
push 0
push 0
push str.Aborted_at_host_key_verification
push ebx
call fcn.0041c5a0
add esp, 0x14
jmp 0x413e03
push dword [esi + 0x78]
call fcn.00406080
add esp, 4
mov eax, dword [esi + 0x74]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x9c]
push dword [esi + 0x88]
mov eax, dword [eax + 4]
call eax
add esp, 4
cmp dword [esi + 0x134], 0
jne 0x415e2a
movups xmm0, xmmword [esi + 0x94]
mov eax, dword [ebx + 0x98]
movups xmmword [ebx + 0xa4], xmm0
movups xmm0, xmmword [esi + 0xa4]
movups xmmword [ebx + 0xb4], xmm0
movups xmm0, xmmword [esi + 0xb4]
movups xmmword [ebx + 0xc4], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [ebx + 0xd4], xmm0
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0xe4], eax
mov dword [esi + 0x134], 1
push 0x15
call fcn.00419ba0
push eax
push ebx
mov dword [esi + 0x13c], eax
call fcn.00419cc0
mov ecx, dword [ebx + 0x68]
add esp, 0xc
mov dword [ebx + 0x688], 0
test ecx, ecx
je 0x415e5e
mov eax, dword [ebx + 0x60]
push ecx
mov eax, dword [eax + 4]
call eax
add esp, 4
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x60], eax
test eax, eax
je 0x415e6f
mov eax, dword [eax]
call eax
mov dword [ebx + 0x68], eax
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x415e85
mov eax, dword [ebx + 0x70]
push ecx
mov eax, dword [eax + 4]
call eax
add esp, 4
mov ecx, dword [esi + 0x50]
mov dword [ebx + 0x70], ecx
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x78], eax
test ecx, ecx
je 0x415ea5
push dword [ebx + 0x68]
mov eax, dword [ecx]
call eax
add esp, 4
mov dword [ebx + 0x80], eax
mov ecx, dword [ebx + 0x90]
test ecx, ecx
je 0x415ebe
mov eax, dword [ebx + 0x88]
push ecx
mov eax, dword [eax + 0xc]
call eax
add esp, 4
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x88], eax
mov eax, dword [eax + 8]
call eax
mov dword [ebx + 0x90], eax
lea ecx, [esi + 0x94]
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x415f52
push dword [eax + 0x2c]
push 0x43
push ecx
push dword [esi + 0x2c]
push ebx
call fcn.004186d0
mov ecx, dword [ebx + 0x60]
mov edi, eax
push edi
push dword [ebx + 0x68]
mov ecx, dword [ecx + 0xc]
call ecx
mov ecx, dword [ebx + 0x60]
push dword [ecx + 0x2c]
push edi
call fcn.0043fb70
push edi
call fcn.00406080
mov eax, dword [ebx + 0x60]
push dword [eax + 0x24]
lea eax, [esi + 0x94]
push 0x41
push eax
push dword [esi + 0x2c]
push ebx
call fcn.004186d0
mov ecx, dword [ebx + 0x60]
mov edi, eax
push edi
push dword [ebx + 0x68]
mov ecx, dword [ecx + 8]
call ecx
mov ecx, dword [ebx + 0x60]
add esp, 0x44
push dword [ecx + 0x24]
push edi
call fcn.0043fb70
push edi
call fcn.00406080
add esp, 0xc
lea ecx, [esi + 0x94]
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x415f8e
push dword [eax + 0x30]
push 0x45
push ecx
push dword [esi + 0x2c]
push ebx
call fcn.004186d0
mov ecx, dword [ebx + 0x70]
mov edi, eax
push edi
push dword [ebx + 0x80]
mov ecx, dword [ecx + 8]
call ecx
mov ecx, dword [ebx + 0x70]
push dword [ecx + 0x30]
push edi
call fcn.0043fb70
push edi
call fcn.00406080
add esp, 0x28
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x415fa6
push dword [eax + 0x34]
push str.Initialised__.200s_client__server_encryption
push ebx
call fcn.00416850
add esp, 0xc
mov edx, dword [ebx + 0x70]
test edx, edx
je 0x415fe0
mov eax, dword [ebx + 0x60]
mov edi, 0x49b3f7
mov ecx, str.__required_by_cipher_
cmp dword [eax + 0x38], 0
mov eax, str.__in_ETM_mode_
cmove ecx, edi
cmp dword [ebx + 0x78], 0
push ecx
cmove eax, edi
push eax
push dword [edx + 0x34]
push str.Initialised__.200s_client__server_MAC_algorithm_s_s
push ebx
call fcn.00416850
add esp, 0x14
mov eax, dword [ebx + 0x88]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x415ffc
push eax
push str.Initialised__s_compression
push ebx
call fcn.00416850
add esp, 0xc
push ebx
mov dword [ebx + 0x164], 0
call fcn.00419c40
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi], 0x1d7e
xor ecx, ebp
pop esi
pop ebx
call fcn.00448c15
mov esp, ebp
pop ebp
ret