Function at 0x1400fdf10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xe8
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp - 9], rax
mov rbx, qword [rbp + 0x77]
xor r12d, r12d
mov qword [rbp - 0x59], rdx
xor edx, edx
test r9, r9
mov rax, r9
cmove rax, r8
mov qword [rbp - 0x69], r8
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rdx
mov qword [rbp - 0x61], rax
mov qword [rsp + 0x58], rdx
mov qword [rbp - 0x79], rdx
test r8, r8
jne 0x1400fdf9e
mov edx, 0xa2
lea ecx, [r8 + 6]
lea r9, str.....opensslopensslcryptoevpevp_lib.c
lea r8d, [rdx - 3]
mov dword [rsp + 0x20], 0x10e
call fcn.140073540
jmp 0x1400fe283
mov r9d, dword [r8 + 8]
mov dword [rsp + 0x30], r9d
test r9d, r9d
js 0x1400fe283
mov r15d, dword [rbp + 0x7f]
cmp r15d, 0xffffffff
jne 0x1400fdfd1
mov r15d, r9d
mov rdx, qword [rcx + 0x18]
mov eax, dword [rdx + 8]
lea r8d, [rax - 1]
test eax, eax
jne 0x1400fe002
mov eax, r12d
jmp 0x1400fe018
cmp r15d, 0xfffffffe
jne 0x1400fdfd9
jmp 0x1400fdfbd
jge 0x1400fdfbd
mov edx, __WSAFDIsSet
lea r9, [0x1401c6c88]
mov ecx, 4
lea r8d, [rdx - 0xd]
mov dword [rsp + 0x20], WSASetLastError
call fcn.140073540
jmp 0x1400fe283
mov rcx, qword [rdx]
movsxd rax, r8d
mov rcx, qword [rcx + rax*8]
call fcn.14006e2f0
shl r8d, 6
add eax, r8d
lea r13d, [rax - 1]
mov eax, dword [rdx + 8]
and r13d, 7
lea r8d, [rax - 1]
test eax, eax
jne 0x1400fe030
mov eax, r12d
jmp 0x1400fe046
mov rcx, qword [rdx]
movsxd rax, r8d
mov rcx, qword [rcx + rax*8]
call fcn.14006e2f0
shl r8d, 6
add eax, r8d
add eax, 7
mov ecx, r13d
cdq
and edx, 7
lea edi, [rdx + rax]
mov edx, 0xff
shl edx, cl
sar edi, 3
test byte [rbx], dl
je 0x1400fe088
mov edx, __WSAFDIsSet
lea r9, [0x1401c6ce8]
mov ecx, 4
lea r8d, [rdx - 0x10]
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSACleanup
call fcn.140073540
jmp 0x1400fe283
test r13d, r13d
jne 0x1400fe092
inc rbx
dec edi
lea eax, [r9 + 2]
add eax, r15d
cmp edi, eax
jge 0x1400fe0c4
mov edx, __WSAFDIsSet
lea r9, [0x1401c6cb8]
mov ecx, 4
lea r8d, [rdx - 0x28]
mov dword [rsp + 0x20], 0x7e
call fcn.140073540
jmp 0x1400fe283
movsxd rax, edi
cmp byte [rax + rbx - 1], 0xbc
je 0x1400fe0f5
mov edx, __WSAFDIsSet
lea r9, [0x1401c6d48]
mov ecx, 4
lea r8d, [rdx - 0xf]
mov dword [rsp + 0x20], 0x83
call fcn.140073540
jmp 0x1400fe283
sub edi, r9d
lea rdx, [0x1401c6d18]
mov r8d, 0x88
dec edi
movsxd r14, edi
mov ecx, edi
lea rax, [r14 + rbx]
mov qword [rbp - 0x71], rax
call fcn.1400867c0
mov rsi, rax
test rax, rax
jne 0x1400fe146
lea r9, [0x1401c6da8]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0x8b
call fcn.140073540
jmp 0x1400fe283
mov rax, qword [rbp - 0x61]
mov r9d, dword [rsp + 0x30]
mov r8, qword [rbp - 0x71]
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1401005b0
test eax, eax
js 0x1400fe252
mov edx, r12d
test edi, edi
jle 0x1400fe1cd
cmp edi, 0x10
jb 0x1400fe1cd
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea r8, [rcx + rsi]
cmp rsi, rax
ja 0x1400fe18e
cmp r8, rbx
jae 0x1400fe1cd
mov eax, edi
and eax, 0x8000000f
jge 0x1400fe19e
dec eax
or eax, 0xfffffff0
inc eax
mov ecx, edi
sub ecx, eax
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
add edx, 0x10
movdqu xmm1, xmmword [rax + rbx]
movdqu xmm0, xmmword [rax + rsi]
pxor xmm1, xmm0
movdqu xmmword [rax + rsi], xmm1
cmp edx, ecx
jl 0x1400fe1b0
movsxd rax, edx
cmp rax, r14
jge 0x1400fe1f0
sub rbx, rsi
lea rcx, [rax + rsi]
sub r14, rax
nop
movzx eax, byte [rbx + rcx]
lea rcx, [rcx + 1]
xor byte [rcx - 1], al
dec r14
jne 0x1400fe1e0
test r13d, r13d
je 0x1400fe206
mov ecx, 8
mov eax, 0xff
sub ecx, r13d
sar eax, cl
and byte [rsi], al
mov ebx, r12d
cmp byte [rsi], bl
jne 0x1400fe221
lea ecx, [rdi - 1]
mov rax, rsi
cmp ebx, ecx
jge 0x1400fe221
inc rax
inc ebx
cmp byte [rax], r12b
je 0x1400fe213
movsxd rax, ebx
inc ebx
cmp byte [rax + rsi], 1
je 0x1400fe317
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], reloc.WS2_32.dll___WSAFDIsSet
lea r9, [0x1401c6d78]
lea r8d, [rdx - 0xe]
mov ecx, 4
call fcn.140073540
mov rax, qword [0x1401f2970]
test rax, rax
je 0x1400fe265
xor edx, edx
mov rcx, rsi
call rax
mov rcx, rsi
call qword [case.0x140054204.2]
mov rax, qword [0x1401f2970]
test rax, rax
je 0x1400fe283
mov edx, 1
xor ecx, ecx
call rax
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400fe2d6
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1400fe2a4
test byte [rsp + 0x48], 2
jne 0x1400fe2a4
lea rcx, [rsp + 0x38]
call rdx
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400fe2d6
movsxd rdx, dword [rax + 0x60]
test edx, edx
je 0x1400fe2d6
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400fe2d6
test byte [rsp + 0x48], 4
jne 0x1400fe2d6
call fcn.140011160
mov rcx, qword [rsp + 0x50]
call fcn.140086a30
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400fe2e5
call fcn.14009eb90
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400fe2f4
call fcn.14008c2e0
mov eax, r12d
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140129b50
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r15d, r15d
js 0x1400fe347
mov eax, edi
sub eax, ebx
cmp eax, r15d
je 0x1400fe347
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0x9c
lea r9, [0x1401c6e08]
lea r8d, [rdx - 0xd]
mov ecx, 4
jmp 0x1400fe24d
mov rdx, qword [rbp - 0x69]
lea rcx, [rsp + 0x38]
xor r8d, r8d
call fcn.140095b00
test eax, eax
je 0x1400fe252
lea rdx, [0x14014cc18]
lea rcx, [rsp + 0x38]
mov r8d, 8
call qword [rbp - 0x79]
test eax, eax
je 0x1400fe252
movsxd r14, dword [rsp + 0x30]
mov rdx, qword [rbp - 0x59]
lea rcx, [rsp + 0x38]
mov r8, r14
call qword [rbp - 0x79]
test eax, eax
je 0x1400fe252
sub edi, ebx
je 0x1400fe3b6
movsxd rdx, ebx
lea rcx, [rsp + 0x38]
movsxd r8, edi
add rdx, rsi
call qword [rbp - 0x79]
test eax, eax
je 0x1400fe252
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0x40
jg 0x1400fe44c
lea rdx, [rbp - 0x49]
lea rcx, [rsp + 0x38]
call qword [rax + 0x20]
mov ebx, eax
mov rax, qword [rsp + 0x38]
mov r9, qword [rax + 0x30]
test r9, r9
je 0x1400fe3f3
lea rcx, [rsp + 0x38]
call r9
or dword [rsp + 0x48], 2
mov rax, qword [rsp + 0x38]
movsxd r8, dword [rax + 0x60]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call sub.MSVCR120.dll_memset
test ebx, ebx
je 0x1400fe252
mov rdx, qword [rbp - 0x71]
lea rcx, [rbp - 0x49]
mov r8, r14
call sub.MSVCR120.dll_memcmp
test eax, eax
je 0x1400fe441
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0xac
lea r9, [0x1401c6dd8]
lea r8d, [rdx - 0x2d]
mov ecx, 4
jmp 0x1400fe24d
mov r12d, 1
jmp 0x1400fe252
lea r9, str.ctx__digest__md_size___EVP_MAX_MD_SIZE
lea rdx, [0x140193470]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x10f
call fcn.140090b40
mov ecx, reloc.WS2_32.dll_shutdown
call qword [sym.imp.MSVCR120.dll_raise]
mov ecx, 3
call qword [sym.imp.MSVCR120.dll__exit]
int3