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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x485840]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
cmp dword [ebx + 0x1c8], 0
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd4], edi
jne 0x40be7b
push 0x100
push 1
call fcn.00406150
mov ecx, dword [ebp - 0xe0]
add esp, 8
mov dword [ebx + 0x1c8], eax
mov dword [eax], 0
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0xe0], esi
mov eax, dword [esi]
cmp eax, 0x11fb
jg 0x40cc68
je 0x40cbb2
cmp eax, 0x1112
jg 0x40c711
je 0x40c65b
cmp eax, 0x1079
jg 0x40c470
je 0x40c272
test eax, eax
je 0x40bf02
cmp eax, 0x1016
jne case.0x40cc90.4624
test edi, edi
je 0x40bf06
cmp dword [edi + 8], 2
je 0x40bf1f
push str.Public_key_packet_not_received
call fcn.00405b50
push eax
push ebx
call fcn.0040b3d0
add esp, 0xc
pop edi
mov dword [esi], 0
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x40becf
pop edi
mov dword [esi], 0x1016
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
push str.Received_public_keys
push dword [ebx + 0x110]
call fcn.00440dc0
push 8
push edi
call fcn.00419b80
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x40bf47
push str.SSH_1_public_key_packet_stopped_before_random_cookie
jmp 0x40beda
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xc], eax
lea eax, [esi + 0xc]
mov dword [ebp - 8], ecx
lea ecx, [esi + 0xb8]
push eax
push ecx
push edi
call fcn.00414100
add esp, 0xc
test eax, eax
je 0x40c268
lea ecx, [esi + 0x10]
push ecx
lea eax, [esi + 0xdc]
push eax
push edi
call fcn.00414100
add esp, 0xc
test eax, eax
je 0x40c268
push str.Host_key_fingerprint_is:
push dword [ebx + 0x110]
call fcn.00440dc0
mov eax, dword [0x46eb68]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
lea edx, [ecx + 1]
mov ax, word [0x46eb6c]
add esp, 8
mov word [ebp - 0x58], ax
mov al, byte [0x46eb6e]
mov byte [ebp - 0x56], al
mov dword [esi + 0xfc], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bfc7
lea eax, [esi + 0xdc]
sub ecx, edx
push eax
mov eax, 0x50
sub eax, ecx
push eax
lea eax, [ebp - 0x5c]
add eax, ecx
push eax
call fcn.0042e4d0
lea eax, [ebp - 0x5c]
push eax
push dword [ebx + 0x110]
call fcn.00440dc0
push edi
call fcn.00419c30
push edi
mov dword [ebx + 0x40], eax
call fcn.00419c30
push edi
mov dword [esi + 0x14], eax
call fcn.00419c30
add esp, 0x20
mov dword [esi + 0x18], eax
test byte [ebx + 0x50], 8
je 0x40c023
and eax, 0xfffffffb
mov dword [esi + 0x18], eax
lea eax, [ebp - 0xcc]
mov dword [ebx + 0x44], 1
push eax
call fcn.00429930
push dword [esi + 0xe0]
lea eax, [ebp - 0xcc]
push dword [esi + 0x10]
push eax
call fcn.004299c0
push dword [esi + 0xbc]
lea eax, [ebp - 0xcc]
push dword [esi + 0xc]
push eax
call fcn.004299c0
push 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004299c0
lea ecx, [ebp - 0xcc]
lea eax, [esi + 0x2c]
push ecx
push eax
mov dword [ebp - 0xd0], eax
call fcn.00429800
lea eax, [ebx + 0x1c]
add esp, 0x30
xor edi, edi
mov dword [ebp - 0xd4], eax
mov ebx, eax
call fcn.0042d1b0
mov byte [ebx + edi], al
inc edi
cmp edi, 0x20
jl 0x40c098
mov edx, dword [esi + 0xe0]
mov ebx, dword [ebp - 0xe8]
lea eax, [edx*8]
cmp dword [esi + 0xdc], eax
jg 0x40c25e
mov ecx, dword [esi + 0xbc]
lea eax, [ecx*8]
cmp dword [esi + 0xb8], eax
jg 0x40c25e
cmp edx, ecx
lea edi, [esi + 8]
push 1
cmovg ecx, edx
push ecx
mov dword [esi + 4], ecx
call fcn.00406150
mov dword [edi], eax
lea eax, [esi + 0xdc]
push eax
call fcn.0042eca0
push 1
push eax
call fcn.00406150
lea ecx, [esi + 0xdc]
mov dword [ebp - 0xdc], eax
push ecx
push eax
call fcn.0042eb90
lea eax, [esi + 0xdc]
push eax
lea eax, [ebp - 0x70]
push 0x64
push eax
call fcn.0042e4d0
push 0
push 0
lea eax, [ebp - 0x70]
push eax
push ebx
call fcn.0041b0b0
add esp, 0x38
mov dword [esi + 0xb0], eax
test eax, eax
jne 0x40c16b
push str.Host_key_did_not_appear_in_manually_configured_list
call fcn.00405b50
push eax
push ebx
call fcn.0040b3d0
push dword [ebp - 0xdc]
call fcn.00406130
add esp, 0x10
jmp 0x40bee9
jns 0x40c1db
push 1
push ebx
call fcn.0041a330
push ebx
push 0x419420
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0xdc]
push 0x46c76c
push dword [ebx + 0xfc]
push dword [ebx + 0xf8]
push dword [ebx + 0x110]
call fcn.00440f80
push dword [ebp - 0xdc]
mov dword [esi + 0xb0], eax
call fcn.00406130
add esp, 0x2c
cmp dword [esi + 0xb0], 0
jge 0x40c2ae
pop edi
mov dword [esi], 0x1079
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xdc]
call fcn.00406130
add esp, 4
mov ebx, dword [ebp - 0xd4]
xor edx, edx
mov esi, dword [ebp - 0xd0]
mov ecx, dword [edi]
mov al, byte [ebx + edx]
mov byte [edx + ecx], al
cmp edx, 0x10
jae 0x40c20c
mov ecx, dword [edi]
mov al, byte [esi + edx]
xor byte [ecx + edx], al
inc edx
cmp edx, 0x20
jl 0x40c1f7
mov esi, dword [ebp - 0xe0]
mov ebx, dword [ebp - 0xe8]
mov eax, dword [esi + 0xe0]
mov ecx, dword [esi + 8]
cmp eax, dword [esi + 0xbc]
jle 0x40c2f1
lea eax, [esi + 0xb8]
push eax
push 0x20
push ecx
call fcn.0042eac0
add esp, 0xc
test eax, eax
je 0x40c466
mov eax, dword [esi + 0xbc]
lea ecx, [esi + 0xdc]
jmp 0x40c317
push str.SSH_1_public_keys_were_badly_formatted
jmp 0x40beda
push str.Failed_to_read_SSH_1_public_keys_from_public_key_packet
jmp 0x40beda
test edi, edi
je 0x40c280
push str.Unexpected_data_from_server_while_waiting_for_user_host_key_response
jmp 0x40beda
cmp dword [ebp + 0x10], 0
jle 0x40c29f
pop edi
mov dword [esi], 0x1079
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x25c]
lea edi, [esi + 8]
mov dword [esi + 0xb0], eax
push 0
push ebx
call fcn.0041a330
lea eax, [ebx + 0x1c]
add esp, 8
cmp dword [esi + 0xb0], 0
mov dword [ebp - 0xd4], eax
lea eax, [esi + 0x2c]
mov dword [ebp - 0xd0], eax
jne 0x40c1e9
push 1
push 0
push 0
push str.User_aborted_at_host_key_verification
push ebx
call fcn.00419470
add esp, 0x14
jmp 0x40bee9
lea eax, [esi + 0xdc]
push eax
push 0x20
push ecx
call fcn.0042eac0
add esp, 0xc
test eax, eax
je 0x40c466
mov eax, dword [esi + 0xe0]
lea ecx, [esi + 0xb8]
mov edx, esi
mov edi, 8
push ecx
push eax
push dword [edi + edx]
call fcn.0042eac0
add esp, 0xc
test eax, eax
je 0x40c466
push str.Encrypted_session_key
push dword [ebx + 0x110]
call fcn.00440dc0
xor eax, eax
add esp, 8
mov dword [ebp - 0xe0], eax
xor edi, edi
mov dword [ebp - 0xdc], eax
cmp edi, 7
jge 0x40c44f
push edi
push 0x1f
push dword [ebx + 0x248]
call fcn.004014a0
add esp, 0xc
test eax, eax
jne 0x40c381
mov dword [ebp - 0xe0], 1
inc edi
jmp 0x40c356
cmp eax, 3
jne 0x40c39c
push str.AES_not_supported_in_SSH_1__skipping
push dword [ebx + 0x110]
call fcn.00440dc0
add esp, 8
inc edi
jmp 0x40c356
sub eax, 1
je 0x40c3d1
sub eax, 1
je 0x40c3be
sub eax, 2
jne 0x40c3e2
mov dword [esi + 0x3c], 2
mov dword [ebp - 0xdc], str.single_DES
jmp 0x40c3e2
mov dword [esi + 0x3c], 6
mov dword [ebp - 0xdc], str.Blowfish
jmp 0x40c3e2
mov dword [esi + 0x3c], 3
mov dword [ebp - 0xdc], str.3DES
mov ecx, dword [esi + 0x3c]
mov eax, 1
shl eax, cl
test dword [esi + 0x14], eax
jne 0x40c3f7
inc edi
jmp 0x40c356
cmp dword [ebp - 0xe0], 0
je 0x40c4e1
push 1
push ebx
call fcn.0041a330
mov eax, dword [ebp - 0xdc]
push ebx
push 0x419420
push eax
push str.cipher
push dword [ebx + 0x110]
call fcn.00440c90
add esp, 0x1c
mov dword [esi + 0xb0], eax
test eax, eax
jns 0x40c4b4
pop edi
mov dword [esi], 0x10cf
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
test byte [esi + 0x14], 8
mov eax, str.No_supported_ciphers_found
mov ecx, str.Server_violates_SSH_1_protocol_by_not_supporting_3DES_encryption
cmove eax, ecx
push eax
jmp 0x40beda
push str.SSH_1_public_key_encryptions_failed_due_to_bad_formatting
jmp 0x40beda
cmp eax, 0x10cf
jne case.0x40cc90.4624
test edi, edi
je 0x40c489
push str.Unexpected_data_from_server_while_waiting_for_user_response
jmp 0x40beda
cmp dword [ebp + 0x10], 0
jle 0x40c4a8
pop edi
mov dword [esi], 0x10cf
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x25c]
mov dword [esi + 0xb0], eax
push 0
push ebx
call fcn.0041a330
add esp, 8
cmp dword [esi + 0xb0], 0
jne 0x40c4e1
push 1
push 0
push 0
push str.User_aborted_at_cipher_warning
push ebx
call fcn.00419470
add esp, 0x14
jmp 0x40bee9
mov eax, dword [esi + 0x3c]
sub eax, 2
je 0x40c501
sub eax, 1
je 0x40c4fa
sub eax, 3
jne 0x40c514
push str.Using_Blowfish_encryption
jmp 0x40c506
push str.Using_3DES_encryption
jmp 0x40c506
push str.Using_single_DES_encryption
push dword [ebx + 0x110]
call fcn.00440dc0
add esp, 8
mov eax, dword [esi + 4]
push 0
push dword [ebx + 0x44]
push 1
push eax
push dword [esi + 8]
lea ecx, [eax*8]
push 3
movzx eax, cl
push eax
push 2
sar ecx, 8
lea eax, [ebp - 0xc]
push ecx
push 2
push 8
push eax
push 3
push dword [esi + 0x3c]
push 2
push 3
push ebx
call fcn.00413a70
push str.Trying_to_enable_encryption...
push dword [ebx + 0x110]
call fcn.00440dc0
add esp, 0x4c
push dword [esi + 8]
call fcn.00406130
mov ecx, dword [esi + 0x3c]
add esp, 4
cmp ecx, 6
jne 0x40c579
mov eax, 0x473638
jmp 0x40c589
cmp ecx, 2
mov eax, 0x474c54
mov edx, 0x474c38
cmovne eax, edx
mov dword [ebx + 0x54], eax
mov eax, dword [eax]
call eax
mov edx, eax
lea ecx, [ebx + 0x1c]
mov eax, dword [ebx + 0x54]
push ecx
mov dword [ebx + 0x58], edx
push edx
mov eax, dword [eax + 8]
call eax
mov eax, dword [ebx + 0x54]
push dword [eax + 0x18]
push str.Initialised__s_encryption
push ebx
call fcn.00413680
call fcn.00422100
push str.Installing_CRC_compensation_attack_detector
push dword [ebx + 0x110]
mov dword [ebx + 0x5c], eax
call fcn.00440dc0
mov eax, dword [esi + 0xc0]
add esp, 0x1c
test eax, eax
je 0x40c5eb
push eax
call fcn.00406130
add esp, 4
mov dword [esi + 0xc0], 0
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x40c608
push eax
call fcn.00406130
add esp, 4
mov dword [esi + 0xc4], 0
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x40c625
push eax
call fcn.00406130
add esp, 4
mov dword [esi + 0xe4], 0
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x40c65f
push eax
call fcn.00406130
add esp, 4
mov dword [esi + 0xe8], 0
mov dword [esi], 0x1112
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x40c678
pop edi
mov dword [esi], 0x1112
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
cmp dword [edi + 8], 0xe
je 0x40c688
push str.Encryption_not_successfully_enabled
jmp 0x40beda
push str.Successfully_started_encryption
push dword [ebx + 0x110]
call fcn.00440dc0
push 1
call fcn.00454273
push eax
call fcn.004545ea
push dword [ebx + 0x248]
call fcn.00409f50
add esp, 0x14
mov dword [ebx + 0x250], eax
test eax, eax
jne 0x40c7b3
push dword [ebx + 0x110]
call fcn.00405f80
mov dword [esi + 0x54], eax
push str.SSH_login_name
mov dword [eax], 1
call fcn.00405b70
mov ecx, dword [esi + 0x54]
add esp, 8
push 1
push str.login_as:
mov dword [ecx + 4], eax
call fcn.00405b70
add esp, 4
push eax
push dword [esi + 0x54]
call fcn.00405600
push 0
push 0
push dword [esi + 0x54]
call fcn.00442d10
add esp, 0x18
jmp 0x40c748
sub eax, 0x1126
cmp eax, 0xae
ja case.0x40cc90.4624
movzx eax, byte [eax + 0x40dc20]
jmp dword [eax*4 + 0x40dc0c]
test edi, edi
jne 0x40c756
push dword [ebp + 0x10]
push ecx
push dword [esi + 0x54]
call fcn.00442d10
add esp, 0xc
mov dword [ebx + 0x100], edi
test eax, eax
jns 0x40c76f
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x1126
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x54]
test eax, eax
jne 0x40c795
push ecx
call fcn.00405d40
push 1
push 0
push 0
push str.No_username_provided
push ebx
call fcn.00419470
add esp, 0x18
jmp 0x40bee9
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00405b70
mov dword [ebx + 0x250], eax
push dword [esi + 0x54]
call fcn.00405d40
add esp, 8
push 0
push dword [ebx + 0x250]
push 4
push 4
push ebx
call fcn.00413a70
push dword [ebx + 0x250]
push str.Sent_username___s_
call fcn.00405b50
mov edi, eax
push edi
push dword [ebx + 0x110]
call fcn.00440dc0
mov ecx, dword [0x489be0]
add esp, 0x24
test cl, 4
je 0x40c80e
and ecx, 3
cmp cl, 3
je 0x40c80e
push edi
push ebx
call fcn.0040b4a0
push 0x469958
push ebx
call fcn.0040b4a0
add esp, 0x10
push edi
call fcn.00406130
add esp, 4
mov dword [esi], 0x1143
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x40c84d
pop edi
mov dword [esi], 0x1143
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x18]
shr eax, 2
not eax
and eax, 1
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
push 0x20
push dword [ebx + 0x248]
call fcn.00401470
push eax
mov dword [esi + 0xb4], eax
call fcn.00445d00
add esp, 0xc
test eax, eax
jne 0x40c9d7
push dword [esi + 0xb4]
call fcn.00445d20
push eax
push str.Reading_key_file___.150s_
push ebx
call fcn.00413680
push dword [esi + 0xb4]
call fcn.0042a8a0
add esp, 0x14
mov dword [ebp - 0xd0], eax
cmp eax, 2
je 0x40c924
cmp eax, 8
je 0x40c924
push eax
call fcn.0042ac60
push eax
push str.Unable_to_use_this_key_file___s_
push ebx
call fcn.00413680
mov ecx, dword [ebp - 0xd0]
push ecx
call fcn.0042ac60
add esp, 0x14
push eax
push dword [esi + 0xb4]
call fcn.00445d20
add esp, 4
push eax
push str.Unable_to_use_key_file___.150s____s__r_n
call fcn.00405b50
mov edi, eax
push edi
push ebx
call fcn.0040b4a0
push edi
call fcn.00406130
mov edi, dword [ebp - 0xd4]
add esp, 0x18
mov dword [esi + 0x40], 0
jmp 0x40d1a1
lea eax, [ebp - 0xd8]
push eax
lea eax, [esi + 0x48]
push eax
lea eax, [esi + 0x44]
push eax
lea ecx, [esi + 0x40]
push ecx
push dword [esi + 0xb4]
call fcn.0042ba70
add esp, 0x14
test eax, eax
je 0x40c980
xor eax, eax
cmp dword [ebp - 0xd0], 2
sete al
mov dword [esi + 0x4c], eax
je 0x40c968
push str.Key_file_contains_public_key_only
push ebx
call fcn.00413680
add esp, 8
push 0
push dword [esi + 0xb4]
call fcn.0042b9c0
add esp, 8
mov dword [esi + 0x50], eax
jmp 0x40d1a1
push dword [ebp - 0xd8]
push str.Unable_to_load_key___s_
push ebx
call fcn.00413680
add esp, 0xc
push dword [ebp - 0xd8]
push dword [esi + 0xb4]
call fcn.00445d20
add esp, 4
push eax
push str.Unable_to_load_key_file___.150s____s__r_n
call fcn.00405b50
mov edi, eax
push edi
push ebx
call fcn.0040b4a0
push edi
call fcn.00406130
mov edi, dword [ebp - 0xd4]
add esp, 0x18
mov dword [esi + 0x40], 0
jmp 0x40d1a1
mov dword [esi + 0x40], 0
jmp 0x40d1a1
test edi, edi
je 0x40c9f1
push str.Unexpected_data_from_server_while_waiting_for_agent_response
jmp 0x40beda
cmp dword [ebp + 0x10], 0
jg 0x40d233
mov edx, dword [ebx + 0x254]
lea edi, [esi + 0x70]
mov eax, dword [ebx + 0x258]
mov dword [ebp - 0xd8], edx
mov dword [edi], eax
jmp 0x40d252
test edi, edi
je 0x40d469
cmp dword [edi + 8], 7
mov eax, dword [ebx + 0x110]
je 0x40ca44
push str.Key_refused
push eax
call fcn.00440dc0
add esp, 8
inc dword [esi + 0x74]
mov eax, dword [esi + 0x74]
jmp 0x40d2d8
push str.Received_RSA_challenge
push eax
call fcn.00440dc0
push edi
call fcn.004140c0
add esp, 0xc
mov dword [esi + 0xa4], eax
test eax, eax
jne 0x40ca6c
push str.Servers_RSA_challenge_was_badly_formatted
jmp 0x40beda
push dword [esi + 0x8c]
call fcn.00420de0
push dword [esi + 0x88]
mov ebx, eax
call fcn.00420de0
push dword [esi + 0xa4]
add ebx, eax
call fcn.00420de0
add eax, 0x19
add ebx, eax
push 1
lea eax, [ebx + 4]
push eax
call fcn.00406150
mov ecx, ebx
mov byte [eax + 4], 3
sar ecx, 0x18
mov dword [ebp - 0xd4], eax
mov byte [eax], cl
lea edi, [eax + 4]
mov ecx, ebx
mov byte [eax + 3], bl
sar ecx, 0x10
mov byte [eax + 1], cl
mov ecx, ebx
sar ecx, 8
mov byte [eax + 2], cl
push dword [esi + 0x88]
call fcn.0041f040
sar eax, 0x18
mov byte [edi + 1], al
push dword [esi + 0x88]
call fcn.0041f040
sar eax, 0x10
mov byte [edi + 2], al
push dword [esi + 0x88]
call fcn.0041f040
sar eax, 8
mov byte [edi + 3], al
push dword [esi + 0x88]
call fcn.0041f040
mov byte [edi + 4], al
add edi, 5
push dword [esi + 0x8c]
push edi
call fcn.00420e60
push dword [esi + 0x88]
add edi, eax
push edi
call fcn.00420e60
push dword [esi + 0xa4]
add edi, eax
push edi
call fcn.00420e60
push dword [ebp - 0xe8]
movups xmm0, xmmword [esi + 0x2c]
add edi, eax
lea eax, [ebp - 0xe4]
push 0x4182f0
push eax
lea eax, [ebp - 0xd0]
push eax
movups xmmword [edi], xmm0
lea eax, [ebx + 4]
mov dword [edi + 0x10], 0x1000000
mov edi, dword [ebp - 0xd4]
push eax
push edi
call fcn.00448330
mov ebx, dword [ebp - 0xe8]
add esp, 0x54
mov dword [ebx + 0x6d0], eax
push edi
test eax, eax
je 0x40cba2
call fcn.00406130
add esp, 4
mov dword [esi], 0x11fb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
call fcn.00406130
mov edi, dword [ebp - 0xd0]
add esp, 4
jmp 0x40cbf0
test edi, edi
jne 0x40c9e7
cmp dword [ebp + 0x10], edi
jle 0x40cbd8
pop edi
mov dword [esi], 0x11fb
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x254]
mov eax, dword [ebx + 0x258]
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xe4], eax
test edi, edi
je 0x40cc58
cmp byte [edi + 4], 4
mov eax, dword [ebx + 0x110]
jne 0x40cc3f
push str.Sending_Pageants_response
push eax
call fcn.00440dc0
push 0
push 0x10
lea eax, [edi + 5]
push eax
push 3
push 8
push ebx
call fcn.00413a70
push edi
call fcn.00406130
add esp, 0x24
mov dword [esi], 0x120f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
push str.Pageant_failed_to_answer_challenge
push eax
call fcn.00440dc0
push edi
call fcn.00406130
add esp, 0xc
jmp 0x40cd19
push str.No_reply_received_from_Pageant
push dword [ebx + 0x110]
jmp 0x40cd11
cmp eax, 0x12cf
jg 0x40d0cf
je 0x40cef2
sub eax, 0x120f
cmp eax, 0xa5
ja case.0x40cc90.4624
movzx eax, byte [eax + 0x40dce4]
jmp dword [eax*4 + 0x40dcd0]
test edi, edi
jne 0x40ccb4
pop edi
mov dword [esi], 0x120f
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
cmp dword [edi + 8], 0xe
mov eax, dword [ebx + 0x110]
jne 0x40cd0b
push str.Pageants_response_accepted
push eax
call fcn.00440dc0
add esp, 8
test byte [0x489be0], 1
je 0x40cd02
push str.Authenticated_using_RSA_key__
push ebx
call fcn.0040b4a0
push dword [esi + 0xac]
push dword [esi + 0xa8]
push ebx
call fcn.0040b410
push str.__from_agent_r_n
push ebx
call fcn.0040b4a0
add esp, 0x1c
mov dword [esi + 0x7c], 1
jmp 0x40cd19
push str.Pageants_response_not_accepted
push eax
call fcn.00440dc0
add esp, 8
push dword [esi + 0x8c]
call fcn.0041f7e0
push dword [esi + 0x88]
call fcn.0041f7e0
push dword [esi + 0xa4]
call fcn.0041f7e0
add esp, 0xc
cmp dword [esi + 0x7c], 0
jne 0x40d495
inc dword [esi + 0x74]
mov eax, dword [esi + 0x74]
jmp 0x40d2d8
test edi, edi
jne 0x40d777
push dword [ebp + 0x10]
push ecx
push dword [esi + 0x54]
call fcn.00442d10
add esp, 0xc
mov dword [ebx + 0x100], edi
jmp 0x40d5b2
test edi, edi
je 0x40d7a5
mov eax, dword [edi + 8]
cmp eax, 0xf
jne 0x40cd97
push str.Server_refused_our_public_key._r_n
push ebx
call fcn.0040b4a0
add esp, 8
jmp 0x40d1a1
cmp eax, 7
je 0x40cda6
push str.Bizarre_response_to_offer_of_public_key
jmp 0x40beda
push edi
call fcn.004140c0
mov ecx, eax
add esp, 4
mov dword [ebp - 0xd8], ecx
test ecx, ecx
je 0x40ca62
lea eax, [esi + 0x80]
push eax
push ecx
call fcn.0042eab0
push dword [esi + 0x90]
mov dword [ebp - 0xd0], eax
call fcn.0041f7e0
mov esi, dword [ebp - 0xd0]
add esp, 0xc
xor ebx, ebx
mov edi, 0x1f
nop dword [eax]
push edi
push esi
call fcn.0041f0f0
dec edi
mov byte [ebp + ebx - 0x2c], al
add esp, 8
lea ebx, [ebx + 1]
cmp edi, 0xffffffff
jg 0x40cdf0
lea eax, [ebp - 0xcc]
push eax
call fcn.00429930
push 0x20
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004299c0
mov esi, dword [ebp - 0xe0]
push 0x10
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004299c0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00429800
mov ebx, dword [ebp - 0xe8]
lea eax, [ebp - 0x2c]
push 0
push 0x10
push eax
push 3
push 8
push ebx
call fcn.00413a70
push dword [ebp - 0xd8]
call fcn.0041f7e0
add esp, 0x40
push dword [ebp - 0xd0]
call fcn.0041f7e0
add esp, 4
mov dword [esi], 0x12b4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x40ceb7
pop edi
mov dword [esi], 0x12b4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
cmp eax, 0xf
jne 0x40cedf
test byte [0x489be0], 1
je 0x40d1a1
push str.Failed_to_authenticate_with_our_public_key._r_n
push ebx
call fcn.0040b4a0
add esp, 8
jmp 0x40d1a1
cmp eax, 0xe
je 0x40d7be
push str.Bizarre_response_to_RSA_authentication_response
jmp 0x40beda
test edi, edi
je 0x40d735
cmp dword [edi + 8], 0x28
je 0x40cf36
push str.TIS_authentication_declined
push dword [ebx + 0x110]
call fcn.00440dc0
add esp, 8
test byte [0x489be0], 4
je 0x40cf2a
push str.TIS_authentication_refused._r_n
push ebx
call fcn.0040b4a0
add esp, 8
mov dword [esi + 0x24], 1
jmp 0x40d1a1
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push eax
push edi
call fcn.00419bb0
add esp, 0xc
cmp dword [ebp - 0xdc], 0
jne 0x40cf60
push str.TIS_challenge_packet_was_badly_formed
jmp 0x40beda
lea eax, [ebx + 0x110]
push str.Received_TIS_challenge
push dword [eax]
mov dword [ebp - 0xd4], eax
call fcn.00440dc0
mov eax, dword [esi + 0x54]
lea edi, [esi + 0x54]
push str.SSH_TIS_authentication
mov dword [ebp - 0xe4], edi
mov dword [eax], 1
call fcn.00405b70
push dword [ebp - 0xd8]
mov ecx, dword [edi]
push 0xa
push dword [ebp - 0xdc]
mov dword [ecx + 4], eax
call fcn.0044d1d0
add esp, 0x18
test eax, eax
je 0x40cfdc
push 0x46942e
call fcn.00405b70
push dword [ebp - 0xdc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd8]
push eax
push str._.s
call fcn.00405b50
jmp 0x40d003
push dword [ebp - 0xdc]
mov eax, dword [ebp - 0xd8]
push eax
push str._.s
call fcn.00405b50
push str.Response:
mov dword [ebp - 0xd0], eax
call fcn.00405b70
mov ecx, dword [ebp - 0xd0]
add esp, 0x10
mov dword [ebp - 0xd8], eax
mov edx, 0x46942e
mov eax, 0x46f468
cmp byte [ecx], 0
push ecx
cmove eax, edx
push eax
push str.Using_TIS_authentication._s_s
call fcn.00405b50
mov ecx, dword [edi]
push 0
push dword [ebp - 0xd8]
mov dword [ecx + 0xc], eax
mov eax, dword [edi]
mov dword [eax + 0x10], 1
push dword [edi]
call fcn.00405600
push dword [ebp - 0xd0]
call fcn.00406130
add esp, 0x1c
push 0x25
push dword [ebx + 0x248]
call fcn.00401470
add esp, 8
test eax, eax
je 0x40d923
test dword [esi + 0x18], 0x10000
mov eax, dword [ebp - 0xe4]
mov edi, eax
je 0x40d923
cmp dword [esi + 0x28], 0
jne 0x40d923
mov eax, dword [ebp - 0xd4]
mov dword [esi + 0x5c], 0x48
push str.Requested_CryptoCard_authentication
push dword [eax]
call fcn.00440dc0
push 0
push 0x46
push ebx
call fcn.00413a70
add esp, 0x14
pop edi
mov dword [esi], 0x12fa
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
sub eax, 0x12fa
je 0x40d16a
sub eax, 0x3b
je 0x40d145
sub eax, 0x8d
jne case.0x40cc90.4624
test edi, edi
je 0x40dbf1
mov eax, dword [edi + 8]
cmp eax, 0xf
jne 0x40d126
test byte [0x489be0], 1
je 0x40d111
push str.Access_denied_r_n
push ebx
call fcn.0040b4a0
add esp, 8
push str.Authentication_refused
push dword [ebx + 0x110]
call fcn.00440dc0
add esp, 8
jmp 0x40d1a1
cmp eax, 0xe
je 0x40d1a1
push eax
push str.Strange_packet_received__type__d
call fcn.00405b50
push eax
push ebx
call fcn.0040b3d0
add esp, 0x10
jmp 0x40bee9
test edi, edi
jne 0x40d995
push dword [ebp + 0x10]
lea edi, [esi + 0x54]
push ecx
push dword [edi]
call fcn.00442d10
mov dword [ebx + 0x100], 0
jmp 0x40d984
test edi, edi
je 0x40d0b6
cmp dword [edi + 8], 0x47
je 0x40d805
push str.CryptoCard_authentication_declined
push dword [ebx + 0x110]
call fcn.00440dc0
push str.CryptoCard_authentication_refused._r_n
push ebx
call fcn.0040b4a0
add esp, 0x10
mov dword [esi + 0x28], 1
cmp dword [edi + 8], 0xf
jne 0x40d7be
mov dword [esi + 0x5c], 9
push 0x1c
push dword [ebx + 0x248]
call fcn.00401470
add esp, 8
test eax, eax
je 0x40d4d0
call fcn.00448310
test eax, eax
je 0x40d4d0
cmp dword [esi + 0x20], 0
jne 0x40d4d0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x20], 1
push str.Pageant_is_running._Requesting_keys.
push dword [ebx + 0x110]
call fcn.00440dc0
push ebx
push 0x4182f0
lea edi, [esi + 0x70]
mov byte [esi + 0x60], 0
push edi
lea ecx, [ebp - 0xd8]
mov dword [esi + 0x61], 0x1010000
push ecx
lea eax, [esi + 0x60]
push 5
push eax
call fcn.00448330
add esp, 0x20
mov dword [ebx + 0x6d0], eax
test eax, eax
je 0x40d24c
pop edi
mov dword [esi], 0x118e
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xd8]
mov dword [esi + 0x68], edx
test edx, edx
je 0x40d4b3
cmp dword [edi], 5
jl 0x40d4b3
cmp byte [edx + 4], 2
jne 0x40d4b3
add edx, 5
mov dword [esi + 0x6c], edx
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
push ecx
call fcn.004062f0
add esp, 4
mov dword [esi + 0x78], eax
test eax, eax
jns 0x40d2bc
push eax
push str.Pageant_reported_negative_key_count__d
push ebx
call fcn.00413680
add esp, 0xc
mov dword [esi + 0x78], 0
xor eax, eax
add dword [esi + 0x6c], 4
push eax
push str.Pageant_has__d_SSH_1_keys
push ebx
call fcn.00413680
add esp, 0xc
mov dword [esi + 0x74], 0
xor eax, eax
cmp eax, dword [esi + 0x78]
jge 0x40d495
mov edi, dword [esi + 0x6c]
lea eax, [esi + 0x8c]
push eax
mov eax, dword [esi + 0x70]
lea ecx, [edi + 4]
sub eax, ecx
mov dword [esi + 0x6c], ecx
add eax, dword [esi + 0x68]
push eax
call fcn.004062f0
add esp, 4
push eax
push dword [esi + 0x6c]
call fcn.00420e00
add esp, 0xc
test eax, eax
js 0x40d482
add dword [esi + 0x6c], eax
lea eax, [esi + 0x88]
push eax
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 0x6c]
add eax, dword [esi + 0x68]
push eax
call fcn.004062f0
add esp, 4
push eax
push dword [esi + 0x6c]
call fcn.00420e00
add esp, 0xc
test eax, eax
js 0x40d482
mov edx, dword [esi + 0x6c]
add edx, eax
mov eax, dword [esi + 0x70]
sub eax, edx
mov dword [esi + 0x6c], edx
add eax, dword [esi + 0x68]
cmp eax, 4
jl 0x40d482
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
push ecx
call fcn.004062f0
mov ecx, dword [esi + 0x6c]
add esp, 4
add ecx, 4
mov dword [esi + 0xac], eax
mov dword [esi + 0x6c], ecx
test eax, eax
js 0x40d482
mov dword [ebp - 0xd0], eax
mov eax, dword [esi + 0x70]
sub eax, ecx
add eax, dword [esi + 0x68]
push eax
call fcn.004062f0
mov ecx, dword [ebp - 0xd0]
add esp, 4
cmp eax, ecx
jl 0x40d482
mov eax, dword [esi + 0x6c]
mov dword [esi + 0xa8], eax
add eax, ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x6c], eax
test ecx, ecx
je 0x40d446
mov edx, dword [esi + 0x44]
sub edx, 4
jb 0x40d3f1
nop
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x40d3f6
add edi, 4
add ecx, 4
sub edx, 4
jae 0x40d3e0
cmp edx, 0xfffffffc
je 0x40d42e
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x40d423
cmp edx, 0xfffffffd
je 0x40d42e
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x40d423
cmp edx, 0xfffffffe
je 0x40d42e
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x40d423
cmp edx, 0xffffffff
je 0x40d42e
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
je 0x40d42e
inc dword [esi + 0x74]
mov eax, dword [esi + 0x74]
jmp 0x40d2d8
push dword [esi + 0x74]
push str.Pageant_key__d_matches_configured_key_file
push ebx
call fcn.00413680
add esp, 0xc
mov dword [esi + 0x1c], 1
push dword [esi + 0x74]
push str.Trying_Pageant_key__d
push ebx
call fcn.00413680
push 0
push dword [esi + 0x88]
push 5
push 6
push ebx
call fcn.00413a70
add esp, 0x20
pop edi
mov dword [esi], 0x11d4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
push str.Pageant_key_list_packet_was_truncated
push dword [ebx + 0x110]
call fcn.00440dc0
add esp, 8
push dword [esi + 0x68]
call fcn.00406130
add esp, 4
cmp dword [esi + 0x40], 0
je 0x40d4c6
cmp dword [esi + 0x1c], 0
jne 0x40d4c6
push str.Configured_key_file_not_in_Pageant
jmp 0x40d4b8
push str.Failed_to_get_reply_from_Pageant
push dword [ebx + 0x110]
call fcn.00440dc0
add esp, 8
cmp dword [esi + 0x7c], 0
jne 0x40d7be
cmp dword [esi + 0x40], 0
je 0x40d6a2
cmp dword [esi + 0x4c], 0
je 0x40d6a2
cmp dword [esi + 0x1c], 0
jne 0x40d6a2
test byte [0x489be0], 1
je 0x40d505
push str.Trying_public_key_authentication._r_n
push ebx
call fcn.0040b4a0
add esp, 8
push 0x20
push dword [ebx + 0x248]
call fcn.00401470
push eax
mov dword [esi + 0xb4], eax
call fcn.00445d20
push eax
push str.Trying_public_key___s_
push ebx
call fcn.00413680
add esp, 0x18
mov dword [esi + 0x1c], 1
xor eax, eax
test eax, eax
jne 0x40d790
cmp dword [esi + 0x50], eax
jne 0x40d561
test byte [0x489be0], 1
je 0x40d55a
push str.No_passphrase_required._r_n
push ebx
call fcn.0040b4a0
add esp, 8
xor edi, edi
jmp 0x40d5dd
push dword [ebx + 0x110]
call fcn.00405f80
mov dword [esi + 0x54], eax
push str.SSH_key_passphrase
mov dword [eax], 0
call fcn.00405b70
mov ecx, dword [esi + 0x54]
add esp, 8
push 0
mov dword [ecx + 4], eax
push dword [esi + 0x48]
push str.Passphrase_for_key___.100s_:
call fcn.00405b50
add esp, 8
push eax
push dword [esi + 0x54]
call fcn.00405600
push 0
push 0
push dword [esi + 0x54]
call fcn.00442d10
add esp, 0x18
test eax, eax
js 0x40d76d
mov ecx, dword [esi + 0x54]
je 0x40d74e
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00405b70
push dword [esi + 0x54]
mov edi, eax
call fcn.00405d40
add esp, 8
push 0x20
push dword [ebx + 0x248]
call fcn.00401470
lea ecx, [ebp - 0xd8]
mov dword [esi + 0xb4], eax
push ecx
push edi
lea ecx, [esi + 0x80]
push ecx
push eax
call fcn.0042ad00
add esp, 0x18
mov dword [ebp - 0xd0], eax
test edi, edi
je 0x40d636
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d617
sub ecx, edx
push ecx
push edi
call fcn.00445f50
push edi
call fcn.00406130
mov eax, dword [ebp - 0xd0]
add esp, 0xc
cmp eax, 1
jne 0x40d640
jmp 0x40d536
test eax, eax
je 0x40d660
cmp eax, 0xffffffff
jne 0x40d534
push str.Wrong_passphrase._r_n
push ebx
call fcn.0040b4a0
add esp, 8
jmp 0x40d534
push str.Couldnt_load_private_key_from
push ebx
call fcn.0040b4a0
push dword [esi + 0xb4]
call fcn.00445d20
push eax
push ebx
call fcn.0040b4a0
push 0x46f2dc
push ebx
call fcn.0040b4a0
push dword [ebp - 0xd8]
push ebx
call fcn.0040b4a0
push str._._r_n
push ebx
call fcn.0040b4a0
add esp, 0x2c
push dword [ebx + 0x110]
lea edi, [ebx + 0x110]
call fcn.00405f80
mov dword [esi + 0x54], eax
push 0x25
push dword [ebx + 0x248]
mov dword [ebp - 0xd4], edi
lea edi, [esi + 0x54]
mov dword [ebp - 0xe4], edi
call fcn.00401470
add esp, 0xc
test eax, eax
je 0x40d059
test byte [esi + 0x18], 0x20
lea eax, [ebx + 0x110]
lea edi, [esi + 0x54]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe4], edi
je 0x40d059
cmp dword [esi + 0x24], 0
lea edi, [esi + 0x54]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe4], edi
jne 0x40d059
mov dword [esi + 0x5c], 0x29
push str.Requested_TIS_authentication
push dword [eax]
call fcn.00440dc0
push 0
push 0x27
push ebx
call fcn.00413a70
add esp, 0x14
pop edi
mov dword [esi], 0x12cf
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00405d40
push 1
push 0
push str.Unable_to_authenticate
push 0
push ebx
call fcn.00419470
add esp, 0x18
jmp 0x40bee9
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x1259
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
push 0
push dword [esi + 0x88]
push 5
push 6
push ebx
call fcn.00413a70
add esp, 0x14
pop edi
mov dword [esi], 0x128e
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x40]
test eax, eax
je 0x40d7d6
push eax
call fcn.00406130
push dword [esi + 0x48]
call fcn.00406130
add esp, 8
push str.Authentication_successful
push dword [ebx + 0x110]
call fcn.00440dc0
add esp, 8
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xd4]
push eax
push edi
call fcn.00419bb0
add esp, 0xc
cmp dword [ebp - 0xd4], 0
jne 0x40d82f
push str.CryptoCard_challenge_packet_was_badly_formed
jmp 0x40beda
push str.Received_CryptoCard_challenge
push dword [ebx + 0x110]
call fcn.00440dc0
mov eax, dword [esi + 0x54]
lea edi, [esi + 0x54]
push str.SSH_CryptoCard_authentication
mov dword [eax], 1
call fcn.00405b70
mov ecx, dword [edi]
push dword [ebp - 0xd0]
push 0xa
push dword [ebp - 0xd4]
mov dword [ecx + 4], eax
mov eax, dword [edi]
mov dword [eax + 8], 0
call fcn.0044d1d0
add esp, 0x18
test eax, eax
je 0x40d8a6
push 0x46942e
call fcn.00405b70
push dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd0]
push eax
push str._.s
call fcn.00405b50
jmp 0x40d8cd
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd0]
push eax
push str._.s
call fcn.00405b50
push str.Response:
mov dword [ebp - 0xd8], eax
call fcn.00405b70
mov ecx, dword [ebp - 0xd8]
add esp, 0x10
mov dword [ebp - 0xd0], eax
mov edx, 0x46942e
mov eax, 0x46f468
cmp byte [ecx], 0
push ecx
cmove eax, edx
push eax
push str.Using_CryptoCard_authentication._s_s
call fcn.00405b50
mov ecx, dword [edi]
push 0
push dword [ebp - 0xd0]
mov dword [ecx + 0xc], eax
mov eax, dword [edi]
mov dword [eax + 0x10], 1
push dword [edi]
call fcn.00405600
push dword [ebp - 0xd8]
call fcn.00406130
add esp, 0x1c
cmp dword [esi + 0x5c], 9
jne 0x40d979
test byte [esi + 0x18], 8
jne 0x40d939
push str.No_supported_authentication_methods_available
jmp 0x40beda
mov eax, dword [edi]
push str.SSH_password
mov dword [eax], 1
call fcn.00405b70
mov ecx, dword [edi]
add esp, 4
push 0
mov dword [ecx + 4], eax
push dword [ebx + 0xf8]
push dword [ebx + 0x250]
push str._s__ss_password:
call fcn.00405b50
add esp, 0xc
push eax
push dword [edi]
call fcn.00405600
add esp, 0xc
push 0
push 0
push dword [edi]
call fcn.00442d10
add esp, 0xc
test eax, eax
jns 0x40d9ae
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x1335
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c55f
mov esp, ebp
pop ebp
ret
jne 0x40d9b7
push dword [edi]
jmp 0x40d74f
mov eax, dword [edi]
mov ecx, dword [esi + 0x5c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
cmp ecx, 9
jne 0x40dbc5
mov ecx, dword [ebx + 0x50]
test cl, 5
jne 0x40daf6
mov ecx, dword [eax + 8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d9e0
sub ecx, edx
mov dword [ebp - 0xe4], ecx
cmp ecx, 0x10
jge 0x40d9fb
mov eax, 0xf
jmp 0x40da03
mov eax, ecx
and eax, 0xfffffff8
add eax, 7
mov dword [ebp - 0xd0], eax
inc eax
push 1
push eax
call fcn.00406150
mov edx, dword [ebp - 0xe4]
add esp, 8
cmp edx, 0x10
mov ecx, edx
mov edi, eax
cmovge ecx, edx
mov dword [ebp - 0xd8], edi
and ecx, 0xfffffff8
xor eax, eax
cmp edx, 0x10
cmovge eax, ecx
mov dword [ebp - 0xd4], eax
cmp eax, dword [ebp - 0xd0]
jg 0x40dad2
cmp eax, edx
jne 0x40da5c
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x5c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x40daa4
xor edi, edi
test eax, eax
jle 0x40da93
mov ebx, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xd8]
nop
call fcn.0042d1b0
mov byte [edi + esi], al
test al, al
je 0x40da70
inc edi
cmp edi, ebx
jl 0x40da70
mov esi, dword [ebp - 0xe0]
mov ebx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xd8]
mov ecx, 0x20
mov byte [eax + edi], 0
mov eax, edi
push 0
push eax
push 4
push ecx
push ebx
call fcn.0040b780
mov eax, dword [ebp - 0xd4]
add esp, 0x14
mov edx, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xd4], eax
cmp eax, dword [ebp - 0xd0]
jle 0x40da48
push str.Sending_password_with_camouflage_packets
push dword [ebx + 0x110]
call fcn.00440dc0
push ebx
call fcn.00419a70
push edi
call fcn.00406130
add esp, 0x10
jmp 0x40dbd6
test cl, 4
mov ecx, dword [eax + 8]
jne 0x40db77
mov edi, ecx
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x40db07
sub edi, edx
cmp edi, 0x40
jae 0x40db45
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xe0], eax
mov edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x40db20
inc edi
cmp edi, 0x40
jae 0x40db4b
call fcn.0042d1b0
mov byte [ebp + edi - 0x4c], al
inc edi
cmp edi, 0x40
jb 0x40db34
jmp 0x40db4b
mov dword [ebp - 0xe0], ecx
push str.Sending_length_padded_password
push dword [ebx + 0x110]
call fcn.00440dc0
push 0
push edi
push dword [ebp - 0xe0]
push 3
push edi
push 1
push dword [esi + 0x5c]
push ebx
call fcn.00413a70
add esp, 0x28
jmp 0x40dbd6
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40db80
push str.Sending_unpadded_password
push dword [ebx + 0x110]
sub ecx, edx
mov dword [ebp - 0xe0], ecx
call fcn.00440dc0
mov eax, dword [edi]
mov ecx, dword [ebp - 0xe0]
push 0
push ecx
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
push 3
push ecx
push 1
push dword [esi + 0x5c]
push ebx
call fcn.00413a70
add esp, 0x28
jmp 0x40dbd6
push 0
push dword [eax + 8]
push 4
push ecx
push ebx
call fcn.00413a70
add esp, 0x14
push str.Sent_password
push dword [ebx + 0x110]
call fcn.00440dc0
push dword [esi + 0x54]
call fcn.00405d40
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
mov dword [esi], 0x13c2
xor ecx, ebp
pop esi
pop ebx
call fcn.0044c55f
mov esp, ebp
pop ebp
ret