Function at 0x140202330
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov esi, r9d
mov r8d, edx
mov r15d, dword [rsp + 0xa0]
mov edx, r9d
test ecx, ecx
je 0x140202441
xor edx, 0x24574310
mov eax, dword [0x1404d9aec]
add eax, esi
add eax, 0x3a49
cdqe
add rax, qword [0x1404d9b58]
mov ecx, r8d
call qword [case.0x1400f5c95.0]
test al, 1
je 0x140202515
movzx eax, byte [0x14051dd7a]
cmp al, 0xe9
je 0x1402026a9
mov edi, esi
xor edi, 0x8095c03d
lea rbx, [rsp + 0x30]
mov ebp, esi
xor ebp, 0xaec1d4bc
mov r12d, r15d
xor r12d, 0x7a82ead1
mov r13d, r15d
xor r13d, 0x7a82200a
nop
mov eax, dword [0x1404d9af0]
add eax, esi
add eax, 0x3a49
cdqe
add rax, qword [0x1404d9b40]
mov rcx, rbx
mov edx, edi
call qword [case.0x1400f5c95.0]
movzx ecx, byte [rsp + 0x30]
movzx r14d, byte [rsp + 0x31]
mov eax, dword [0x1404db148]
lea edx, [r12 + rax]
add eax, r13d
mov r8d, esi
sub r8d, edx
add r8d, dword [0x1404d9ae4]
add r8d, eax
movsxd rax, r8d
add rax, qword [0x1404d9b30]
mov edx, r14d
mov r8, rbx
mov r9d, ebp
call qword [case.0x1400f5c95.0]
test r14b, r14b
jne 0x1402025c9
mov eax, r15d
xor al, 0x66
add al, byte [0x1404db158]
cmp byte [rsp + 0x30], al
jne 0x1402023c0
jmp 0x1402026a9
mov eax, r15d
xor eax, 0x7a82ead1
add eax, dword [0x1404db148]
mov ecx, esi
sub ecx, eax
add ecx, dword [0x1404d9ae0]
xor edx, 0x104987dc
movsxd rax, ecx
add rax, qword [0x1404d9b28]
mov ecx, r8d
call qword [case.0x1400f5c95.0]
test al, 1
je 0x140202549
movzx ecx, byte [0x1404d931a]
mov eax, dword [0x1404db148]
mov r8d, r15d
not r8d
mov r9d, r8d
and r9d, 0x82ba170c
mov edx, r15d
and edx, 0x7d45e8f3
or edx, r9d
add edx, eax
and r8d, 0x7a82ead1
mov r9d, r15d
and r9d, 0x857d152e
or r9d, r8d
add r9d, eax
mov eax, esi
sub eax, r9d
add eax, dword [0x1404d9af4]
xor edx, esi
cdqe
add rax, qword [0x1404d9b50]
call qword [case.0x1400f5c95.0]
test al, 1
jne 0x140202745
mov cl, 0x1e
nop word cs:[rax + rax]
mov al, 0x56
lock cmpxchg byte [0x1404d931a], cl
je 0x1402026c9
mov edx, r15d
xor dl, 0xd2
add dl, byte [0x1404db158]
cmp al, dl
jne 0x1402024f0
jmp 0x140202745
movzx eax, byte [0x1404d953d]
cmp al, 0x94
je 0x1402026bd
mov cl, 0x45
nop word cs:[rax + rax]
mov al, 0x53
lock cmpxchg byte [0x1404d953d], cl
je 0x140202664
cmp al, 0x94
jne 0x140202530
jmp 0x1402026bd
mov edx, esi
xor edx, 0x7838ed4f
mov eax, dword [0x1404d9ae8]
add eax, esi
add eax, 0x3a49
cdqe
add rax, qword [0x1404d9b18]
lea rcx, [rsp + 0x30]
call qword [case.0x1400f5c95.0]
movzx ecx, byte [rsp + 0x30]
mov edx, esi
xor edx, 0x50c6ec1a
mov eax, dword [0x1404d9b00]
add eax, esi
add eax, 0x3a49
cdqe
add rax, qword [0x1404d9b20]
call qword [case.0x1400f5c95.0]
test al, 1
jne 0x1402027a3
mov cl, 0x71
nop word cs:[rax + rax]
mov al, 0x82
lock cmpxchg byte [0x1404d95e5], cl
je 0x14020274e
cmp al, 0x2b
jne 0x1402025b0
jmp 0x1402027a3
xor edi, edi
mov ebx, esi
xor ebx, 0x3e0003c4
lea r14, [rsp + 0x30]
lea r15, [0x1403f6890]
mov ebp, esi
xor ebp, 0x57aaf406
lea r12, [0x1404d9810]
nop
mov eax, dword [0x1404d9b04]
add eax, esi
add eax, 0x3a49
cdqe
add rax, qword [0x1404d9b10]
mov ecx, edi
mov rdx, r14
mov r8d, ebx
call qword [case.0x1400f5c95.0]
movzx eax, byte [rdi + r15]
mov r13d, eax
xor r13b, al
not r13b
and r13b, byte [rsp + 0x30]
xor r13b, al
mov eax, dword [0x1404d9af8]
add eax, esi
add eax, 0x3a49
cdqe
add rax, qword [0x1404d9b38]
mov ecx, edi
mov rdx, r14
mov r8d, ebp
call qword [case.0x1400f5c95.0]
mov rax, qword [rsp + 0x30]
mov byte [rax + r12], r13b
lea eax, [rdi + 1]
cmp eax, 0xc
jg 0x1402026a1
inc rdi
jmp 0x1402025f0
xor eax, eax
lea rcx, [0x1404d9530]
lea rdx, [0x1403f65b0]
xor r15d, 0x7a82203f
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
mov r9d, dword [0x1404db148]
add r9d, r15d
cmp r8d, r9d
jge 0x1402026b5
inc rax
jmp 0x140202680
mov al, 0xe9
xchg byte [0x14051dd7a], al
lea rax, [0x1404d9810]
jmp 0x1402027aa
mov al, 0x94
xchg byte [0x1404d953d], al
lea rax, [0x1404d9530]
jmp 0x1402027aa
xor ecx, ecx
lea rbx, [0x1404d9300]
lea r14, [0x1403f6390]
mov ebp, esi
xor ebp, 0x440d7bab
lea rdi, [rsp + 0x30]
nop word cs:[rax + rax]
movsxd r8, ecx
lea rdx, [rbx + r8]
movzx eax, byte [r8 + r14]
mov ecx, eax
xor cl, al
not cl
and cl, byte [r8 + rbx]
xor cl, al
mov eax, dword [0x1404d9afc]
add eax, esi
add eax, 0x3a49
cdqe
add rax, qword [0x1404d9b48]
mov dword [rsp + 0x20], ebp
mov r9, rdi
call qword [case.0x1400f5c95.0]
mov ecx, dword [rsp + 0x30]
test al, 1
je 0x1402026f0
xor r15b, 0xd2
add r15b, byte [0x1404db158]
xchg byte [0x1404d931a], r15b
lea rax, [0x1404d9300]
jmp 0x1402027aa
xor eax, eax
lea rcx, [0x1404d95d0]
lea rdx, [0x1403f6650]
mov r8d, r15d
xor r8d, 0x7a822037
nop dword [rax + rax]
movzx r9d, byte [rax + rdx]
xor byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x1404db148]
add r10d, r8d
cmp r9d, r10d
jge 0x140202791
inc rax
jmp 0x140202770
xor r15b, 0xa0
add r15b, byte [0x1404db158]
xchg byte [0x1404d95e5], r15b
lea rax, [0x1404d95d0]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret