Function at 0x410fc0
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx + 0x1d0]
test esi, esi
jne 0x410ff3
push 0xe8
push 1
call fcn.004060a0
mov dword [ebx + 0x1d0], eax
add esp, 8
mov dword [eax], esi
mov esi, dword [ebx + 0x1d0]
mov eax, dword [esi]
cmp eax, 0x27fb
jg 0x41247c
je 0x41217a
cmp eax, 0x2594
jg 0x411738
je 0x41172f
cmp eax, 0x246e
jg 0x4113f0
je 0x4111b9
test eax, eax
je 0x41108d
cmp eax, 0x2463
jne case.0x4124a4.10304
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4111ac
cmp dword [eax + 8], 6
jne 0x41104f
mov dword [esi + 8], 1
cmp dword [esi + 8], 0
jne 0x4111de
push 5
call fcn.00419ba0
push str.ssh_connection
push eax
mov dword [esi + 0xb8], eax
call fcn.0041cad0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
add esp, 0x14
mov dword [esi], 0x246e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x288], 0x4188b0
mov dword [ebx + 0x338], 0x4188b0
mov dword [ebx + 0x33c], 0x4188b0
mov dword [ebx + 0x340], 0x4188b0
mov dword [ebx + 0x344], 0x4188b0
mov dword [ebx + 0x360], 0x4188b0
mov dword [ebx + 0x364], 0x4188b0
mov dword [ebx + 0x3b0], 0x4188b0
mov dword [ebx + 0x3b4], 0x4188b0
mov dword [ebx + 0x3b8], 0x4188b0
mov dword [ebx + 0x3d8], 0x4188b0
mov dword [ebx + 0x3dc], 0x4188b0
mov dword [ebx + 0x3e0], 0x4188b0
mov dword [ebx + 0x3e4], 0x4188b0
mov dword [ebx + 0x3e8], 0x4188b0
mov dword [ebx + 0x3ec], 0x4188b0
mov dword [ebx + 0x3f0], 0x4188b0
mov dword [ebx + 0x3f4], 0x4188b0
mov dword [esi + 8], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x2c], 0
cmp dword [ebx + 0xec], 0
jne 0x4111d7
push 0x23
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
test eax, eax
jne 0x41104f
push 5
call fcn.00419ba0
push str.ssh_userauth
push eax
mov dword [esi + 0xb8], eax
call fcn.0041cad0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
add esp, 0x14
pop edi
mov dword [esi], 0x2463
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x4111cd
pop edi
mov dword [esi], 0x246e
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 8], 6
jne 0x4113cf
mov dword [esi + 0x34], 1
lea eax, [ebx + 0x178]
push eax
call fcn.004056d0
mov dword [ebx + 0x344], 0x4196c0
add esp, 4
cmp dword [esi + 0x34], 0
mov dword [esi + 0x50], 0
jne 0x411718
push 0x20
push dword [ebx + 0x248]
call fcn.00403060
push eax
mov dword [esi + 0xbc], eax
call fcn.0043f750
add esp, 0xc
test eax, eax
jne 0x411346
push dword [esi + 0xbc]
call fcn.0043f7b0
push eax
push str.Reading_key_file___.150s_
push ebx
call fcn.00416850
push dword [esi + 0xbc]
call fcn.0042e310
mov edi, eax
add esp, 0x14
cmp edi, 3
je 0x4112b2
cmp edi, 9
je 0x4112b2
cmp edi, 0xa
je 0x4112b2
push edi
call fcn.0042e6e0
push eax
push str.Unable_to_use_this_key_file___s_
push ebx
call fcn.00416850
push edi
call fcn.0042e6e0
add esp, 0x14
push eax
push dword [esi + 0xbc]
call fcn.0043f7b0
add esp, 4
push eax
push str.Unable_to_use_key_file___.150s____s__r_n
call fcn.004059f0
mov edi, eax
push edi
push ebx
call fcn.0040e7b0
push edi
call fcn.00406080
mov dword [esi + 0x50], 0
jmp 0x411343
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0x64]
push eax
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x60]
push eax
push dword [esi + 0xbc]
call fcn.00431030
add esp, 0x14
mov dword [esi + 0x50], eax
test eax, eax
je 0x411307
xor eax, eax
cmp edi, 3
sete al
mov dword [esi + 0x58], eax
je 0x4112f2
push str.Key_file_contains_public_key_only
push ebx
call fcn.00416850
add esp, 8
push 0
push dword [esi + 0xbc]
call fcn.00430df0
add esp, 8
mov dword [esi + 0x5c], eax
jmp 0x411346
push dword [ebp - 0xc]
push str.Unable_to_load_key___s_
push ebx
call fcn.00416850
add esp, 0xc
push dword [ebp - 0xc]
push dword [esi + 0xbc]
call fcn.0043f7b0
add esp, 4
push eax
push str.Unable_to_load_key_file___.150s____s__r_n
call fcn.004059f0
mov edi, eax
push edi
push ebx
call fcn.0040e7b0
push edi
call fcn.00406080
add esp, 0x18
mov dword [esi + 0x84], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x7c], 0
push 0x1c
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
test eax, eax
je 0x411718
call fcn.00442c20
test eax, eax
je 0x411718
push str.Pageant_is_running._Requesting_keys.
push dword [ebx + 0x110]
call fcn.0043dc60
push ebx
push 0x41b420
lea edi, [esi + 0x78]
mov byte [esi + 0x68], 0
push edi
lea ecx, [ebp - 0xc]
mov dword [esi + 0x69], 0xb010000
push ecx
lea eax, [esi + 0x68]
push 5
push eax
call fcn.00442c40
add esp, 0x20
mov dword [ebx + 0x6d0], eax
test eax, eax
jne 0x41143b
mov edi, dword [ebp - 0xc]
lea ecx, [esi + 0x78]
jmp 0x41145c
push str.Server_refused_service_request
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0xc
pop edi
mov dword [esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x24cd
je 0x411428
cmp eax, 0x2555
jne case.0x4124a4.10304
cmp dword [ebp + 0x14], 0
jne 0x412e9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x3c]
call fcn.00443960
add esp, 0xc
mov dword [ebx + 0x100], 0
jmp 0x412d41
cmp dword [ebp + 0x14], 0
je 0x411435
push str.Unexpected_data_from_server_while_waiting_for_agent_response
jmp 0x4113d4
cmp dword [ebp + 0x10], 0
jle 0x411448
pop edi
mov dword [esi], 0x24cd
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x254]
lea ecx, [esi + 0x78]
mov eax, dword [ebx + 0x258]
mov dword [ebp - 0xc], edi
mov dword [ecx], eax
mov dword [esi + 0x70], edi
test edi, edi
je 0x411705
cmp dword [ecx], 5
jl 0x411705
cmp byte [edi + 4], 0xc
jne 0x411705
movzx ecx, byte [edi + 5]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 8]
shl ecx, 8
or ecx, eax
push ecx
call fcn.00406440
mov ecx, eax
add esp, 4
mov dword [esi + 0x84], ecx
test ecx, ecx
jns 0x4114cc
push ecx
push str.Pageant_response_contained_a_negative_key_count__d
push ebx
call fcn.00416850
add esp, 0xc
mov dword [esi + 0x84], 0
jmp 0x411718
lea eax, [edi + 9]
mov dword [ebp - 0x10], 0
mov edi, dword [esi + 0x78]
mov edx, eax
sub edi, 9
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
test ecx, ecx
jle 0x4115a6
nop dword [eax]
cmp edi, 4
jl 0x4116ae
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.00406440
add esp, 4
mov dword [ebp - 0x14], eax
sub edi, 4
test eax, eax
js 0x4116ae
cmp eax, edi
jg 0x4116ae
mov edx, dword [ebp - 4]
add edx, 4
add edx, eax
mov dword [ebp - 4], edx
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.00406440
mov ecx, 0xfffffffc
mov edx, eax
sub ecx, dword [ebp - 0x14]
add esp, 4
add edi, ecx
test edx, edx
js 0x4116ae
cmp edx, edi
jg 0x4116ae
mov eax, dword [ebp - 4]
sub edi, edx
mov ecx, dword [esi + 0x84]
add eax, 4
add edx, eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x4114f0
push ecx
push str.Pageant_has__d_SSH_2_keys
push ebx
call fcn.00416850
add esp, 0xc
cmp dword [esi + 0x50], 0
je 0x411718
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x84], edi
jle 0x4116e3
mov edx, dword [ebp - 8]
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.00406440
mov edi, dword [esi + 0x54]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [esi + 0x94], eax
cmp eax, edi
jne 0x411663
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0x50]
add ecx, 4
sub edi, 4
jb 0x411629
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x411632
add ecx, 4
add edx, 4
sub edi, 4
jae 0x411618
cmp edi, 0xfffffffc
je 0x4116c5
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x411663
cmp edi, 0xfffffffd
je 0x4116c5
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x411663
cmp edi, 0xfffffffe
je 0x4116c5
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x411663
cmp edi, 0xffffffff
je 0x4116c5
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4116c5
mov edi, dword [ebp - 8]
add edi, dword [ebp - 0x14]
movzx ecx, byte [edi + 4]
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 7]
shl ecx, 8
or ecx, eax
push ecx
call fcn.00406440
lea edx, [edi + 8]
add esp, 4
add edx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x84]
jl 0x4115d3
jmp 0x4116e3
push str.Pageant_response_was_truncated
push ebx
call fcn.00416850
mov dword [esi + 0x84], 0
jmp 0x411715
mov edi, dword [ebp - 4]
push edi
push str.Pageant_key__d_matches_configured_key_file
push ebx
call fcn.00416850
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], eax
cmp dword [esi + 0x7c], 0
jne 0x411718
push str.Configured_key_file_not_in_Pageant
push dword [ebx + 0x110]
call fcn.0043dc60
mov dword [esi + 0x84], 0
jmp 0x411715
push str.Failed_to_get_reply_from_Pageant
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
xor eax, eax
mov dword [esi + 0x4c], 0
cmp dword [esi + 0x34], eax
jne 0x413627
jmp 0x412cbb
cmp dword [ebp + 0x14], 0
jmp 0x412b8d
cmp eax, 0x26d3
jg 0x411c3e
je 0x411bd3
sub eax, 0x2644
je 0x411787
sub eax, 0x46
jne case.0x4124a4.10304
cmp dword [ebp + 0x14], eax
jne 0x41142e
cmp dword [ebp + 0x10], eax
jg 0x411acb
mov ecx, dword [ebx + 0x254]
lea edi, [esi + 0xa4]
mov eax, dword [ebx + 0x258]
mov dword [ebp - 0x10], ecx
mov dword [edi], eax
jmp 0x411adb
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x413184
cmp dword [eax + 8], 0x3c
je 0x4117bc
mov dword [esi + 0xc], 1
cmp dword [esi + 0x7c], 0
je 0x411baf
mov dword [esi + 0x24], 1
mov dword [esi + 0x20], 1
jmp 0x412b7b
test byte [0x4bd480], 1
je 0x4117f0
push str.Authenticating_with_public_key__
push ebx
call fcn.0040e7b0
push dword [esi + 0x9c]
push dword [esi + 0x90]
push ebx
call fcn.0040e720
push str.__from_agent_r_n
push ebx
call fcn.0040e7b0
add esp, 0x1c
push 0x32
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push dword [ebx + 0x250]
push eax
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.publickey
push dword [esi + 0xb8]
call fcn.0041cad0
push 1
push dword [esi + 0xb8]
call fcn.00419730
push dword [esi + 0xb8]
call fcn.0041cb50
push dword [esi + 0x98]
push dword [esi + 0x8c]
push dword [esi + 0xb8]
call fcn.0041caf0
push dword [esi + 0xb8]
call fcn.0041cb50
push dword [esi + 0x94]
push dword [esi + 0x88]
push dword [esi + 0xb8]
call fcn.0041caf0
mov eax, dword [esi + 0xb8]
add esp, 0x44
mov ecx, dword [eax]
mov eax, dword [ebx + 0xe4]
dec eax
add ecx, eax
mov dword [esi + 0xa0], ecx
test byte [ebx + 0x50], 0x80
je 0x4118a3
add ecx, 0xfffffffc
mov dword [esi + 0xa0], ecx
mov eax, dword [esi + 0x94]
add ecx, 0xd
add eax, ecx
mov dword [esi + 0xa8], eax
add eax, 4
push 1
push eax
call fcn.004060a0
mov cl, byte [esi + 0xab]
mov dword [esi + 0xb0], eax
mov byte [eax], cl
mov ecx, dword [esi + 0xb0]
movzx eax, byte [esi + 0xaa]
mov byte [ecx + 1], al
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xa8]
sar ecx, 8
mov byte [eax + 2], cl
mov ecx, dword [esi + 0xb0]
movzx eax, byte [esi + 0xa8]
mov byte [ecx + 3], al
mov eax, dword [esi + 0xb0]
add eax, 4
mov dword [esi + 0xac], eax
mov byte [eax], 0xd
inc dword [esi + 0xac]
mov ecx, dword [esi + 0xac]
movzx eax, byte [esi + 0x97]
mov byte [ecx], al
mov ecx, dword [esi + 0xac]
movzx eax, byte [esi + 0x96]
mov byte [ecx + 1], al
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x94]
sar ecx, 8
mov byte [eax + 2], cl
mov ecx, dword [esi + 0xac]
movzx eax, byte [esi + 0x94]
mov byte [ecx + 3], al
push dword [esi + 0x94]
add dword [esi + 0xac], 4
push dword [esi + 0x88]
push dword [esi + 0xac]
call fcn.00449f40
mov eax, dword [esi + 0x94]
add esp, 0x14
add dword [esi + 0xac], eax
mov ecx, dword [esi + 0xac]
movzx eax, byte [esi + 0xa3]
mov byte [ecx], al
mov ecx, dword [esi + 0xac]
movzx eax, byte [esi + 0xa2]
mov byte [ecx + 1], al
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0xa0]
sar ecx, 8
mov byte [eax + 2], cl
mov ecx, dword [esi + 0xac]
movzx eax, byte [esi + 0xa0]
mov byte [ecx + 3], al
mov ecx, dword [esi + 0xac]
add ecx, 4
mov dword [esi + 0xac], ecx
test byte [ebx + 0x50], 0x80
jne 0x411a23
movzx eax, byte [ebx + 0xe7]
mov byte [ecx], al
mov ecx, dword [esi + 0xac]
movzx eax, byte [ebx + 0xe6]
mov byte [ecx + 1], al
mov eax, dword [esi + 0xac]
mov ecx, dword [ebx + 0xe4]
sar ecx, 8
mov byte [eax + 2], cl
mov ecx, dword [esi + 0xac]
movzx eax, byte [ebx + 0xe4]
mov byte [ecx + 3], al
add dword [esi + 0xac], 4
mov ecx, dword [esi + 0xac]
push dword [ebx + 0xe4]
lea eax, [ebx + 0xa4]
push eax
push ecx
call fcn.00449f40
mov ecx, dword [esi + 0xb8]
mov eax, dword [ebx + 0xe4]
add dword [esi + 0xac], eax
mov eax, dword [ecx]
sub eax, 5
push eax
mov eax, dword [ecx + 0x10]
add eax, 5
push eax
push dword [esi + 0xac]
call fcn.00449f40
mov eax, dword [esi + 0xb8]
lea edi, [esi + 0xa4]
push ebx
push 0x41b420
push edi
mov eax, dword [eax]
sub eax, 5
add dword [esi + 0xac], eax
mov eax, dword [esi + 0xac]
mov byte [eax], 0
mov eax, dword [esi + 0xac]
mov byte [eax + 1], 0
mov eax, dword [esi + 0xac]
mov byte [eax + 2], 0
mov eax, dword [esi + 0xac]
mov byte [eax + 3], 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0xa8]
add eax, 4
push eax
push dword [esi + 0xb0]
call fcn.00442c40
add esp, 0x30
mov dword [ebx + 0x6d0], eax
test eax, eax
je 0x411ad8
pop edi
mov dword [esi], 0x268a
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
push dword [esi + 0xb0]
mov dword [esi + 0xb4], ecx
call fcn.00406080
mov edx, dword [esi + 0xb4]
add esp, 4
test edx, edx
je 0x41179f
mov edi, dword [edi]
cmp edi, 9
jl 0x411ba5
cmp byte [edx + 4], 0xe
jne 0x411ba5
movzx ecx, byte [edx + 5]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
lea eax, [edi - 9]
cmp ecx, eax
ja 0x411ba5
push str.Sending_Pageants_response
push dword [ebx + 0x110]
call fcn.0043dc60
mov edx, dword [esi + 0xb4]
movzx ecx, byte [edx + 5]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
lea eax, [edx + 9]
push ecx
push eax
push dword [esi + 0x94]
push dword [esi + 0x88]
push dword [esi + 0xb8]
push ebx
call fcn.00417bf0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
add esp, 0x28
mov dword [esi + 4], 1
jmp 0x41179f
push str.Pageant_failed_to_answer_challenge
jmp 0x4113d4
inc dword [esi + 0x80]
mov eax, dword [esi + 0x80]
cmp eax, dword [esi + 0x84]
jl 0x412b7b
mov dword [esi + 0x24], 1
jmp 0x412b7b
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x413252
cmp dword [edi + 8], 0x3c
je 0x411bf7
mov dword [esi + 0xc], 1
mov dword [esi + 4], 2
jmp 0x412b7b
push str.Offer_of_public_key_accepted
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
test byte [0x4bd480], 1
je 0x411efc
push str.Authenticating_with_public_key__
push ebx
call fcn.0040e7b0
push dword [esi + 0x64]
push ebx
call fcn.0040e7b0
push 0x4a147c
push ebx
call fcn.0040e7b0
add esp, 0x18
jmp 0x411efc
cmp eax, 0x26f7
je 0x411e33
cmp eax, 0x27aa
jne case.0x4124a4.10304
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4133cb
cmp dword [edi + 8], 0x3c
je 0x411c7d
push str.GSSAPI_authentication_request_refused
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
jmp 0x412b7b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
call fcn.0041cd20
mov edx, dword [esi + 0xc8]
lea edi, [esi + 0xd0]
mov eax, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xd4], eax
lea eax, [edx + 2]
mov dword [ebp - 8], edi
mov dword [edi], ecx
cmp ecx, eax
jne 0x411e1b
mov ecx, dword [ebp - 4]
cmp byte [ecx], 6
jne 0x411e1b
movsx eax, byte [ecx + 1]
cmp eax, edx
jne 0x411e1b
mov eax, dword [esi + 0xcc]
add ecx, 2
mov dword [ebp - 4], eax
sub edx, 4
jb 0x411cf8
nop
mov ebx, dword [ebp - 4]
mov eax, dword [ecx]
cmp eax, dword [ebx]
mov ebx, dword [ebp + 8]
jne 0x411cfd
add dword [ebp - 4], 4
add ecx, 4
sub edx, 4
jae 0x411ce0
cmp edx, 0xfffffffc
je 0x411d55
mov edi, dword [ebp - 4]
mov al, byte [ecx]
cmp al, byte [edi]
lea edi, [esi + 0xd0]
jne 0x411e1b
cmp edx, 0xfffffffd
je 0x411d55
mov ebx, dword [ebp - 4]
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
mov ebx, dword [ebp + 8]
jne 0x411e1b
cmp edx, 0xfffffffe
je 0x411d55
mov edi, dword [ebp - 4]
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
lea edi, [esi + 0xd0]
jne 0x411e1b
cmp edx, 0xffffffff
je 0x411d55
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 4]
cmp al, byte [ecx + 3]
jne 0x411e1b
mov eax, dword [esi + 0xc0]
lea ecx, [esi + 0xe0]
push ecx
push dword [ebx + 0x6a4]
push eax
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov dword [esi + 0xe4], eax
test eax, eax
je 0x411d9f
cmp eax, 3
mov edx, str.GSSAPI_import_name_failed___Bad_service_name
mov ecx, str.GSSAPI_import_name_failed
cmove ecx, edx
push ecx
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
jmp 0x412b7b
mov eax, dword [esi + 0xc0]
lea ecx, [esi + 0xc4]
push ecx
push eax
mov eax, dword [eax + 0x1c]
call eax
add esp, 8
mov dword [esi + 0xe4], eax
test eax, eax
je 0x411dea
push str.GSSAPI_authentication_failed_to_get_credentials
push dword [ebx + 0x110]
call fcn.0043dc60
mov eax, dword [esi + 0xc0]
lea ecx, [esi + 0xe0]
push ecx
push eax
mov eax, dword [eax + 0x10]
call eax
add esp, 0x10
jmp 0x412b7b
lea eax, [esi + 0xd8]
mov dword [edi], 0
mov dword [esi + 0xd4], 0
lea ecx, [esi + 0xd0]
mov dword [eax], 0
mov dword [esi + 0xdc], 0
jmp 0x4121ea
push str.GSSAPI_authentication___wrong_response_from_server
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
jmp 0x412b7b
cmp dword [ebp + 0x14], 0
jne 0x41216d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x3c]
call fcn.00443960
add esp, 0xc
mov dword [ebx + 0x100], 0
test eax, eax
js 0x412163
mov ecx, dword [esi + 0x3c]
je 0x41213c
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00405a10
push dword [esi + 0x3c]
mov edi, eax
call fcn.00405be0
add esp, 8
push 0x20
push dword [ebx + 0x248]
call fcn.00403060
lea ecx, [ebp - 0x24]
mov dword [esi + 0xbc], eax
push ecx
push edi
push eax
call fcn.0042fc60
add esp, 0x14
mov dword [ebp - 0xc], eax
test edi, edi
je 0x411ecc
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411eb0
sub ecx, edx
push ecx
push edi
call fcn.0043fb70
push edi
call fcn.00406080
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp eax, 0x4bb3c8
je 0x411edb
test eax, eax
jne 0x411f5f
test edi, edi
je 0x412115
cmp eax, 0x4bb3c8
jne 0x412115
push str.Wrong_passphrase_r_n
push ebx
call fcn.0040e7b0
add esp, 8
cmp dword [esi + 0x5c], 0
jne 0x411f09
xor edi, edi
jmp 0x411e83
push dword [ebx + 0x110]
call fcn.00405ed0
mov dword [esi + 0x3c], eax
push str.SSH_key_passphrase
mov dword [eax], 0
call fcn.00405a10
mov ecx, dword [esi + 0x3c]
add esp, 8
push 0
mov dword [ecx + 4], eax
push dword [esi + 0x64]
push str.Passphrase_for_key___.100s_:
call fcn.004059f0
add esp, 8
push eax
push dword [esi + 0x3c]
call fcn.00405370
push 0
push 0
push dword [esi + 0x3c]
call fcn.00443960
add esp, 0x18
jmp 0x411e58
push 0x32
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push dword [ebx + 0x250]
push eax
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.publickey
push dword [esi + 0xb8]
call fcn.0041cad0
push 1
push dword [esi + 0xb8]
call fcn.00419730
mov edi, dword [ebp - 0xc]
mov eax, dword [edi]
push dword [eax + 0x30]
push dword [esi + 0xb8]
call fcn.0041cad0
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push dword [edi + 4]
mov eax, dword [eax + 0xc]
call eax
push dword [esi + 0xb8]
mov dword [ebp - 8], eax
call fcn.0041cb50
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [esi + 0xb8]
call fcn.0041caf0
mov ecx, dword [ebx + 0x50]
add esp, 0x44
mov eax, dword [esi + 0xb8]
shr ecx, 5
not ecx
or ecx, 0xfffffffb
add ecx, dword [eax]
add ecx, dword [ebx + 0xe4]
push 1
push ecx
mov dword [ebp - 0x18], ecx
call fcn.004060a0
xor ecx, ecx
add esp, 8
test byte [ebx + 0x50], 0x80
mov edx, eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
jne 0x41204f
movzx ecx, byte [ebx + 0xe7]
mov byte [edx], cl
movzx ecx, byte [ebx + 0xe6]
mov byte [edx + 1], cl
mov ecx, dword [ebx + 0xe4]
sar ecx, 8
mov byte [edx + 2], cl
mov ecx, 4
mov al, byte [ebx + 0xe4]
mov byte [edx + 3], al
mov dword [ebp - 0x10], ecx
push dword [ebx + 0xe4]
lea eax, [ebx + 0xa4]
push eax
lea eax, [ecx + edx]
push eax
call fcn.00449f40
mov ecx, dword [esi + 0xb8]
mov eax, dword [ecx]
sub eax, 5
push eax
mov eax, dword [ecx + 0x10]
add eax, 5
push eax
mov eax, dword [ebx + 0xe4]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
push eax
call fcn.00449f40
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push dword [ebp - 4]
mov eax, dword [eax + 0x2c]
push dword [edi + 4]
call eax
push dword [ebp - 0x1c]
mov edi, eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [esi + 0xb8]
push ebx
call fcn.00417bf0
add esp, 0x40
push dword [ebp - 8]
call fcn.00406080
push edi
call fcn.00406080
push dword [ebp - 4]
call fcn.00406080
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
push str.Sent_public_key_signature
push dword [ebx + 0x110]
call fcn.0043dc60
mov edi, dword [ebp - 0xc]
mov dword [esi + 4], 1
mov eax, dword [edi]
push dword [edi + 4]
mov eax, dword [eax + 4]
call eax
push dword [edi + 8]
call fcn.00406080
push edi
call fcn.00406080
add esp, 0x28
jmp 0x412b7b
push str.Unable_to_load_private_key__
push ebx
call fcn.0040e7b0
push dword [ebp - 0x24]
push ebx
call fcn.0040e7b0
push 0x4a14b4
push ebx
call fcn.0040e7b0
add esp, 0x18
jmp 0x412b7b
push ecx
call fcn.00405be0
push 1
push 0xd
push str.Unable_to_authenticate
push 0
push ebx
call fcn.0041c5a0
add esp, 0x18
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x26f7
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x41246f
cmp dword [edi + 8], 0x3d
je 0x4121ad
push str.GSSAPI_authentication___bad_server_response
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
mov dword [esi + 0xe4], 4
jmp 0x41231e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
call fcn.0041cd20
mov eax, dword [ebp - 4]
lea ecx, [esi + 0xd0]
mov edx, dword [esi + 0xe4]
add esp, 0xc
mov dword [esi + 0xd4], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
lea eax, [esi + 0xd8]
mov dword [ebp - 8], ecx
cmp edx, 1
jne 0x41231a
mov edi, dword [esi + 0xc0]
push eax
push ecx
push 0x28
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
push eax
push dword [esi + 0xe0]
lea eax, [esi + 0xc4]
push eax
mov eax, dword [edi + 0x14]
push edi
call eax
mov edi, dword [ebp - 8]
add esp, 0x18
mov dword [esi + 0xe4], eax
mov dword [ebp - 8], edi
test eax, eax
je 0x41223b
cmp eax, 1
jne 0x4122c5
lea edi, [esi + 0xd0]
mov dword [ebp - 8], edi
push str.GSSAPI_authentication_initialised
push dword [ebx + 0x110]
call fcn.0043dc60
lea eax, [esi + 0xd8]
add esp, 8
cmp dword [eax], 0
je 0x4122ae
push 0x3d
call fcn.00419ba0
push eax
mov dword [esi + 0xb8], eax
call fcn.0041cb50
push dword [esi + 0xd8]
push dword [esi + 0xdc]
push dword [esi + 0xb8]
call fcn.0041caf0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
mov eax, dword [esi + 0xc0]
lea ecx, [esi + 0xd8]
push ecx
push eax
mov eax, dword [eax + 0x18]
call eax
add esp, 0x24
mov dword [ebp - 8], edi
lea eax, [esi + 0xd8]
mov edx, dword [esi + 0xe4]
cmp edx, 1
je 0x41246f
mov ecx, dword [ebp - 8]
jmp 0x4121e1
push str.GSSAPI_authentication_initialisation_failed
push dword [ebx + 0x110]
call fcn.0043dc60
mov ecx, dword [esi + 0xc0]
lea eax, [esi + 0xc8]
push eax
push dword [esi + 0xc4]
mov eax, dword [ecx + 0x2c]
push ecx
call eax
add esp, 0x14
test eax, eax
jne 0x412314
push dword [esi + 0xcc]
push dword [ebx + 0x110]
call fcn.0043dc60
push dword [esi + 0xcc]
call fcn.00406080
add esp, 0xc
mov edx, dword [esi + 0xe4]
test edx, edx
je 0x41234c
mov ecx, dword [esi + 0xc0]
lea eax, [esi + 0xe0]
push eax
push ecx
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [esi + 0xc0]
lea eax, [esi + 0xc4]
push eax
push ecx
mov eax, dword [ecx + 0x20]
call eax
add esp, 0x10
jmp 0x412b7b
push str.GSSAPI_authentication_loop_finished_OK
push dword [ebx + 0x110]
call fcn.0043dc60
push 0
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push eax
mov edi, dword [eax]
call fcn.0041cb50
push dword [ebx + 0xe4]
lea eax, [ebx + 0xa4]
push eax
push dword [esi + 0xb8]
call fcn.0041caf0
push 0x32
push dword [esi + 0xb8]
call fcn.0041ca80
push dword [ebx + 0x250]
push dword [esi + 0xb8]
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.gssapi_with_mic
push dword [esi + 0xb8]
call fcn.0041cad0
mov ecx, dword [esi + 0xb8]
lea edx, [esi + 0xc8]
mov eax, dword [ecx + 0x10]
add eax, edi
mov dword [esi + 0xcc], eax
mov eax, dword [ecx]
lea ecx, [ebp - 0x20]
sub eax, edi
lea edi, [esi + 0xc4]
push ecx
mov dword [edx], eax
mov eax, dword [esi + 0xc0]
push edx
push dword [edi]
push eax
mov eax, dword [eax + 0x24]
call eax
add esp, 0x4c
push 0x42
call fcn.00419ba0
push eax
mov dword [esi + 0xb8], eax
call fcn.0041cb50
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [esi + 0xb8]
call fcn.0041caf0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
mov eax, dword [esi + 0xc0]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov eax, dword [eax + 0x28]
call eax
mov eax, dword [esi + 0xc0]
lea ecx, [esi + 0xe0]
push ecx
mov dword [esi + 0xc], 0
push eax
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [esi + 0xc0]
push edi
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x34
jmp 0x412b7b
pop edi
mov dword [esi], 0x27fb
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x294a
jg 0x412760
je 0x412734
sub eax, 0x283f
cmp eax, 0xcc
ja case.0x4124a4.10304
movzx eax, byte [eax + 0x413bd4]
jmp dword [eax*4 + 0x413bbc]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x413488
cmp dword [edi + 8], 0x3c
je 0x412512
mov dword [esi + 0xc], 1
mov dword [esi + 4], 7
mov dword [esi + 0x30], 1
jmp 0x412b7b
cmp dword [ebp + 0x14], 0
jne 0x412668
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x3c]
call fcn.00443960
mov dword [ebx + 0x100], 0
jmp 0x412657
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4126dc
cmp dword [edi + 8], 0x3c
jne 0x4126e9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0041cd20
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.0041cd20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0041cd20
push dword [ebx + 0x110]
call fcn.00405ed0
mov dword [esi + 0x3c], eax
push edi
mov dword [eax], 1
call fcn.0041cda0
add esp, 0x2c
mov dword [esi + 0x40], eax
test eax, eax
jle 0x4125ba
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0041cd20
push edi
call fcn.00419b30
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
jne 0x412592
mov edx, str._server_failed_to_send_prompt_:
mov ecx, 0x20
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x412595
mov edx, dword [ebp - 0x10]
push eax
push edx
push ecx
push 0x49b474
call fcn.004059f0
add esp, 0xc
push eax
push dword [esi + 0x3c]
call fcn.00405370
inc ebx
add esp, 0xc
cmp ebx, dword [esi + 0x40]
jl 0x412562
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4125e4
push dword [ebp - 0x1c]
push edi
push str.SSH_server:__.s
call fcn.004059f0
mov ecx, dword [esi + 0x3c]
add esp, 0xc
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 8], 1
jmp 0x412601
push str.SSH_server_authentication
call fcn.00405a10
mov ecx, dword [esi + 0x3c]
add esp, 4
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 8], 0
cmp dword [esi + 0x40], 0
mov ecx, dword [ebp - 0x18]
jne 0x41261a
test edi, edi
jne 0x41261a
test ecx, ecx
jne 0x41261a
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x10], edi
jmp 0x41264b
push dword [ebp - 0xc]
test ecx, ecx
mov edx, 0x49b3f7
push ecx
mov eax, 0x49fef0
cmove eax, edx
push eax
push str.Using_keyboard_interactive_authentication._s_.s
call fcn.004059f0
mov ecx, dword [esi + 0x3c]
add esp, 0x10
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x10], 1
push 0
push 0
push dword [esi + 0x3c]
call fcn.00443960
add esp, 0xc
test eax, eax
jns 0x412675
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x2898
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jne 0x41267f
push dword [esi + 0x3c]
jmp 0x41213d
push 0x3d
call fcn.00419ba0
push dword [esi + 0x40]
mov dword [esi + 0xb8], eax
push eax
call fcn.0041cba0
xor edi, edi
add esp, 0xc
cmp dword [esi + 0x40], edi
jle 0x4126c0
nop
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edi*4]
push dword [eax + 8]
push dword [esi + 0xb8]
call fcn.0041cad0
inc edi
add esp, 8
cmp edi, dword [esi + 0x40]
jl 0x4126a0
push 0x100
push dword [esi + 0xb8]
push ebx
call fcn.00419d70
push dword [esi + 0x3c]
call fcn.00405be0
add esp, 0x10
pop edi
mov dword [esi], 0x28be
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], 1
jmp 0x412b7b
cmp dword [ebp + 0x14], 0
jne 0x413511
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x3c]
call fcn.00443960
add esp, 0xc
mov dword [ebx + 0x100], 0
jmp 0x413503
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4135c3
mov eax, 1
jmp 0x412889
cmp dword [ebp + 0x14], 0
jne 0x412a98
push dword [ebp + 0x10]
lea edi, [esi + 0x3c]
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
push dword [edi]
call fcn.00443960
mov dword [ebx + 0x100], 0
jmp 0x412989
cmp eax, 0x2a84
jg 0x413b5d
je 0x41398a
sub eax, 0x298d
je 0x41287c
sub eax, 0x6a
jne case.0x4124a4.10304
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x413970
mov eax, dword [edi + 8]
cmp eax, 0x5b
je 0x4127bf
cmp eax, 0x5c
je 0x4127bf
push eax
push str.Server_sent_strange_packet__d_in_response_to_main_channel_open_request
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0041cda0
mov ecx, dword [ebx + 0x128]
add esp, 4
cmp eax, dword [ecx + 8]
je 0x4127dd
push str.Servers_response_to_main_channel_open_cited_wrong_channel_number
jmp 0x4113d4
cmp dword [edi + 8], 0x5c
push edi
jne 0x412813
call fcn.00418150
mov edi, eax
push edi
push str.Server_refused_to_open_main_channel:__s
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
push edi
call fcn.00406080
add esp, 0x18
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041cda0
mov ecx, dword [ebx + 0x128]
push edi
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x128]
mov dword [eax + 0x10], 0
mov eax, dword [ebx + 0x128]
mov dword [eax + 0xc], 0
call fcn.0041cda0
mov ecx, dword [ebx + 0x128]
push edi
mov dword [ecx + 0x2c], eax
call fcn.0041cda0
mov ecx, dword [ebx + 0x128]
mov dword [ecx + 0x30], eax
push dword [ebx + 0x110]
call fcn.0043dcf0
push str.Opened_main_channel
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 0x18
jmp 0x4136c9
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x412b3d
xor eax, eax
cmp dword [edi + 8], 0x3c
jne 0x412b4a
test eax, eax
mov ecx, str.Server_requested_password_change
mov edi, str.Server_rejected_new_password
cmovne edi, ecx
push edi
push dword [ebx + 0x110]
call fcn.0043dc60
push edi
push ebx
call fcn.0040e7b0
push 0x49b7d8
push ebx
call fcn.0040e7b0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.0041cd20
push dword [ebx + 0x110]
call fcn.00405ed0
lea edi, [esi + 0x3c]
mov dword [edi], eax
push str.New_SSH_password
mov dword [ebp + 8], edi
mov dword [eax], 1
call fcn.00405a10
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov ecx, 0x49b3f7
mov eax, dword [ebp - 0x24]
test eax, eax
cmovne ecx, eax
push ecx
push dword [ebp - 0x1c]
push 0x49b474
call fcn.004059f0
mov ecx, dword [edi]
add esp, 0x38
mov dword [ecx + 0xc], eax
mov eax, dword [edi]
push 0
push str.Current_password__blank_for_previously_entered_password_:
mov dword [eax + 0x10], 1
call fcn.00405a10
add esp, 4
push eax
push dword [edi]
call fcn.00405370
add esp, 0xc
push 0
push str.Enter_new_password:
call fcn.00405a10
add esp, 4
push eax
push dword [edi]
call fcn.00405370
add esp, 0xc
push 0
push str.Confirm_new_password:
call fcn.00405a10
add esp, 4
push eax
push dword [edi]
call fcn.00405370
add esp, 0xc
xor ecx, ecx
lea edi, [esi + 0x3c]
test ecx, ecx
jne 0x412aa5
push ecx
push ecx
push dword [edi]
call fcn.00443960
add esp, 0xc
test eax, eax
js 0x412a8e
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
je 0x412a44
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp byte [eax], 0
je 0x4129e8
mov edx, dword [esi + 0x48]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4129b7
sub ecx, dword [ebp - 0x24]
push ecx
push edx
call fcn.0043fb70
push dword [esi + 0x48]
call fcn.00406080
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00405a10
mov ecx, dword [esi + 0x3c]
add esp, 0x10
mov dword [esi + 0x48], eax
mov ecx, dword [ecx + 0x18]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x412a17
test cl, cl
je 0x412a13
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x412a17
add eax, 2
add edx, 2
test cl, cl
jne 0x4129f7
xor eax, eax
jmp 0x412a1c
sbb eax, eax
or eax, 1
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x412975
push str.Passwords_do_not_match_r_n
push ebx
call fcn.0040e7b0
mov ecx, dword [ebp - 0x24]
add esp, 8
jmp 0x412975
push ecx
call fcn.00405be0
mov edx, dword [esi + 0x48]
add esp, 4
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412a55
sub ecx, edi
push ecx
push edx
call fcn.0043fb70
push dword [esi + 0x48]
call fcn.00406080
push 1
push 0xd
push str.Unable_to_authenticate
push 0
push ebx
call fcn.0041c5a0
add esp, 0x20
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x294a
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x32
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push dword [ebx + 0x250]
push eax
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.password
push dword [esi + 0xb8]
call fcn.0041cad0
push 1
push dword [esi + 0xb8]
call fcn.00419730
push dword [esi + 0x48]
push dword [esi + 0xb8]
call fcn.0041cad0
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
push dword [eax + 8]
push dword [esi + 0xb8]
call fcn.0041cad0
push dword [edi]
call fcn.00405be0
push 0x100
push dword [esi + 0xb8]
push ebx
call fcn.00419d70
add esp, 0x44
push str.Sent_new_password
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
pop edi
mov dword [esi], 0x298d
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x48]
mov ecx, edx
mov dword [esi + 0xc], 1
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412b60
sub ecx, edi
push ecx
push edx
call fcn.0043fb70
push dword [esi + 0x48]
call fcn.00406080
add esp, 0xc
cmp dword [esi + 0xc], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
je 0x41397d
lea eax, [ebx + 0x178]
push eax
call fcn.00405710
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412bdf
test byte [0x4bd480], 5
je 0x412bdf
push 1
push eax
call fcn.004060a0
push dword [ebp - 0x14]
mov edi, eax
lea eax, [ebx + 0x178]
push edi
push eax
call fcn.00405690
push dword [ebp - 0x14]
push edi
push ebx
call fcn.0040e7e0
push edi
call fcn.00406080
add esp, 0x24
lea eax, [ebx + 0x178]
push eax
call fcn.00405600
mov edi, dword [ebp + 0x14]
add esp, 4
mov eax, dword [edi + 8]
cmp eax, 0x34
je 0x413606
cmp eax, 0x33
je 0x412c0c
cmp dword [esi + 4], 5
jne 0x412e4a
mov dword [esi + 0xc], 0
cmp dword [edi + 8], 0x33
jne 0x412fe3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.0041cd20
push edi
call fcn.00419b30
add esp, 0x10
test eax, eax
jne 0x412f0c
mov eax, dword [esi + 4]
test eax, eax
je 0x412f2a
cmp eax, 2
je 0x412ee9
cmp eax, 3
je 0x412ef7
cmp eax, 1
je 0x412ed7
cmp eax, 7
je 0x412ec2
cmp eax, 5
je 0x412f2a
mov ecx, dword [ebx + 0x110]
cmp eax, 6
je 0x412eaa
push str.Password_authentication_failed
push ecx
call fcn.0043dc60
push str.Access_denied_r_n
push ebx
call fcn.0040e7b0
push 0x1e
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 0x18
test eax, eax
je 0x412f2a
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x34], 0
test eax, eax
je 0x412cd7
push 0x1e
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
test eax, eax
je 0x412d98
push dword [ebx + 0x248]
call fcn.0040a510
add esp, 4
mov dword [ebx + 0x250], eax
test eax, eax
jne 0x412d72
push dword [ebx + 0x110]
call fcn.00405ed0
mov dword [esi + 0x3c], eax
push str.SSH_login_name
mov dword [eax], 1
call fcn.00405a10
mov ecx, dword [esi + 0x3c]
add esp, 8
push 1
push str.login_as:
mov dword [ecx + 4], eax
call fcn.00405a10
add esp, 4
push eax
push dword [esi + 0x3c]
call fcn.00405370
push 0
push 0
push dword [esi + 0x3c]
call fcn.00443960
add esp, 0x18
test eax, eax
js 0x412e93
mov ecx, dword [esi + 0x3c]
je 0x412e6c
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00405a10
mov dword [ebx + 0x250], eax
push dword [esi + 0x3c]
call fcn.00405be0
add esp, 8
jmp 0x412d98
test byte [0x4bd480], 5
je 0x412d98
push eax
push str.Using_username___s_._r_n
call fcn.004059f0
mov edi, eax
push edi
push ebx
call fcn.0040e7b0
push edi
call fcn.00406080
add esp, 0x14
mov dword [esi + 0x4c], 1
push 0x32
mov dword [ebx + 0x188], 0
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push dword [ebx + 0x250]
push eax
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.none
push dword [esi + 0xb8]
call fcn.0041cad0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
mov ecx, dword [esi + 0x70]
add esp, 0x24
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x24], 0
test ecx, ecx
je 0x412b7b
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x412e35
mov dword [esi + 0x74], eax
jmp 0x412b7b
lea eax, [ecx + 9]
mov dword [esi + 0x80], 0
mov dword [esi + 0x74], eax
jmp 0x412b7b
push eax
push str.Strange_packet_received_during_authentication:_type__d
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00405be0
push 1
push 0
push 0
push str.No_username_provided
push ebx
call fcn.0041c5a0
add esp, 0x18
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x2555
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Keyboard_interactive_authentication_failed
push ecx
call fcn.0043dc60
push str.Access_denied_r_n
push ebx
call fcn.0040e7b0
jmp 0x412f27
push str.Server_refused_keyboard_interactive_authentication
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
jmp 0x412f2a
push str.Server_refused_public_key_signature_despite_accepting_key__r_n
push ebx
call fcn.0040e7b0
push str.Server_refused_public_key_signature_despite_accepting_key_
jmp 0x412f1c
push str.Server_refused_our_key_r_n
push ebx
call fcn.0040e7b0
add esp, 8
push str.Server_refused_our_key
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
jmp 0x412f2a
push str.Further_authentication_required_r_n
push ebx
call fcn.0040e7b0
push str.Further_authentication_required
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 0x10
push dword [ebp - 8]
mov edi, dword [ebp - 0xc]
push edi
push str.publickey
call fcn.004167f0
push dword [ebp - 8]
mov dword [esi + 0x14], eax
push edi
push str.password
call fcn.004167f0
mov dword [esi + 0x18], eax
push 0x26
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 0x20
test eax, eax
je 0x412f7f
push dword [ebp - 8]
push edi
push str.keyboard_interactive
call fcn.004167f0
add esp, 0xc
test eax, eax
je 0x412f7f
mov eax, 1
jmp 0x412f81
xor eax, eax
mov dword [esi + 0x1c], eax
push 0x27
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
test eax, eax
je 0x412fda
push dword [ebp - 8]
push edi
push str.gssapi_with_mic
call fcn.004167f0
add esp, 0xc
test eax, eax
je 0x412fda
mov ecx, dword [ebx + 0x6a8]
test ecx, ecx
jne 0x412fcd
push dword [ebx + 0x248]
call fcn.0043dfe0
add esp, 4
mov dword [ebx + 0x6a8], eax
mov ecx, eax
xor eax, eax
cmp dword [ecx + 4], eax
setg al
mov dword [esi + 0x28], eax
jmp 0x412fe6
mov dword [esi + 0x28], 0
jmp 0x412fe6
mov edi, dword [ebp - 0xc]
mov dword [ebx + 0x188], 0
cmp dword [esi + 0x14], 0
je 0x41325f
cmp dword [esi + 0x24], 0
jne 0x413191
cmp dword [esi + 0x84], 0
je 0x413191
mov dword [ebx + 0x188], 1
push dword [esi + 0x80]
push str.Trying_Pageant_key__d
push ebx
call fcn.00416850
mov ecx, dword [esi + 0x74]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
or edx, eax
push edx
call fcn.00406440
mov edx, dword [esi + 0x74]
add edx, 4
mov dword [esi + 0x94], eax
add eax, edx
mov dword [esi + 0x88], edx
mov dword [esi + 0x74], eax
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.00406440
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x88]
add eax, 4
mov dword [esi + 0x8c], eax
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
or edx, eax
push edx
call fcn.00406440
mov ecx, dword [esi + 0x74]
add ecx, 4
mov dword [esi + 0x9c], eax
add eax, ecx
mov dword [esi + 0x90], ecx
push 0x32
mov dword [esi + 0x74], eax
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push dword [ebx + 0x250]
push eax
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.publickey
push dword [esi + 0xb8]
call fcn.0041cad0
push 0
push dword [esi + 0xb8]
call fcn.00419730
push dword [esi + 0xb8]
call fcn.0041cb50
add esp, 0x40
push dword [esi + 0x98]
push dword [esi + 0x8c]
push dword [esi + 0xb8]
call fcn.0041caf0
push dword [esi + 0xb8]
call fcn.0041cb50
push dword [esi + 0x94]
push dword [esi + 0x88]
push dword [esi + 0xb8]
call fcn.0041caf0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
add esp, 0x24
mov dword [esi + 4], 3
pop edi
mov dword [esi], 0x2644
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x50], 0
je 0x41325f
cmp dword [esi + 0x58], 0
je 0x41325f
cmp dword [esi + 0x20], 0
jne 0x41325f
mov dword [ebx + 0x188], 1
push 0x32
mov dword [esi + 0x20], 1
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push dword [ebx + 0x250]
push eax
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.publickey
push dword [esi + 0xb8]
call fcn.0041cad0
push 0
push dword [esi + 0xb8]
call fcn.00419730
push dword [esi + 0x60]
push dword [esi + 0xb8]
call fcn.0041cad0
push dword [esi + 0xb8]
call fcn.0041cb50
push dword [esi + 0x54]
push dword [esi + 0x50]
push dword [esi + 0xb8]
call fcn.0041caf0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
add esp, 0x44
push str.Offered_public_key
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
pop edi
mov dword [esi], 0x26d3
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x28], 0
je 0x4133eb
cmp dword [esi + 0x2c], 0
jne 0x4133eb
mov dword [esi + 4], 5
xor eax, eax
mov dword [esi + 0x2c], 1
xor ecx, ecx
mov dword [esi + 0xc], 1
mov dword [ebx + 0x188], 3
mov dword [esi + 0xc0], 0
mov dword [ebp + 8], eax
cmp dword [0x4a9b6c], eax
jle 0x4132fa
nop dword [eax + eax]
push eax
push 0x29
push dword [ebx + 0x248]
call fcn.004030f0
mov edx, dword [ebx + 0x6a8]
add esp, 0xc
xor ecx, ecx
mov edi, dword [edx + 4]
test edi, edi
jle 0x4132e5
mov edx, dword [edx]
mov dword [ebp - 0x24], edx
cmp dword [edx], eax
je 0x4133d8
inc ecx
add edx, 0x54
cmp ecx, edi
jl 0x4132d5
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [0x4a9b6c]
jl 0x4132b0
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 4]
test eax, eax
je 0x413310
push eax
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
push 0x32
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push dword [ebx + 0x250]
push eax
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.gssapi_with_mic
push dword [esi + 0xb8]
call fcn.0041cad0
push str.Attempting_GSSAPI_authentication
push dword [ebx + 0x110]
call fcn.0043dc60
mov eax, dword [esi + 0xc0]
lea edi, [esi + 0xc8]
push edi
push eax
mov eax, dword [eax + 8]
call eax
push 1
push dword [esi + 0xb8]
call fcn.0041cba0
mov eax, dword [edi]
add eax, 2
push eax
push dword [esi + 0xb8]
call fcn.0041cba0
push 6
push dword [esi + 0xb8]
call fcn.0041ca80
movzx eax, byte [edi]
add esp, 0x44
push eax
push dword [esi + 0xb8]
call fcn.0041ca80
push dword [edi]
push dword [esi + 0xcc]
push dword [esi + 0xb8]
call fcn.0041caa0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
add esp, 0x1c
pop edi
mov dword [esi], 0x27aa
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
imul eax, ecx, 0x54
mov ecx, dword [ebp - 0x24]
add ecx, eax
mov dword [esi + 0xc0], ecx
jmp 0x4132fa
cmp dword [esi + 0x1c], 0
je 0x413495
cmp dword [esi + 0x30], 0
jne 0x413495
mov dword [esi + 4], 6
push 0x32
mov dword [ebx + 0x188], 4
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push dword [ebx + 0x250]
push eax
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.keyboard_interactive
push dword [esi + 0xb8]
call fcn.0041cad0
push 0x49b3f7
push dword [esi + 0xb8]
call fcn.0041cad0
push 0x49b3f7
push dword [esi + 0xb8]
call fcn.0041cad0
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
push str.Attempting_keyboard_interactive_authentication
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 0x3c
pop edi
mov dword [esi], 0x283f
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 0
je 0x4135d0
push dword [ebx + 0x110]
mov dword [ebx + 0x188], 2
call fcn.00405ed0
mov dword [esi + 0x3c], eax
push str.SSH_password
mov dword [eax], 1
call fcn.00405a10
mov ecx, dword [esi + 0x3c]
add esp, 8
push 0
mov dword [ecx + 4], eax
push dword [ebx + 0xf8]
push dword [ebx + 0x250]
push str._s__ss_password:
call fcn.004059f0
add esp, 0xc
push eax
push dword [esi + 0x3c]
call fcn.00405370
push 0
push 0
push dword [esi + 0x3c]
call fcn.00443960
add esp, 0x18
test eax, eax
jns 0x41351e
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x28dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x3c]
test eax, eax
je 0x41213c
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00405a10
push dword [esi + 0x3c]
mov dword [esi + 0x48], eax
call fcn.00405be0
push 0x32
call fcn.00419ba0
mov dword [esi + 0xb8], eax
push dword [ebx + 0x250]
push eax
call fcn.0041cad0
push str.ssh_connection
push dword [esi + 0xb8]
call fcn.0041cad0
push str.password
push dword [esi + 0xb8]
call fcn.0041cad0
push 0
push dword [esi + 0xb8]
call fcn.00419730
push dword [esi + 0x48]
push dword [esi + 0xb8]
call fcn.0041cad0
push 0x100
push dword [esi + 0xb8]
push ebx
call fcn.00419d70
add esp, 0x40
push str.Sent_password
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
mov dword [esi + 4], 4
pop edi
mov dword [esi], 0x290b
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 8]
push str.No_supported_authentication_methods_available__server_sent:__.s_
call fcn.004059f0
push 0
push 0xe
mov edi, eax
push str.No_supported_authentication_methods_available
push edi
push ebx
call fcn.0041c5a0
push edi
call fcn.00406080
add esp, 0x24
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Access_granted
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
mov dword [esi + 0x38], 1
mov dword [esi + 0x34], 1
mov dword [ebx + 0x344], 0
cmp dword [esi + 0x50], 0
je 0x413652
push dword [esi + 0x60]
call fcn.00406080
push dword [esi + 0x50]
call fcn.00406080
push dword [esi + 0x64]
call fcn.00406080
add esp, 0xc
mov eax, dword [esi + 0x70]
test eax, eax
je 0x413662
push eax
call fcn.00406080
add esp, 4
cmp dword [esi + 0x38], 0
je 0x413683
cmp dword [ebx + 0xec], 0
jne 0x413683
push 0
push 0xfffffffffffffffe
push str.enabling_delayed_compression
push ebx
call fcn.00413cb0
add esp, 0x10
push 0x41bbe0
call fcn.0043d2a0
mov dword [ebx + 0x124], eax
mov dword [ebx + 0x3e4], 0x419480
mov dword [ebx + 0x3b0], 0x4195e0
push 0x2d
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 0xc
test eax, eax
je 0x4138b4
mov dword [ebx + 0x128], 0
mov dword [ebx + 0x3ec], 0x4189a0
mov dword [ebx + 0x3e8], 0x4189a0
mov dword [ebx + 0x3f0], 0x418a90
mov dword [ebx + 0x3f4], 0x4188d0
mov dword [ebx + 0x3dc], 0x418ec0
mov dword [ebx + 0x3e0], 0x418f40
mov dword [ebx + 0x3f8], 0x418fb0
mov dword [ebx + 0x3d8], 0x418ac0
mov dword [ebx + 0x3fc], 0x419420
mov dword [ebx + 0x400], 0x419420
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x413743
push dword [ebx + 8]
push eax
call fcn.004371a0
add esp, 8
cmp dword [ebx + 0x128], 0
je 0x41377d
push ebx
call fcn.0041ca00
add esp, 4
test eax, eax
je 0x41377d
push 0
push 0
push str.simple_putty.projects.tartarus.org
push dword [ebx + 0x128]
call fcn.00418230
push eax
push ebx
mov dword [esi + 0xb8], eax
call fcn.00419c90
add esp, 0x18
push dword [ebx + 0x248]
push ebx
call fcn.0041d4d0
add esp, 8
cmp dword [ebx + 0x128], 0
je 0x41389b
cmp dword [ebx + 0x12c], 0
jne 0x41389b
push 0x95
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
test eax, eax
je 0x41383b
mov eax, dword [ebx + 0x248]
push eax
push 0x96
push eax
call fcn.00403120
add esp, 8
push eax
call fcn.004484d0
add esp, 8
mov dword [ebx + 0x18c], eax
test eax, eax
jne 0x4137fe
push str.X11_forwarding_not_enabled:_unable_to_initialise_X_display
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
jmp 0x41383b
push 0x97
push dword [ebx + 0x248]
call fcn.004030c0
push eax
push dword [ebx + 0x194]
call fcn.00447c20
mov ecx, dword [ebx + 0x18c]
push 0
mov dword [ebx + 0x190], eax
mov dword [eax + 0x1c], ecx
push 0
push dword [ebx + 0x128]
call fcn.0041b1a0
add esp, 0x1c
push ebx
call fcn.0041b4b0
add esp, 4
test eax, eax
je 0x41385a
push 0
push 0
push dword [ebx + 0x128]
call fcn.0041ad90
add esp, 0xc
push 0x16
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
test eax, eax
jne 0x41387e
push eax
push eax
push dword [ebx + 0x128]
call fcn.0041aff0
add esp, 0xc
push 0
push 0
push dword [ebx + 0x128]
call fcn.0041ae50
mov ecx, dword [ebx + 0x174]
add esp, 0xc
jmp 0x413a10
mov dword [ebx + 0x104], 1
mov dword [ebx + 0x108], 1
jmp 0x413af1
push 0x5c
push 1
call fcn.004060a0
mov dword [ebx + 0x128], eax
mov dword [eax], ebx
push dword [ebx + 0x128]
call fcn.0041b990
push 0x2e
push dword [ebx + 0x248]
call fcn.00403120
add esp, 0x14
cmp byte [eax], 0
je 0x413931
push str.main_channel
push 0x2f
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
push eax
push 0x2e
push dword [ebx + 0x248]
call fcn.00403120
add esp, 8
push eax
push dword [ebx + 0x128]
call fcn.0041d300
add esp, 0x10
mov dword [ebx + 0x12c], 1
mov dword [esi], 0x29f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.session
push dword [ebx + 0x128]
call fcn.004181f0
mov dword [esi + 0xb8], eax
push str.Opening_session_as_main_channel
push dword [ebx + 0x110]
call fcn.0043dc60
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
add esp, 0x18
mov dword [ebx + 0x12c], 0
pop edi
mov dword [esi], 0x29f7
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 0x2594
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x413ac7
mov eax, dword [eax + 8]
cmp eax, 0x63
je 0x413ade
cmp eax, 0x64
je 0x4139c8
push eax
push str.Unexpected_response_to_shell_command_request:_packet_type__d
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x174], 0
jne 0x413ad4
push 0x15
push dword [ebx + 0x248]
call fcn.00403120
add esp, 8
cmp byte [eax], 0
je 0x413ad4
push str.Primary_command_failed__attempting_fallback
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
mov dword [ebx + 0x174], 1
mov ecx, 1
xor ebx, ebx
test ecx, ecx
setne bl
xor eax, eax
add ebx, 0x14
test ecx, ecx
setne al
add eax, 0x2b
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x248]
call fcn.004030c0
push ebx
mov ebx, dword [ebp + 8]
mov edi, eax
mov ecx, dword [ebx + 0x248]
push ecx
call fcn.00403120
add esp, 0x10
mov dword [ebp + 8], eax
push 0
push 0x41ac50
test edi, edi
je 0x413a7a
push str.subsystem
push dword [ebx + 0x128]
call fcn.00418230
push dword [ebp + 8]
mov dword [esi + 0xb8], eax
push eax
call fcn.0041cad0
add esp, 0x18
jmp 0x413ab8
cmp byte [eax], 0
mov ecx, dword [ebx + 0x128]
je 0x413aa4
push str.exec
push ecx
call fcn.00418230
push dword [ebp + 8]
mov dword [esi + 0xb8], eax
push eax
call fcn.0041cad0
add esp, 0x18
jmp 0x413ab8
push str.shell
push ecx
call fcn.00418230
add esp, 0x10
mov dword [esi + 0xb8], eax
push dword [esi + 0xb8]
push ebx
call fcn.00419c90
add esp, 8
pop edi
mov dword [esi], 0x2a84
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Server_refused_to_start_a_shell_command
jmp 0x4113d4
push str.Started_a_shell_command
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
cmp dword [ebx + 0x148], 0
mov dword [ebx + 0x144], 3
je 0x413b19
push dword [ebx + 0x120]
push dword [ebx + 0x11c]
push ebx
call fcn.0040e0b0
add esp, 0xc
cmp dword [ebx + 0x14c], 0
je 0x413b2d
push 0xc
push ebx
call fcn.0040e190
add esp, 8
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x413b3d
push eax
call fcn.00403d60
add esp, 4
cmp dword [ebx + 0x128], 0
je 0x413bac
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x2ab1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x2ab1
jne case.0x4124a4.10304
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x413b93
push dword [eax + 8]
push str.Strange_packet_received:_type__d
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x413bac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0041d270
add esp, 0xc
pop edi
mov dword [esi], 0x2ab1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret