Function at 0x49f510
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x741aac
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x899944]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x1c]
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40c], ecx
push edi
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x334], edx
mov dword [ebp - 0x33c], eax
call fcn.0046f6b0
push str.sshAuthenticatePk
push esi
lea ecx, [ebp - 0x354]
mov dword [ebp - 4], 0
call fcn.00474ef0
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 1
call fcn.0040ac30
push esi
lea ecx, [ebp - 0x214]
push ecx
mov ecx, dword [ebp - 0x334]
mov byte [ebp - 4], 2
call fcn.004a74f0
lea edx, [ebp - 0x214]
push edx
push str.keyFingerprint
mov ecx, esi
call fcn.00474890
mov ecx, dword [ebp - 0x33c]
mov dword [ebx], 0
call fcn.004a71c0
mov eax, dword [ebp - 0x33c]
push esi
push eax
mov ecx, edi
call fcn.0049f370
test al, al
jne 0x49f5f6
mov dword [ebx], 1
jmp 0x4a048e
lea ecx, [ebp - 0x370]
call fcn.0040fe80
push 0x32
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 3
call fcn.00410ec0
lea ecx, [ebp - 0x370]
push ecx
mov ecx, dword [ebp - 0x37c]
call fcn.00405670
push eax
call fcn.0048fd20
lea edx, [ebp - 0x370]
push edx
push str.ssh_connection
call fcn.0048fd20
lea eax, [ebp - 0x370]
push eax
push str.publickey
call fcn.0048fd20
lea ecx, [ebp - 0x370]
push ecx
push 0
call fcn.0048fb50
mov ecx, dword [ebp - 0x334]
add esp, 0x20
call fcn.004a7c20
test al, al
je 0x49f688
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Using_a_DSA_key.
mov ecx, esi
call eax
lea ecx, [ebp - 0x370]
push ecx
push 0x7aabec
jmp 0x49f6e0
mov ecx, dword [ebp - 0x334]
call fcn.004a7c10
test al, al
je 0x49f6b3
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Using_an_RSA_key.
mov ecx, esi
call eax
lea ecx, [ebp - 0x370]
push ecx
push 0x7aabf4
jmp 0x49f6e0
mov ecx, dword [ebp - 0x334]
call fcn.004a7c40
mov ecx, esi
test al, al
je 0x4a046d
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Using_an_Ed25519_key.
call eax
lea ecx, [ebp - 0x370]
push ecx
push 0x7aabe0
call fcn.0048fd20
add esp, 8
lea ecx, [ebp - 0x3b4]
call fcn.0040fe80
mov eax, dword [ebp - 0x334]
push esi
lea edx, [ebp - 0x3b4]
push edx
push eax
mov byte [ebp - 4], 4
call fcn.004904f0
add esp, 0xc
test al, al
jne 0x49f73a
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_get_public_key_blob.
mov ecx, esi
call eax
lea ecx, [ebp - 0x3b4]
mov dword [ebx], 2
mov byte [ebp - 4], 3
call fcn.004105c0
jmp 0x4a047f
lea ecx, [ebp - 0x370]
push ecx
lea edx, [ebp - 0x3b4]
push edx
call fcn.0048ff60
mov eax, dword [ebp - 0x33c]
add esp, 8
push esi
push eax
lea ecx, [ebp - 0x374]
push ecx
lea edx, [ebp - 0x370]
push edx
push 0
push str.USERAUTH_REQUEST__publickey_
mov ecx, edi
mov dword [ebp - 0x374], 0
call fcn.004993b0
test al, al
mov eax, dword [esi]
mov ecx, esi
jne 0x49f7aa
mov edx, dword [eax + 0x14]
push str.Error_sending_public_key_check
call edx
lea ecx, [ebp - 0x3b4]
mov dword [ebx], 1
mov byte [ebp - 4], 3
call fcn.004105c0
jmp 0x4a047f
mov edx, dword [eax + 0x18]
push str.Sent_public_key_request.
call edx
lea ecx, [ebp - 0x468]
call fcn.00496830
lea eax, [ebp - 0x468]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00496990
mov ecx, dword [ebp - 0x33c]
push esi
push ecx
push 1
lea edx, [ebp - 0x468]
push edx
mov ecx, edi
call fcn.0049ef10
test al, al
jne 0x49f83c
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Error_reading_public_key_auth_response.
mov ecx, esi
call edx
xor eax, eax
lea ecx, [ebp - 0x430]
mov dword [ebx], 1
mov byte [ebp - 4], 4
mov dword [ebp - method.SshReadParams.virtual_0], vtable.SshReadParams.0
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x440], eax
call fcn.004105c0
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 3
call fcn.004105c0
jmp 0x4a047f
mov eax, dword [ebp - 0x434]
cmp eax, 0x3c
jne 0x49f85a
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.OK_to_proceed_with_publickey_authentication.
mov ecx, esi
call edx
jmp 0x49f9cf
cmp eax, 0x33
jne 0x4a0454
lea ecx, [ebp - 0x3d0]
call fcn.0042b220
push esi
lea eax, [ebp - 0x335]
push eax
lea ecx, [ebp - 0x3d0]
push ecx
lea edx, [ebp - 0x430]
push edx
mov byte [ebp - 4], 6
mov byte [ebp - 0x3b8], 1
mov byte [ebp - 0x335], 0
call fcn.00497110
add esp, 0x10
mov byte [ebp - 0x32d], 0
test al, al
je 0x49f988
lea ecx, [ebp - 0x32c]
call fcn.00403e00
lea eax, [ebp - 0x32c]
push eax
push 0x7a4c0c
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 7
call fcn.0042ae50
mov eax, dword [esi]
add eax, 0x2c
lea ecx, [ebp - 0x32c]
mov dword [ebp - 0x374], eax
call fcn.00405670
mov edx, dword [ebp - 0x374]
push eax
mov eax, dword [edx]
push str.AuthList
mov ecx, esi
call eax
movzx ecx, byte [ebp - 0x335]
push 0x76785c
push ecx
push str.TRAN_Partial_success:
mov ecx, edi
call fcn.00494d50
push 0x76785c
lea ecx, [ebp - 0x32c]
call fcn.00405670
push eax
push str.TRAN_Auth_list:
mov ecx, edi
call fcn.00494c70
push str.publickey
lea ecx, [ebp - 0x32c]
call fcn.00406030
test al, al
je 0x49f94e
mov byte [ebp - 0x32d], 1
jmp 0x49f970
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Authentication_failed_or_partial_success.__3_
mov ecx, esi
call eax
movzx ecx, byte [ebp - 0x335]
push ecx
push str.PartialSuccess3
mov ecx, esi
call fcn.00474a80
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 6
call fcn.00403e90
cmp byte [ebp - 0x32d], 0
jne 0x49f9c0
lea ecx, [ebp - 0x3d0]
mov dword [ebx], 3
mov byte [ebp - 4], 5
call fcn.0042acd0
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 4
call fcn.00496880
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 3
call fcn.004105c0
jmp 0x4a047f
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 5
call fcn.0042acd0
lea ecx, [ebp - 0x370]
call fcn.0040fb90
push 0x32
lea ecx, [ebp - 0x370]
call fcn.00410ec0
mov ecx, dword [ebp - 0x37c]
lea edx, [ebp - 0x370]
push edx
call fcn.00405670
push eax
call fcn.0048fd20
lea eax, [ebp - 0x370]
push eax
push str.ssh_connection
call fcn.0048fd20
lea ecx, [ebp - 0x370]
push ecx
push str.publickey
call fcn.0048fd20
lea edx, [ebp - 0x370]
push edx
push 1
call fcn.0048fb50
mov ecx, dword [ebp - 0x334]
add esp, 0x20
call fcn.004a7c20
test al, al
je 0x49fa4f
lea eax, [ebp - 0x370]
push eax
push 0x7aabec
jmp 0x49fa78
mov ecx, dword [ebp - 0x334]
call fcn.004a7c40
test al, al
je 0x49fa6c
lea ecx, [ebp - 0x370]
push ecx
push 0x7aabe0
jmp 0x49fa78
lea edx, [ebp - 0x370]
push edx
push 0x7aabf4
call fcn.0048fd20
add esp, 8
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x3b4]
push ecx
call fcn.0048ff60
add esp, 8
lea ecx, [ebp - 0x398]
call fcn.0040fe80
lea edx, [ebp - 0x398]
push edx
lea eax, [edi + 0x9f0]
push eax
mov byte [ebp - 4], 8
call fcn.0048ff60
add esp, 8
push 0x32
lea ecx, [ebp - 0x398]
call fcn.00410ec0
lea ecx, [ebp - 0x398]
push ecx
mov ecx, dword [ebp - 0x37c]
call fcn.00405670
push eax
call fcn.0048fd20
lea edx, [ebp - 0x398]
push edx
push str.ssh_connection
call fcn.0048fd20
lea eax, [ebp - 0x398]
push eax
push str.publickey
call fcn.0048fd20
lea ecx, [ebp - 0x398]
push ecx
push 1
call fcn.0048fb50
mov ecx, dword [ebp - 0x334]
add esp, 0x20
call fcn.004a7c20
test al, al
je 0x49fb30
lea edx, [ebp - 0x398]
push edx
push 0x7aabec
jmp 0x49fb59
mov ecx, dword [ebp - 0x334]
call fcn.004a7c40
test al, al
je 0x49fb4d
lea eax, [ebp - 0x398]
push eax
push 0x7aabe0
jmp 0x49fb59
lea ecx, [ebp - 0x398]
push ecx
push 0x7aabf4
call fcn.0048fd20
add esp, 8
lea edx, [ebp - 0x398]
push edx
lea eax, [ebp - 0x3b4]
push eax
call fcn.0048ff60
add esp, 8
lea ecx, [ebp - 0x408]
call fcn.0040fe80
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x398]
push edx
mov byte [ebp - 4], 9
call fcn.004eaec0
add esp, 8
lea ecx, [ebp - 0x3ec]
call fcn.0040fe80
mov ecx, dword [ebp - 0x334]
mov byte [ebp - 4], 0xa
call fcn.004a7c20
test al, al
je 0x49fce8
lea ecx, [ebp - 0x3d0]
call fcn.0040fe80
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xb
call fcn.004a5cf0
mov ecx, dword [ebp - 0x334]
push esi
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0xc
call fcn.004a7bf0
push esi
lea ecx, [ebp - 0x3d0]
push ecx
lea edx, [ebp - 0xf8]
push edx
lea ecx, [ebp - 0x408]
call fcn.004033b0
push eax
lea ecx, [ebp - 0x408]
call fcn.0040fbb0
push eax
call fcn.0051bc40
add esp, 0x14
test al, al
jne 0x49fc86
mov dword [ebx], 2
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_create_DSA_signature.
mov ecx, esi
call edx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xb
call fcn.004a5da0
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0xa
call fcn.004105c0
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 9
call fcn.004105c0
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 8
call fcn.004105c0
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 5
call fcn.004105c0
jmp 0x49f99d
lea eax, [ebp - 0x3ec]
push eax
push 0x7aabec
call fcn.0048fd20
lea ecx, [ebp - 0x3ec]
push ecx
lea edx, [ebp - 0x3d0]
push edx
call fcn.0048ff60
add esp, 0x10
lea ecx, [ebp - 0x3d0]
call fcn.004033b0
push eax
push str.dssSigLen
mov ecx, esi
call fcn.00474a80
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xb
call fcn.004a5da0
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0xa
call fcn.004105c0
jmp 0x49ff61
mov ecx, dword [ebp - 0x334]
call fcn.004a7c40
test al, al
je 0x49fe28
lea ecx, [ebp - 0x4a0]
call fcn.0040fe80
mov ecx, dword [ebp - 0x334]
mov byte [ebp - 4], 0xd
call fcn.0040fbb0
mov dword [ebp - 0x334], eax
test eax, eax
je 0x49fd8a
lea ecx, [ebp - 0x3d0]
call fcn.0040fe80
mov eax, dword [ebp - 0x334]
add eax, 0x24
push eax
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0xe
call fcn.00412840
mov ecx, dword [ebp - 0x334]
add ecx, 8
push ecx
lea ecx, [ebp - 0x3d0]
call fcn.00412840
lea ecx, [ebp - 0x398]
call fcn.004033b0
add eax, 0x40
cmp eax, 0x190
jbe 0x49fd95
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.username_too_long.
mov ecx, esi
call eax
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0xd
call fcn.004105c0
lea ecx, [ebp - 0x4a0]
jmp 0x49fc4b
xor eax, eax
lea ecx, [ebp - 0x3d0]
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], eax
call fcn.0040fbb0
push eax
lea ecx, [ebp - 0x398]
call fcn.004033b0
push 0
push eax
lea ecx, [ebp - 0x398]
call fcn.0040fbb0
push eax
lea ecx, [ebp - 0x378]
push ecx
lea edx, [ebp - 0x1a0]
push edx
call fcn.0050dff0
lea eax, [ebp - 0x3ec]
push eax
push 0x7aabe0
call fcn.0048fd20
lea ecx, [ebp - 0x3ec]
push ecx
lea edx, [ebp - 0x1a0]
push 0x40
push edx
call fcn.0048ffc0
add esp, 0x2c
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0xd
call fcn.004105c0
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0xa
call fcn.004105c0
jmp 0x49ff61
lea ecx, [ebp - 0x374]
call fcn.00505ba0
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0xf
call fcn.0040fe80
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x10
call fcn.00508bc0
mov ecx, dword [ebp - 0x334]
push esi
lea eax, [ebp - 0x134]
push eax
mov byte [ebp - 4], 0x11
call fcn.004a7bd0
push str.sha1
call fcn.00488ac0
add esp, 4
push esi
lea ecx, [ebp - 0x3d0]
push ecx
push 0
push 1
lea edx, [ebp - 0x134]
push edx
push eax
push 1
lea ecx, [ebp - 0x408]
call fcn.004033b0
push eax
lea ecx, [ebp - 0x408]
call fcn.0040fbb0
push eax
call fcn.00506ae0
add esp, 0x24
test al, al
jne 0x49fef5
mov dword [ebx], 2
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_create_RSA_signature.
mov ecx, esi
call edx
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x10
call fcn.00508cb0
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0xf
call fcn.004105c0
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0xa
call fcn.00505bb0
jmp 0x49fc54
lea eax, [ebp - 0x3ec]
push eax
push 0x7aabf4
call fcn.0048fd20
lea ecx, [ebp - 0x3ec]
push ecx
lea edx, [ebp - 0x3d0]
push edx
call fcn.0048ff60
add esp, 0x10
lea ecx, [ebp - 0x3d0]
call fcn.004033b0
push eax
push str.rsaSigLen
mov ecx, esi
call fcn.00474a80
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x10
call fcn.00508cb0
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0xf
call fcn.004105c0
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0xa
call fcn.00505bb0
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.0048ff60
mov edx, dword [ebp - 0x33c]
add esp, 8
push esi
push edx
lea eax, [ebp - 0x370]
push eax
push 0
push str.USERAUTH_REQUEST__publickey_
mov ecx, edi
call fcn.0049ad10
mov ecx, esi
test al, al
jne 0x49ffb1
mov dword [ebx], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Error_sending_public_key_with_signature
call eax
jmp 0x49fc54
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Sent_public_key_request_with_signature.
call eax
lea ecx, [ebp - 0x430]
call fcn.0040fb90
lea ecx, [ebp - 0x468]
push ecx
mov ecx, edi
call fcn.00496990
mov edx, dword [ebp - 0x33c]
push esi
push edx
push 1
lea eax, [ebp - 0x468]
push eax
call fcn.0049ef10
test al, al
je 0x4a0045
mov eax, dword [ebp - 0x434]
cmp eax, 0x34
je 0x4a005e
cmp eax, 6
jne 0x4a0117
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Received_unexpected_SERVICE_ACCEPT.
mov ecx, esi
call eax
lea ecx, [ebp - 0x430]
call fcn.0040fb90
lea ecx, [ebp - 0x468]
push ecx
mov ecx, edi
call fcn.00496990
mov edx, dword [ebp - 0x33c]
push esi
push edx
push 1
lea eax, [ebp - 0x468]
push eax
call fcn.0049ef10
test al, al
jne 0x49fff0
mov dword [ebx], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Error_reading_final_public_key_auth_response.
mov ecx, esi
call eax
jmp 0x49fc54
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Public_key_authentication_succeeded.
mov ecx, esi
call eax
cmp byte [edi + 0xa14], 0
je 0x4a0086
mov eax, 2
mov dword [edi + 0xa0c], eax
mov dword [edi + 0xa10], eax
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 9
call fcn.004105c0
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 8
call fcn.004105c0
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 5
call fcn.004105c0
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 4
call fcn.00496880
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 3
call fcn.004105c0
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 2
call fcn.004105c0
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 1
call fcn.0040acf0
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0
call fcn.00474f80
lea ecx, [ebp - 0x348]
mov dword [ebp - 4], 0xffffffff
call fcn.0046f6e0
mov al, 1
jmp 0x4a04c0
cmp eax, 0x33
jne 0x4a041d
lea ecx, [ebp - 0x484]
call fcn.0042b220
push esi
lea ecx, [ebp - 0x32d]
push ecx
lea edx, [ebp - 0x484]
push edx
lea eax, [ebp - 0x430]
push eax
mov byte [ebp - 4], 0x12
mov byte [ebp - 0x46c], 1
mov byte [ebp - 0x32d], 0
call fcn.00497110
add esp, 0x10
mov ecx, esi
test al, al
jne 0x4a0187
mov dword [ebx], 4
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_parse_user_auth_failure_message.
call eax
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0xa
call fcn.0042acd0
jmp 0x49fc54
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Authentication_failed_or_partial_success.__4_
call eax
movzx ecx, byte [ebp - 0x32d]
push ecx
push str.PartialSuccess4
mov ecx, esi
call fcn.00474a80
lea ecx, [ebp - 0x32c]
call fcn.00403e00
lea edx, [ebp - 0x32c]
push edx
push 0x7a4c0c
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0x13
call fcn.0042ae50
mov eax, dword [esi]
add eax, 0x2c
lea ecx, [ebp - 0x32c]
mov dword [ebp - 0x374], eax
call fcn.00405670
push eax
mov eax, dword [ebp - 0x374]
mov edx, dword [eax]
push str.AuthList
mov ecx, esi
call edx
movzx eax, byte [ebp - 0x32d]
push 0x76785c
push eax
push str.TRAN_Partial_success:
mov ecx, edi
call fcn.00494d50
push 0x76785c
lea ecx, [ebp - 0x32c]
call fcn.00405670
push eax
push str.TRAN_Auth_list:
mov ecx, edi
call fcn.00494c70
cmp dword [ebp - 0x40c], 0
je 0x4a0404
push str.password
lea ecx, [ebp - 0x32c]
call fcn.00406030
test al, al
je 0x4a0404
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Continuing_to_authenticate_with_the_password...
mov ecx, esi
call eax
lea ecx, [ebp - 0x370]
call fcn.0040fb90
push 0x32
lea ecx, [ebp - 0x370]
call fcn.00410ec0
lea ecx, [ebp - 0x370]
push ecx
mov ecx, dword [ebp - 0x37c]
call fcn.00405670
push eax
call fcn.0048fd20
lea edx, [ebp - 0x370]
push edx
push str.ssh_connection
call fcn.0048fd20
lea eax, [ebp - 0x370]
push eax
push str.password
call fcn.0048fd20
lea ecx, [ebp - 0x370]
push ecx
push 0
call fcn.0048fb50
mov eax, dword [ebp - 0x40c]
lea edx, [ebp - 0x370]
push edx
push eax
call fcn.0048fd20
mov ecx, dword [ebp - 0x33c]
add esp, 0x28
push esi
push ecx
lea edx, [ebp - 0x370]
push edx
push 0
push str.USERAUTH_REQUEST__password_
mov ecx, edi
call fcn.0049ad10
mov ecx, esi
test al, al
jne 0x4a032c
push str.Error_sending_login_password
mov dword [ebx], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
call edx
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x12
call fcn.00403e90
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0xa
call fcn.0042acd0
jmp 0x49fc54
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Sent_login_password
call edx
lea ecx, [ebp - 0x430]
call fcn.0040fb90
lea eax, [ebp - 0x468]
push eax
mov ecx, edi
call fcn.00496990
mov ecx, dword [ebp - 0x33c]
push esi
push ecx
push 1
lea edx, [ebp - 0x468]
push edx
mov ecx, edi
call fcn.0049ef10
test al, al
jne 0x4a0376
push str.Error_reading_PWPK_user_auth_response.
mov ecx, esi
jmp 0x4a02fc
mov eax, dword [ebp - 0x434]
cmp eax, 0x34
jne 0x4a03cc
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Password_authentication_successful..
mov ecx, esi
call edx
cmp byte [edi + 0xa14], 0
je 0x4a03a9
mov eax, 2
mov dword [edi + 0xa0c], eax
mov dword [edi + 0xa10], eax
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x12
call fcn.00403e90
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0xa
call fcn.0042acd0
jmp 0x4a0086
cmp eax, 0x33
jne 0x4a03eb
push esi
lea eax, [ebp - 0x430]
push eax
mov ecx, edi
mov dword [ebx], 5
call fcn.0049a7e0
jmp 0x4a0309
mov dword [ebx], 4
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Password_authentication_failed.
mov ecx, esi
call eax
jmp 0x4a0309
mov dword [ebx], 5
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Publickey_authentication_failed..
mov ecx, esi
call eax
jmp 0x4a0309
mov dword [ebx], 4
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Publickey_authentication_failed.
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x434]
mov edi, dword [esi]
push ecx
call fcn.00496690
mov edx, dword [edi + 0x2c]
add esp, 4
push eax
push str.msgType
mov ecx, esi
call edx
jmp 0x49fc54
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Unable_to_proceed_with_publickey_authentication.
mov ecx, esi
call edx
mov dword [ebx], 4
jmp 0x49f99d
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Must_be_a_DSA_or_RSA_key.
call edx
mov dword [ebx], 2
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 2
call fcn.004105c0
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 1
call fcn.0040acf0
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0
call fcn.00474f80
lea ecx, [ebp - 0x348]
mov dword [ebp - 4], 0xffffffff
call fcn.0046f6e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0070bb4c
mov esp, ebp
pop ebp
ret 0x18