Function at 0x14001e86c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
movzx eax, word [0x14006f210]
mov rbx, rcx
movups xmm0, xmmword [str._____BEGIN_SSH2_PUBLIC_KEY]
mov r9, rcx
mov word [rbp - 0x80], ax
movsd xmm1, qword [0x14006f208]
lea rcx, [rbp - 0x50]
mov al, byte [0x14006f212]
mov edx, 1
mov byte [rbp - 0x7e], al
mov r8d, 0x3ff
mov eax, dword [0x14006eeb0]
mov dword [rsp + 0x60], eax
mov al, byte [0x14006eeb4]
mov byte [rsp + 0x64], al
mov al, byte [0x14006f238]
movups xmmword [rsp + 0x68], xmm0
mov byte [rbp - 0x58], al
mov eax, dword [0x14006f258]
movups xmm0, xmmword [str.PuTTY_User_Key_File_]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14006f25c]
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x4c], ax
movups xmm0, xmmword [str._____BEGIN_SSH2_ENCRYPTED_PRIVAT]
mov al, byte [0x14006f25e]
movsd qword [rsp + 0x78], xmm1
movups xmm1, xmmword [0x14006f228]
mov byte [rsp + 0x4e], al
mov eax, dword [0x14006f268]
movups xmmword [rbp - 0x78], xmm0
mov dword [rsp + 0x28], eax
movups xmm0, xmmword [str._____BEGIN_OPENSSH_PRIVATE_KEY]
movups xmmword [rbp - 0x68], xmm1
movsd xmm1, qword [0x14006f250]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [str._____BEGIN]
movsd qword [rsp + 0x40], xmm1
movsd qword [rsp + 0x20], xmm0
call fcn.140053074
mov rcx, rbx
mov rdi, rax
call fcn.140053400
test edi, edi
jns 0x14001e9ab
xor eax, eax
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400479e0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov esi, 0x20
cmp edi, esi
jge 0x14001e9bb
mov eax, 1
jmp 0x14001e984
movsxd rax, edi
cmp rax, 0x400
jae 0x14001eb60
mov r8, rsi
mov byte [rbp + rax - 0x50], 0
lea rdx, str.SSH_PRIVATE_KEY_FILE_FORMAT_1.1_n
lea rcx, [rbp - 0x50]
call fcn.140048f80
test eax, eax
jne 0x14001e9ed
mov eax, 2
jmp 0x14001e984
mov r8d, 0x1a
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140048f80
test eax, eax
jne 0x14001ea0f
mov eax, 9
jmp 0x14001e984
mov r8d, socket
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140048f80
test eax, eax
jne 0x14001ea31
mov eax, 3
jmp 0x14001e984
mov r8d, 0x1e
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140048f80
test eax, eax
jne 0x14001ea53
mov eax, 6
jmp 0x14001e984
mov r8d, recv
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.140048f80
test eax, eax
jne 0x14001ea75
mov eax, 5
jmp 0x14001e984
mov r8, rsi
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x50]
call fcn.140048f80
test eax, eax
jne 0x14001ea93
mov eax, 7
jmp 0x14001e984
lea rdi, str.0123456789
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.14004ce3c
lea rbx, [rbp - 0x50]
movabs r14, 0x100000401
add rbx, rax
cmp byte [rbx], sil
jne 0x14001eafa
lea rcx, [rbx + 1]
mov rdx, rdi
call fcn.14004ce3c
add rbx, rax
cmp byte [rbx + 1], sil
jne 0x14001eafa
lea rcx, [rbx + 2]
mov rdx, rdi
call fcn.14004ce3c
cmp byte [rbx + rax + 2], sil
ja 0x14001eafa
movsx rax, byte [rbx + rax + 2]
bt r14, rax
jae 0x14001eafa
mov eax, 8
jmp 0x14001e984
lea rdx, [0x14006f1d0]
lea rcx, [rbp - 0x50]
call fcn.1400527dc
lea rbx, [rbp - 0x50]
add rbx, rax
lea rdx, [rbp - 0x50]
mov ecx, ebx
lea rax, [rbp - 0x50]
sub ecx, eax
call fcn.14001e75c
test rax, rax
je 0x14001e9b4
lea rcx, [rbx + 1]
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
call fcn.14004ce3c
cmp byte [rbx + rax + 1], sil
ja 0x14001e9b4
movsx rax, byte [rbx + rax + 1]
bt r14, rax
jae 0x14001e9b4
mov eax, 0xa
jmp 0x14001e984
call fcn.140047b0c
int3