Function at 0x140071d30
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rbp, rdx
mov rsi, qword [rsp + 0xe0]
mov rax, qword [0x14039ce38]
xor rax, rsp
test rsi, rsi
cmove rsi, r9
mov qword [rsp + 0x70], rax
mov rdx, qword [rcx + 8]
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x140071e3b
mov rdx, qword [rdx]
cmp eax, 4
jae 0x140071d82
xor r10d, r10d
xor r11d, r11d
jmp 0x140071de0
mov r10, rax
and r10, 0xfffffffffffffffc
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
nop word cs:[rax + rax]
movdqu xmm2, xmmword [rdx + r11*8]
por xmm0, xmm2
movdqu xmm2, xmmword [rdx + r11*8 + 0x10]
por xmm1, xmm2
add r11, 4
cmp r10, r11
jne 0x140071da0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r11, xmm0
cmp r10, rax
je 0x140071dec
nop word cs:[rax + rax]
or r11, qword [rdx + r10*8]
inc r10
cmp rax, r10
jne 0x140071de0
test r11, r11
je 0x140071e3b
mov ebx, dword [r9 + 4]
test eax, eax
mov r14, r9
mov qword [rsp + 0x48], r8
jle 0x140071e5f
nop word cs:[rax + rax]
mov r9d, eax
cmp qword [rdx + r9*8 - 8], 0
jne 0x140071e5f
lea r9d, [rax - 1]
cmp eax, 1
mov eax, r9d
jg 0x140071e10
call fcn.140071c20
mov r15d, eax
mov ecx, 7
xor edx, edx
jmp 0x140071f00
mov dword [rsp + 0x20], 0x149
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x78
jmp 0x140071f6b
cdqe
mov rdx, qword [rdx + rax*8 - 8]
xor eax, eax
test rdx, rdx
sete al
mov r8, rdx
shr r8, 0x20
cmove r8, rdx
mov rdx, r8
shr rdx, 0x10
cmp r8, 0x10000
cmovb rdx, r8
mov r8, rdx
shr r8, 8
cmp rdx, 0x100
cmovb r8, rdx
mov rdx, r8
shr rdx, 4
xor r9d, r9d
cmp r8, 0x10
setae r9b
cmovb rdx, r8
shl r9d, 2
mov r8, rdx
shr r8, 2
xor r10d, r10d
cmp rdx, 4
setae r10b
cmovb r8, rdx
xor edx, edx
cmp r8, 2
setae dl
sub r9d, eax
lea edi, [r9 + r10*2]
add edi, edx
call fcn.140071c20
xor ecx, ecx
mov r15d, eax
and edi, 7
je 0x140071ef4
xor edx, edx
mov ecx, edi
jmp 0x140071f00
mov byte [rbp], 0
inc rbp
dec r15
mov dl, 1
lea rax, [rbx + 2]
cmp r15, rax
jae 0x140071f13
mov dword [rsp + 0x20], 0x156
jmp 0x140071f54
mov eax, dword [rsp + 0xe8]
mov rdi, rbx
cmp eax, 0xffffffff
je 0x140071f3d
cmp eax, 0xfffffffe
jne 0x140071f33
mov rdi, r15
sub rdi, rbx
add rdi, 0xfffffffffffffffe
jmp 0x140071f3d
test eax, eax
js 0x1400721e0
mov edi, eax
mov r13, r15
sub r13, rbx
lea rax, [r13 - 2]
cmp rax, rdi
jae 0x140071f98
mov dword [rsp + 0x20], 0x16b
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, WSAStartup
call fcn.140044b10
xor ecx, ecx
call fcn.14008be60
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140258ea0
mov eax, r12d
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x38], ecx
xor r12d, r12d
test rdi, rdi
je 0x140071fce
mov rcx, rdi
call fcn.14008be00
test rax, rax
je 0x140071f70
lea r8, [0x1402a52d0]
mov rcx, rax
mov qword [rsp + 0x30], rax
mov rdx, rdi
call fcn.14005e070
jmp 0x140071fd5
xor eax, eax
mov qword [rsp + 0x30], rax
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov rax, r14
test r14, r14
mov qword [rsp + 0x40], rbp
je 0x14007201f
mov ecx, dword [rax + 0x2c]
call fcn.14008be00
test rax, rax
je 0x140072204
mov rbp, rax
xor ecx, ecx
call fcn.14008be60
mov qword [rsp + 0x58], rbp
mov rax, r14
mov qword [rsp + 0x50], r14
mov rbp, qword [rsp + 0x40]
add rbp, r13
dec rbp
dec r13
lea r14, [rsp + 0x50]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0x50]
lea rdx, [0x1402a5330]
mov r8d, 8
mov rcx, r14
call qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
mov rcx, r14
mov rdx, qword [rsp + 0x48]
mov r8, rbx
call qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
mov rcx, r14
mov rdx, qword [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
mov rcx, r14
mov rdx, rbp
call qword [rax + 0x20]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rax + 0x2c]
call fcn.14008bea0
mov rcx, qword [rsp + 0x58]
call fcn.14008be60
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400720ac
mov rcx, qword [rsp + 0x60]
call qword [rax]
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], rsi
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
mov rdx, r13
mov r8, rbp
mov r9, rbx
call fcn.140071540
test eax, eax
je 0x14007221e
lea rax, [rdi + rbx]
mov r8, r15
sub r8, rax
xor byte [r8 + rsi - 2], 1
test rdi, rdi
mov rcx, qword [rsp + 0x30]
je 0x1400721b4
lea rdx, [r8 + rsi]
add rdx, 0xfffffffffffffffe
cmp rdi, 8
jb 0x140072134
lea r9, [r15 - 1]
mov r10, r9
sub r10, rax
add r10, rsi
lea rax, [rcx + rdi]
cmp r10, rax
jae 0x140072228
sub r9, rbx
add r9, rsi
cmp rcx, r9
jae 0x140072228
xor eax, eax
mov r8, rdx
mov r9, rdi
mov rdx, rax
and r9, 3
je 0x140072164
nop word cs:[rax + rax]
movzx r10d, byte [rcx + rdx]
xor byte [r8 + 1], r10b
inc r8
inc rdx
dec r9
jne 0x140072150
sub rax, rdi
cmp rax, 0xfffffffffffffffc
ja 0x1400721b4
sub rdi, rdx
lea rax, [rdx + rcx]
add rax, 3
xor edx, edx
nop word [rax + rax]
movzx r9d, byte [rax + rdx - 3]
xor byte [r8 + rdx + 1], r9b
movzx r9d, byte [rax + rdx - 2]
xor byte [r8 + rdx + 2], r9b
movzx r9d, byte [rax + rdx - 1]
xor byte [r8 + rdx + 3], r9b
movzx r9d, byte [rax + rdx]
xor byte [r8 + rdx + 4], r9b
add rdx, 4
cmp rdi, rdx
jne 0x140072180
cmp byte [rsp + 0x3c], 0
jne 0x1400721cf
mov cl, 8
sub cl, byte [rsp + 0x38]
mov eax, 0xff
shr eax, cl
mov rcx, qword [rsp + 0x30]
and byte [rsi], al
mov byte [r15 + rsi - 1], 0xbc
mov r12d, 1
jmp 0x140071f72
mov dword [rsp + 0x20], 0x164
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140071f6b
xor r12d, r12d
xor ecx, ecx
call fcn.14008be60
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x30]
jmp 0x140071f72
cmp rdi, 0x20
jae 0x140072232
xor eax, eax
jmp 0x14007228a
mov rax, rdi
and rax, 0xffffffffffffffe0
add r8, rsi
add r8, 0xf
xor r9d, r9d
movdqu xmm0, xmmword [rcx + r9]
movdqu xmm1, xmmword [rcx + r9 + 0x10]
movdqu xmm2, xmmword [r8 + r9 - 0x10]
pxor xmm2, xmm0
movdqu xmm0, xmmword [r8 + r9]
pxor xmm0, xmm1
movdqu xmmword [r8 + r9 - 0x10], xmm2
movdqu xmmword [r8 + r9], xmm0
add r9, 0x20
cmp rax, r9
jne 0x140072243
cmp rdi, rax
je 0x1400721b4
test dil, 0x18
je 0x1400722b8
mov r9, rax
mov rax, rdi
and rax, 0xfffffffffffffff8
lea r8, [rdx + rax]
mov r10, qword [rcx + r9]
xor qword [rdx + r9 + 1], r10
add r9, 8
cmp rax, r9
jne 0x140072298
cmp rdi, rax
jne 0x140072139
jmp 0x1400721b4
add rdx, rax
jmp 0x140072136