Function at 0x14010c230
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xb8
call fcn.140144180
sub rsp, rax
mov rax, qword [0x140225b08]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0x120]
xor r15d, r15d
mov edi, r15d
mov qword [rsp + 0x48], r8
mov r13, r9
mov qword [rsp + 0x50], rdx
mov rsi, r8
mov rbp, rcx
call fcn.140078170
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14010c5f5
test r13, r13
mov rcx, rsi
cmove r13, rsi
call fcn.140077a10
mov dword [rsp + 0x38], eax
mov esi, eax
test eax, eax
js 0x14010c33c
mov r14d, dword [rsp + 0x128]
cmp r14d, 0xffffffff
jne 0x14010c312
mov r14d, eax
mov rcx, qword [rbp + 0x18]
call fcn.140088fd0
mov rcx, rbp
lea r12d, [rax - 1]
and r12d, 7
call fcn.1400824f0
mov ecx, r12d
mov edx, 0xff
shl edx, cl
mov r8d, eax
test byte [rbx], dl
je 0x14010c346
mov edx, 0x7e
mov dword [rsp + 0x20], 0x48
lea r9, str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 7]
call fcn.14006a020
mov rsi, qword [rsp + 0x30]
jmp 0x14010c5f8
cmp r14d, 0xfffffffe
jne 0x14010c31a
jmp 0x14010c2be
jge 0x14010c2be
mov dword [rsp + 0x20], 0x41
mov edx, 0x7e
lea r9, str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 0xa]
call fcn.14006a020
mov rsi, qword [rsp + 0x30]
jmp 0x14010c5f8
test r12d, r12d
jne 0x14010c351
inc rbx
dec r8d
lea eax, [rsi + 2]
cmp r8d, eax
jge 0x14010c385
mov dword [rsp + 0x20], 0x50
mov r8d, WSASetLastError
mov ecx, 4
lea r9, str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
lea edx, [rcx + 0x7a]
call fcn.14006a020
mov rsi, qword [rsp + 0x30]
jmp 0x14010c5f8
mov ebp, r8d
sub ebp, esi
lea eax, [rbp - 2]
cmp r14d, eax
jle 0x14010c39c
mov dword [rsp + 0x20], 0x54
jmp 0x14010c361
lea eax, [r8 - 1]
movsxd rcx, eax
cmp byte [rcx + rbx], 0xbc
je 0x14010c3b9
mov dword [rsp + 0x20], 0x58
mov r8d, 0x86
jmp 0x14010c367
dec ebp
lea rdx, str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
movsxd rsi, ebp
mov r8d, 0x5d
mov rcx, rsi
lea rax, [rsi + rbx]
mov qword [rsp + 0x40], rax
call fcn.140073a20
mov rdi, rax
test rax, rax
jne 0x14010c3f5
mov dword [rsp + 0x20], 0x5f
lea r8d, [rax + 0x41]
jmp 0x14010c367
mov r8, qword [rsp + 0x40]
mov edx, ebp
mov qword [rsp + 0x20], r13
mov rcx, rdi
movsxd r13, dword [rsp + 0x38]
mov r9d, r13d
call fcn.1400f9820
test eax, eax
js 0x14010c33c
mov edx, r15d
test ebp, ebp
jle 0x14010c4a8
cmp ebp, 0x20
jb 0x14010c4a8
lea eax, [rbp - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea r8, [rcx + rdi]
cmp rdi, rax
ja 0x14010c441
cmp r8, rbx
jae 0x14010c4a8
mov ecx, ebp
and ecx, 0x8000001f
jge 0x14010c452
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, ebp
mov r8, rbx
sub eax, ecx
sub r8, rdi
mov r9, rdi
movsxd r10, eax
neg r9
mov rcx, rdi
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx]
add edx, 0x20
movdqu xmm1, xmmword [r8 + rcx]
lea rcx, [rcx + 0x20]
lea rax, [r9 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm0, xmmword [rcx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp rax, r10
jl 0x14010c470
movsxd rax, edx
cmp rax, rsi
jge 0x14010c4d0
sub rbx, rdi
lea rcx, [rax + rdi]
sub rsi, rax
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x14010c4c0
test r12d, r12d
je 0x14010c4e6
mov ecx, 8
mov eax, 0xff
sub ecx, r12d
sar eax, cl
and byte [rdi], al
mov ebx, r15d
cmp byte [rdi], bl
jne 0x14010c501
lea ecx, [rbp - 1]
mov rax, rdi
cmp ebx, ecx
jge 0x14010c501
inc rax
inc ebx
cmp byte [rax], r15b
je 0x14010c4f3
movsxd rax, ebx
inc ebx
cmp byte [rax + rdi], 1
je 0x14010c51f
mov dword [rsp + 0x20], WSASetLastError
mov r8d, 0x87
jmp 0x14010c367
test r14d, r14d
js 0x14010c53a
mov eax, ebp
sub eax, ebx
cmp eax, r14d
je 0x14010c53a
mov dword [rsp + 0x20], WSACleanup
jmp 0x14010c324
mov rsi, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.140077c40
test eax, eax
je 0x14010c5f8
mov r8d, 8
lea rdx, [0x1401da518]
mov rcx, rsi
call fcn.140077eb0
test eax, eax
je 0x14010c5f8
mov rdx, qword [rsp + 0x50]
mov r8, r13
mov rcx, rsi
call fcn.140077eb0
test eax, eax
je 0x14010c5f8
sub ebp, ebx
je 0x14010c5a1
movsxd rdx, ebx
mov rcx, rsi
add rdx, rdi
movsxd r8, ebp
call fcn.140077eb0
test eax, eax
je 0x14010c5f8
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140077b60
test eax, eax
je 0x14010c5f8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
mov r8, r13
call fcn.1401457c0
test eax, eax
je 0x14010c5ed
mov edx, 0x7e
mov dword [rsp + 0x20], 0x7c
lea r9, str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx - 0x16]
call fcn.14006a020
jmp 0x14010c5f8
mov r15d, 1
jmp 0x14010c5f8
mov rsi, rax
mov r8d, 0x82
lea rdx, str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
mov rcx, rdi
call fcn.140073a70
mov rcx, rsi
call fcn.140078130
mov eax, r15d
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401439f0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret