Function at 0x582cc0
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6509d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c4
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0x44]
call fcn.004eea40
mov esi, dword [esp + 0x4f8]
push str.sshAuthenticatePk
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4e4], 0
call fcn.004f0370
lea ecx, [esp + 0x158]
mov byte [esp + 0x4dc], 1
call fcn.004e57f0
mov ebp, dword [esp + 0x4ec]
lea eax, [esp + 0x158]
push esi
push eax
mov ecx, ebp
mov byte [esp + 0x4e4], 2
call fcn.0053b700
lea ecx, [esp + 0x158]
push ecx
push str.keyFingerprint
mov ecx, esi
call fcn.004efcb0
mov ebx, dword [esp + 0x4f0]
mov ecx, dword [esp + 0x4f4]
mov dword [ebx], 0
call fcn.00514cb0
mov edx, dword [esp + 0x4f4]
push esi
push edx
mov ecx, edi
call fcn.005821d0
test al, al
jne 0x582d8b
mov dword [ebx], 1
jmp 0x5847b8
lea ecx, [esp + 0x18]
call fcn.004dfe70
push 0x32
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4e0], 3
call fcn.004e0da0
mov ecx, dword [esp + 0x4e4]
lea eax, [esp + 0x18]
push eax
call fcn.004dbab0
push eax
call fcn.005da4d0
lea ecx, [esp + 0x20]
push ecx
push str.ssh_connection
call fcn.005da4d0
lea edx, [esp + 0x28]
push edx
push str.publickey
call fcn.005da4d0
lea eax, [esp + 0x30]
push eax
push 0
call fcn.005da380
add esp, 0x20
mov ecx, ebp
call fcn.0053c490
test al, al
je 0x582e11
mov edx, dword [esi]
push str.Using_a_DSA_key.
mov ecx, esi
call dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
push 0x6ecbf8
jmp 0x582ec2
mov ecx, ebp
call fcn.005a1930
test al, al
je 0x582e37
mov edx, dword [esi]
push str.Using_an_RSA_key.
mov ecx, esi
call dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
push 0x6ecbf0
jmp 0x582ec2
mov ecx, ebp
call fcn.0053c4b0
test al, al
je 0x582e5a
mov edx, dword [esi]
push str.Using_an_Ed25519_key.
mov ecx, esi
call dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
push str.ssh_ed25519
jmp 0x582ec2
mov ecx, ebp
call fcn.0053c4a0
test al, al
je 0x584795
mov ecx, ebp
call fcn.0053b770
cmp eax, 0x100
jg 0x582e8f
mov edx, dword [esi]
push str.Using_an_ecdsa_sha2_nistp256_key.
mov ecx, esi
call dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
push str.ecdsa_sha2_nistp256
jmp 0x582ec2
mov edx, dword [esi]
cmp eax, 0x180
jg 0x582eae
push str.Using_an_ecdsa_sha2_nistp384_key.
mov ecx, esi
call dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
push str.ecdsa_sha2_nistp384
jmp 0x582ec2
push str.Using_an_ecdsa_sha2_nistp521_key.
mov ecx, esi
call dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
push str.ecdsa_sha2_nistp521
call fcn.005da4d0
add esp, 8
lea ecx, [esp + 0x8c]
call fcn.004dfe70
lea ecx, [esp + 0x8c]
push esi
push ecx
push ebp
mov byte [esp + 0x4e8], 4
call fcn.005daa50
add esp, 0xc
test al, al
jne 0x582f0b
mov edx, dword [esi]
push str.Failed_to_get_public_key_blob.
mov ecx, esi
call dword [edx + 0x14]
mov dword [ebx], 2
jmp 0x58477f
lea ecx, [esp + 0x8c]
call fcn.005a8750
push eax
lea ecx, [esp + 0x90]
call fcn.004dda10
push eax
push str.dbPkBlob_qp
mov ecx, esi
call fcn.004ef7d0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x8c]
push eax
push ecx
call fcn.005da550
mov edx, dword [esp + 0x4fc]
add esp, 8
lea eax, [esp + 0x18]
mov ecx, edi
push esi
push edx
push eax
push 0
push str.USERAUTH_REQUEST__publickey_
call fcn.00577f40
test al, al
jne 0x582f7d
mov edx, dword [esi]
push str.Error_sending_public_key_check
mov ecx, esi
call dword [edx + 0x14]
mov dword [ebx], 1
jmp 0x58477f
mov eax, dword [esi]
push str.Sent_public_key_request.
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [esp + 0xe0]
call fcn.0057e400
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 5
push ecx
mov ecx, edi
call fcn.00580520
mov edx, dword [esp + 0x4f4]
push esi
push edx
lea eax, [esp + 0xe8]
push 1
push eax
mov ecx, edi
call fcn.005803f0
test al, al
jne 0x582fe1
mov edx, dword [esi]
push str.Error_reading_public_key_auth_response.
mov ecx, esi
call dword [edx + 0x14]
mov dword [ebx], 1
jmp 0x58476b
mov eax, dword [esp + 0x114]
cmp eax, 0x3c
jne 0x582ffe
mov eax, dword [esi]
push str.OK_to_proceed_with_publickey_authentication.
mov ecx, esi
call dword [eax + 0x18]
jmp 0x583199
cmp eax, 0x33
jne 0x584737
lea ecx, [esp + 0xa8]
call fcn.00506f60
lea ecx, [esp + 0x4c]
push esi
lea edx, [esp + 0xac]
push ecx
lea eax, [esp + 0x120]
push edx
push eax
mov byte [esp + 0x4ec], 6
mov byte [esp + 0xd0], 1
mov byte [esp + 0x5c], 0
call fcn.00584d70
add esp, 0x10
mov byte [esp + 0x13], 0
test al, al
je 0x58313d
lea ecx, [esp + 0x1e8]
call fcn.004d91b0
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x4dc], 7
push ecx
push 0x6ec6e8
lea ecx, [esp + 0xb0]
call fcn.00507180
mov ebx, dword [esi]
lea ecx, [esp + 0x1e8]
call fcn.004dbab0
push eax
push str.AuthList
mov ecx, esi
call dword [ebx + 0x2c]
mov edx, dword [esp + 0x4c]
push 0x6b5dfc
and edx, 0xff
mov ecx, edi
push edx
push str.TRAN_Partial_success:
call fcn.00579fc0
push 0x6b5dfc
lea ecx, [esp + 0x1ec]
call fcn.004dbab0
push eax
push str.TRAN_Auth_list:
mov ecx, edi
call fcn.00579ee0
push str.publickey
lea ecx, [esp + 0x1ec]
call fcn.004dca00
test al, al
je 0x5830f8
mov eax, dword [esi]
push str.Proceeding_with_publickey_authentication...
mov ecx, esi
mov bl, 1
call dword [eax + 0x18]
jmp 0x58311e
mov edx, dword [esi]
push str.Authentication_failed_or_partial_success.__3_
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x4c]
mov ecx, esi
and eax, 0xff
push eax
push str.PartialSuccess3
call fcn.004effe0
mov bl, byte [esp + 0x13]
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x4dc], 6
call fcn.004d9240
test bl, bl
jne 0x58317e
mov ebx, dword [esp + 0x4f0]
push str.failed
push str.authResult
mov ecx, esi
mov dword [ebx], 3
call fcn.004eeed0
push str.Publickey_authentication_not_supported_by_the_server
push str.authFailReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 5
call fcn.00506fa0
jmp 0x58476b
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 5
call fcn.00506fa0
mov ebx, dword [esp + 0x4f0]
lea ecx, [esp + 0x18]
call fcn.004dd9e0
push 0x32
lea ecx, [esp + 0x1c]
call fcn.004e0da0
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4e8]
call fcn.004dbab0
push eax
call fcn.005da4d0
lea edx, [esp + 0x20]
push edx
push str.ssh_connection
call fcn.005da4d0
lea eax, [esp + 0x28]
push eax
push str.publickey
call fcn.005da4d0
lea ecx, [esp + 0x30]
push ecx
push 1
call fcn.005da380
add esp, 0x20
mov ecx, ebp
call fcn.0053c490
test al, al
je 0x583208
lea edx, [esp + 0x18]
push edx
push 0x6ecbf8
jmp 0x58326d
mov ecx, ebp
call fcn.0053c4b0
test al, al
je 0x58321f
lea eax, [esp + 0x18]
push eax
push str.ssh_ed25519
jmp 0x58326d
mov ecx, ebp
call fcn.0053c4a0
test al, al
je 0x583263
mov ecx, ebp
call fcn.0053b770
cmp eax, 0x100
jg 0x583244
lea ecx, [esp + 0x18]
push ecx
push str.ecdsa_sha2_nistp256
jmp 0x58326d
cmp eax, 0x180
jg 0x583257
lea edx, [esp + 0x18]
push edx
push str.ecdsa_sha2_nistp384
jmp 0x58326d
lea eax, [esp + 0x18]
push eax
push str.ecdsa_sha2_nistp521
jmp 0x58326d
lea ecx, [esp + 0x18]
push ecx
push 0x6ecbf0
call fcn.005da4d0
add esp, 8
lea edx, [esp + 0x18]
lea eax, [esp + 0x8c]
push edx
push eax
call fcn.005da550
add esp, 8
lea ecx, [esp + 0x54]
call fcn.004dfe70
lea ecx, [esp + 0x54]
lea edx, [edi + 0xab8]
push ecx
push edx
mov byte [esp + 0x4e4], 8
call fcn.005da550
add esp, 8
lea ecx, [esp + 0x54]
push 0x32
call fcn.004e0da0
mov ecx, dword [esp + 0x4e4]
lea eax, [esp + 0x54]
push eax
call fcn.004dbab0
push eax
call fcn.005da4d0
lea ecx, [esp + 0x5c]
push ecx
push str.ssh_connection
call fcn.005da4d0
lea edx, [esp + 0x64]
push edx
push str.publickey
call fcn.005da4d0
lea eax, [esp + 0x6c]
push eax
push 1
call fcn.005da380
add esp, 0x20
mov ecx, ebp
call fcn.0053c490
test al, al
je 0x583315
lea ecx, [esp + 0x54]
push ecx
push 0x6ecbf8
jmp 0x58337a
mov ecx, ebp
call fcn.0053c4b0
test al, al
je 0x58332c
lea edx, [esp + 0x54]
push edx
push str.ssh_ed25519
jmp 0x58337a
mov ecx, ebp
call fcn.0053c4a0
test al, al
je 0x583370
mov ecx, ebp
call fcn.0053b770
cmp eax, 0x100
jg 0x583351
lea eax, [esp + 0x54]
push eax
push str.ecdsa_sha2_nistp256
jmp 0x58337a
cmp eax, 0x180
jg 0x583364
lea ecx, [esp + 0x54]
push ecx
push str.ecdsa_sha2_nistp384
jmp 0x58337a
lea edx, [esp + 0x54]
push edx
push str.ecdsa_sha2_nistp521
jmp 0x58337a
lea eax, [esp + 0x54]
push eax
push 0x6ecbf0
call fcn.005da4d0
add esp, 8
lea ecx, [esp + 0x54]
lea edx, [esp + 0x8c]
push ecx
push edx
call fcn.005da550
add esp, 8
lea ecx, [esp + 0x70]
call fcn.004dfe70
mov ecx, ebp
mov byte [esp + 0x4dc], 9
call fcn.0053c490
test al, al
je 0x583553
lea ecx, [esp + 0xc4]
call fcn.004dfe70
lea ecx, [esp + 0x344]
mov byte [esp + 0x4dc], 0xa
call fcn.005d9620
lea eax, [esp + 0x344]
push esi
push eax
mov ecx, ebp
mov byte [esp + 0x4e4], 0xb
call fcn.0053c470
lea ecx, [esp + 0xa8]
call fcn.004dfe70
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x54]
push ecx
push edx
mov byte [esp + 0x4e4], 0xc
call fcn.005dd610
add esp, 8
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x344]
push esi
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.005a8750
push eax
lea ecx, [esp + 0xb8]
call fcn.004dda10
push eax
call fcn.005d5930
add esp, 0x14
test al, al
jne 0x5834c4
mov dword [ebx], 2
mov edx, dword [esi]
push str.Failed_to_create_DSA_signature.
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 0xb
call fcn.004e0890
lea ecx, [esp + 0x344]
mov byte [esp + 0x4dc], 0xa
call fcn.005d96e0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4dc], 9
call fcn.004e0890
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
jmp 0x58476b
lea eax, [esp + 0x70]
push eax
push 0x6ecbf8
call fcn.005da4d0
lea ecx, [esp + 0x78]
lea edx, [esp + 0xcc]
push ecx
push edx
call fcn.005da550
add esp, 0x10
lea ecx, [esp + 0xc4]
call fcn.005a8750
push eax
push str.dssSigLen
mov ecx, esi
call fcn.004effe0
push 0x6ecd90
push str.public_key_type
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 0xb
call fcn.004e0890
lea ecx, [esp + 0x344]
mov byte [esp + 0x4dc], 0xa
call fcn.005d96e0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4dc], 9
call fcn.004e0890
jmp 0x583b73
mov ecx, ebp
call fcn.0053c4b0
test al, al
je 0x58375f
lea ecx, [esp + 0xa8]
call fcn.004dfe70
mov ecx, ebp
mov byte [esp + 0x4dc], 0xd
call fcn.004dda10
mov ebp, eax
test ebp, ebp
jne 0x5835e6
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 9
call fcn.004e0890
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
lea ecx, [esp + 0xc4]
call fcn.004dfe70
lea eax, [ebp + 0x98]
lea ecx, [esp + 0xc4]
push eax
mov byte [esp + 0x4e0], 0xe
call fcn.004de6c0
add ebp, 0x7c
lea ecx, [esp + 0xc4]
push ebp
call fcn.004de6c0
lea ecx, [esp + 0x54]
call fcn.005a8750
add eax, 0x40
cmp eax, 0x190
jbe 0x5836b7
mov edx, dword [esi]
push str.username_too_long.
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4dc], 0xd
call fcn.004e0890
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 9
call fcn.004e0890
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
xor ebp, ebp
lea ecx, [esp + 0xc4]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call fcn.004dda10
push eax
lea ecx, [esp + 0x58]
call fcn.005a8750
push ebp
push eax
lea ecx, [esp + 0x60]
call fcn.004dda10
push eax
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x354]
push eax
push ecx
call fcn.005c9af0
lea edx, [esp + 0x88]
push edx
push str.ssh_ed25519
call fcn.005da4d0
lea eax, [esp + 0x90]
lea ecx, [esp + 0x364]
push eax
push 0x40
push ecx
call fcn.005da580
add esp, 0x2c
mov ecx, esi
push str.ed25519
push str.public_key_type
call fcn.004eeed0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4dc], 0xd
call fcn.004e0890
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 9
call fcn.004e0890
jmp 0x583b73
mov ecx, ebp
call fcn.0053c4a0
test al, al
je 0x583965
mov ecx, ebp
call fcn.00596fa0
test eax, eax
mov dword [esp + 0x14], eax
jne 0x5837cc
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov ecx, ebp
call fcn.0053b770
mov ebp, eax
cmp ebp, 0x100
jg 0x5837e7
mov dword [esp + 0x4c], 7
jmp 0x5837f9
xor edx, edx
cmp ebp, 0x180
setg dl
add edx, 2
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0xc4]
call fcn.004dfe70
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xc4]
push eax
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4e4], 0xf
mov byte [esp + 0xe4], 1
call fcn.005a8750
push eax
lea ecx, [esp + 0x60]
call fcn.004dda10
push eax
call fcn.0055d6a0
add esp, 0x10
cmp ebp, 0x100
jg 0x58385f
lea edx, [esp + 0x70]
push edx
push str.ecdsa_sha2_nistp256
call fcn.005da4d0
add esp, 8
push str.ecdsa_sha2_nistp256
jmp 0x583897
cmp ebp, 0x180
jg 0x583880
lea eax, [esp + 0x70]
push eax
push str.ecdsa_sha2_nistp384
call fcn.005da4d0
add esp, 8
push str.ecdsa_sha2_nistp384
jmp 0x583897
lea ecx, [esp + 0x70]
push ecx
push str.ecdsa_sha2_nistp521
call fcn.005da4d0
add esp, 8
push str.ecdsa_sha2_nistp521
push str.public_key_type
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0xa8]
call fcn.004dfe70
lea ecx, [esp + 0x300]
mov byte [esp + 0x4dc], 0x10
mov byte [esp + 0xc0], 1
call fcn.005de8f0
lea edx, [esp + 0xa8]
push esi
lea eax, [esp + 0x304]
push edx
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x4e8], 0x11
call fcn.005a8750
push eax
lea ecx, [esp + 0xd4]
call fcn.004dda10
mov ecx, dword [esp + 0x24]
push eax
call fcn.005cf880
lea ecx, [esp + 0x70]
lea edx, [esp + 0xa8]
push ecx
push edx
mov byte [esp + 0x90], 1
call fcn.005da550
add esp, 8
lea ecx, [esp + 0x300]
mov byte [esp + 0x4dc], 0x10
call fcn.005de970
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 0xf
call fcn.004e0890
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4dc], 9
call fcn.004e0890
jmp 0x583b73
lea ecx, [esp + 0x4c]
call fcn.005d6580
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 0x12
call fcn.004dfe70
lea ecx, [esp + 0x344]
mov byte [esp + 0x4dc], 0x13
call fcn.005c6e40
lea eax, [esp + 0x344]
push esi
push eax
mov ecx, ebp
mov byte [esp + 0x4e4], 0x14
call fcn.0053c450
push str.sha1
call fcn.0055c9b0
add esp, 4
lea ecx, [esp + 0xc4]
mov ebp, eax
call fcn.004dfe70
lea ecx, [esp + 0xc4]
lea edx, [esp + 0x54]
push ecx
push edx
mov byte [esp + 0x4e4], 0x15
call fcn.005dd610
add esp, 8
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x344]
push esi
push eax
push 0
push 1
push ecx
push 0xffffffffffffffff
push ebp
push 1
lea ecx, [esp + 0xe4]
call fcn.005a8750
push eax
lea ecx, [esp + 0xe8]
call fcn.004dda10
push eax
call fcn.005d7860
add esp, 0x28
test al, al
jne 0x583ad8
mov dword [ebx], 2
mov edx, dword [esi]
push str.Failed_to_create_RSA_signature.
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4dc], 0x14
call fcn.004e0890
lea ecx, [esp + 0x344]
mov byte [esp + 0x4dc], 0x13
call fcn.005c6f30
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 0x12
call fcn.004e0890
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4dc], 9
call fcn.005d65b0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
lea eax, [esp + 0x70]
push eax
push 0x6ecbf0
call fcn.005da4d0
lea ecx, [esp + 0x78]
lea edx, [esp + 0xb0]
push ecx
push edx
call fcn.005da550
add esp, 0x10
lea ecx, [esp + 0xa8]
call fcn.005a8750
push eax
push str.rsaSigLen
mov ecx, esi
call fcn.004effe0
push 0x6ecda4
push str.public_key_type
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4dc], 0x14
call fcn.004e0890
lea ecx, [esp + 0x344]
mov byte [esp + 0x4dc], 0x13
call fcn.005c6f30
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4dc], 0x12
call fcn.004e0890
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4dc], 9
call fcn.005d65b0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x70]
push eax
push ecx
call fcn.005da550
mov ebp, dword [esp + 0x4fc]
add esp, 8
lea edx, [esp + 0x18]
mov ecx, edi
push esi
push ebp
push edx
push 0
push str.USERAUTH_REQUEST__publickey_
call fcn.00577f40
test al, al
jne 0x583c06
mov dword [ebx], 1
mov eax, dword [esi]
push str.Error_sending_public_key_with_signature
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov edx, dword [esi]
push str.Sent_public_key_request_with_signature.
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [esp + 0x118]
call fcn.004dd9e0
lea eax, [esp + 0xe0]
mov ecx, edi
push eax
call fcn.00580520
push esi
push ebp
lea ecx, [esp + 0xe8]
push 1
push ecx
mov ecx, edi
call fcn.005803f0
test al, al
je 0x583c9b
mov eax, dword [esp + 0x114]
cmp eax, 0x34
je 0x583cfc
cmp eax, 6
jne 0x583de0
mov edx, dword [esi]
push str.Received_unexpected_SERVICE_ACCEPT.
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [esp + 0x118]
call fcn.004dd9e0
lea eax, [esp + 0xe0]
mov ecx, edi
push eax
call fcn.00580520
push esi
push ebp
lea ecx, [esp + 0xe8]
push 1
push ecx
mov ecx, edi
call fcn.005803f0
test al, al
jne 0x583c44
mov dword [ebx], 1
mov edx, dword [esi]
push str.Error_reading_final_public_key_auth_response.
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov eax, dword [esi]
push str.Public_key_authentication_succeeded.
mov ecx, esi
call dword [eax + 0x18]
mov al, byte [edi + 0xadc]
test al, al
je 0x583d23
mov eax, 2
mov dword [edi + 0xad4], eax
mov dword [edi + 0xad8], eax
push str.success
push str.authResult
mov ecx, esi
call fcn.004eeed0
push str.Key_is_correct
push str.authSuccessReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 2
call fcn.004e0890
lea ecx, [esp + 0x158]
mov byte [esp + 0x4dc], 1
call fcn.004e58d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4dc], 0
call fcn.004f03e0
lea ecx, [esp + 0x40]
mov dword [esp + 0x4dc], 0xffffffff
call fcn.004eea90
mov al, 1
jmp 0x5847f3
cmp eax, 0x33
jne 0x58469a
lea ecx, [esp + 0x13c]
call fcn.00506f60
lea ecx, [esp + 0x14]
push esi
lea edx, [esp + 0x140]
push ecx
lea eax, [esp + 0x120]
push edx
push eax
mov byte [esp + 0x4ec], 0x16
mov byte [esp + 0x164], 1
mov byte [esp + 0x24], 0
call fcn.00584d70
add esp, 0x10
test al, al
jne 0x583ec7
mov dword [ebx], 4
mov edx, dword [esi]
push str.Failed_to_parse_user_auth_failure_message.
mov ecx, esi
call dword [edx + 0x14]
push str.failed
push str.authResult
mov ecx, esi
call fcn.004eeed0
push str.Protocol_error
push str.authFailReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4dc], 9
call fcn.00506fa0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov eax, dword [esi]
push str.Authentication_failed_or_partial_success.__4_
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esp + 0x14]
and ecx, 0xff
push ecx
push str.PartialSuccess4
mov ecx, esi
call fcn.004effe0
lea ecx, [esp + 0x1e8]
call fcn.004d91b0
lea edx, [esp + 0x1e8]
lea ecx, [esp + 0x13c]
push edx
push 0x6ec6e8
mov byte [esp + 0x4e4], 0x17
call fcn.00507180
mov ebp, dword [esi]
lea ecx, [esp + 0x1e8]
call fcn.004dbab0
push eax
push str.AuthList
mov ecx, esi
call dword [ebp + 0x2c]
mov eax, dword [esp + 0x14]
push 0x6b5dfc
and eax, 0xff
mov ecx, edi
push eax
push str.TRAN_Partial_success:
call fcn.00579fc0
push 0x6b5dfc
lea ecx, [esp + 0x1ec]
call fcn.004dbab0
push eax
push str.TRAN_Auth_list:
mov ecx, edi
call fcn.00579ee0
mov al, byte [esp + 0x14]
mov byte [esp + 0x13], 0
test al, al
jne 0x583fae
push str.PubkeyOrPassword
lea ecx, [esi + 0x90]
call fcn.004e9040
test al, al
je 0x583f9a
mov edx, dword [esi]
push str.publickey_not_accepted__but_continuing_to_authenticate_the_password...
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x583f9e
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x14]
test cl, cl
jne 0x583fae
test al, al
je 0x5845ef
mov ebp, dword [esp + 0x4e8]
test ebp, ebp
je 0x5845ef
push str.password
lea ecx, [esp + 0x1ec]
call fcn.004dca00
test al, al
je 0x5845ef
mov al, byte [esp + 0x14]
test al, al
je 0x583fe5
push str.publickey_success._continue_to_authenticate_with_password...
jmp 0x583fea
push str.publickey_failed._continue_to_authenticate_with_password...
push str.partialAuthResult
mov ecx, esi
call fcn.004eeed0
mov eax, dword [esi]
push str.Continuing_to_authenticate_with_the_password...
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [esp + 0x18]
call fcn.004dd9e0
push 0x32
lea ecx, [esp + 0x1c]
call fcn.004e0da0
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4e8]
call fcn.004dbab0
push eax
call fcn.005da4d0
lea edx, [esp + 0x20]
push edx
push str.ssh_connection
call fcn.005da4d0
lea eax, [esp + 0x28]
push eax
push str.password
call fcn.005da4d0
lea ecx, [esp + 0x30]
push ecx
push 0
call fcn.005da380
lea edx, [esp + 0x38]
push edx
push ebp
call fcn.005da4d0
mov ebp, dword [esp + 0x51c]
add esp, 0x28
lea eax, [esp + 0x18]
mov ecx, edi
push esi
push ebp
push eax
push 0
push str.USERAUTH_REQUEST__password_
call fcn.00577f40
test al, al
jne 0x584112
mov dword [ebx], 1
mov edx, dword [esi]
push str.Error_sending_login_password
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x4dc], 0x16
call fcn.004d9240
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4dc], 9
call fcn.00506fa0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov eax, dword [esi]
push str.Sent_login_password
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [esp + 0x118]
call fcn.004dd9e0
lea ecx, [esp + 0xe0]
push ecx
mov ecx, edi
call fcn.00580520
push esi
push ebp
lea edx, [esp + 0xe8]
push 1
push edx
mov ecx, edi
call fcn.005803f0
test al, al
jne 0x5841dd
mov dword [ebx], 1
mov eax, dword [esi]
push str.Error_reading_PWPK_user_auth_response.
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x4dc], 0x16
call fcn.004d9240
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4dc], 9
call fcn.00506fa0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov eax, dword [esp + 0x114]
cmp eax, 0x34
jne 0x5842f9
mov edx, dword [esi]
push str.Password_authentication_successful..
mov ecx, esi
call dword [edx + 0x18]
mov al, byte [edi + 0xadc]
test al, al
je 0x584214
mov eax, 2
mov dword [edi + 0xad4], eax
mov dword [edi + 0xad8], eax
push str.success
push str.authResult
mov ecx, esi
call fcn.004eeed0
push str.Key_and_password_are_both_correct
push str.authSuccessReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x4dc], 0x16
call fcn.004d9240
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4dc], 9
call fcn.00506fa0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 2
call fcn.004e0890
lea ecx, [esp + 0x158]
mov byte [esp + 0x4dc], 1
call fcn.004e58d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4dc], 0
call fcn.004f03e0
lea ecx, [esp + 0x40]
mov dword [esp + 0x4dc], 0xffffffff
call fcn.004eea90
mov al, 1
jmp 0x5847f3
cmp eax, 0x33
jne 0x584544
mov eax, dword [esi]
push str.Received_SSH2_MSG_USERAUTH_FAILURE_response.
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x13], 0
call fcn.00506f60
lea ecx, [esp + 0x13]
push esi
lea edx, [esp + 0x1d0]
push ecx
lea eax, [esp + 0x120]
push edx
push eax
mov byte [esp + 0x4ec], 0x18
mov byte [esp + 0x1f4], 1
call fcn.00584d70
add esp, 0x10
test al, al
je 0x584481
mov al, byte [esp + 0x13]
test al, al
je 0x584481
mov edx, dword [esi]
push str.Strange..._SSH2_MSG_USERAUTH_FAILURE_was_received_but_the_flag_in_the_message_indicates_success.
mov ecx, esi
call dword [edx + 0x18]
mov al, byte [edi + 0xadc]
test al, al
je 0x584388
mov eax, 2
mov dword [edi + 0xad4], eax
mov dword [edi + 0xad8], eax
push str.success
push str.authResult
mov ecx, esi
call fcn.004eeed0
push str.Key_and_password_are_both_correct
push str.authSuccessReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x4dc], 0x17
call fcn.00506fa0
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x4dc], 0x16
call fcn.004d9240
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4dc], 9
call fcn.00506fa0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 2
call fcn.004e0890
lea ecx, [esp + 0x158]
mov byte [esp + 0x4dc], 1
call fcn.004e58d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4dc], 0
call fcn.004f03e0
lea ecx, [esp + 0x40]
mov dword [esp + 0x4dc], 0xffffffff
call fcn.004eea90
mov al, 1
jmp 0x5847f3
lea eax, [esp + 0x118]
push esi
push eax
mov ecx, edi
mov dword [ebx], 5
call fcn.00582300
push str.failed
push str.authResult
mov ecx, esi
call fcn.004eeed0
push str.Password_is_incorrect
push str.authFailReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x4dc], 0x17
call fcn.00506fa0
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x4dc], 0x16
call fcn.004d9240
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4dc], 9
call fcn.00506fa0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov dword [ebx], 4
mov edx, dword [esi]
push str.Password_authentication_failed.
mov ecx, esi
call dword [edx + 0x14]
push str.failed
push str.authResult
mov ecx, esi
call fcn.004eeed0
push str.Protocol_error
push str.authFailReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x4dc], 0x16
call fcn.004d9240
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4dc], 9
call fcn.00506fa0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov dword [ebx], 5
mov eax, dword [esi]
push str.Publickey_authentication_failed..
mov ecx, esi
call dword [eax + 0x14]
push str.failed
push str.authResult
mov ecx, esi
call fcn.004eeed0
push str.Key_or_username_is_incorrect
push str.authFailReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x4dc], 0x16
call fcn.004d9240
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4dc], 9
call fcn.00506fa0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov dword [ebx], 4
mov edx, dword [esi]
push str.Publickey_authentication_failed.
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x114]
mov edi, dword [esi]
push eax
call fcn.0057e280
add esp, 4
mov ecx, esi
push eax
push str.msgType
call dword [edi + 0x2c]
push str.failed
push str.authResult
mov ecx, esi
call fcn.004eeed0
push str.Protocol_error
push str.authFailReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4dc], 8
call fcn.004e0890
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 5
call fcn.004e0890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov edx, dword [esi]
push str.Unable_to_proceed_with_publickey_authentication.
mov ecx, esi
call dword [edx + 0x14]
push str.failed
push str.authResult
mov ecx, esi
mov dword [ebx], 4
call fcn.004eeed0
push str.Publickey_authentication_not_supported_by_the_server
push str.authFailReason
mov ecx, esi
call fcn.004eeed0
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4dc], 4
call fcn.0057e480
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4dc], 3
call fcn.004e0890
jmp 0x5847a7
mov eax, dword [esi]
push str.Must_be_a_DSA_or_RSA_key.
mov ecx, esi
call dword [eax + 0x14]
mov dword [ebx], 2
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 2
call fcn.004e0890
lea ecx, [esp + 0x158]
mov byte [esp + 0x4dc], 1
call fcn.004e58d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4dc], 0
call fcn.004f03e0
lea ecx, [esp + 0x40]
mov dword [esp + 0x4dc], 0xffffffff
call fcn.004eea90
xor al, al
mov ecx, dword [esp + 0x4d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4d0
ret 0x18