Function at 0x1403158e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov esi, r9d
test ecx, ecx
je 0x140315929
test edx, edx
je 0x1403159a6
movzx eax, byte [0x14053ba00]
cmp al, 0x4f
je 0x140315aa3
mov cl, 0x63
nop
mov al, 0xf1
lock cmpxchg byte [0x14053ba00], cl
je 0x140315a3c
cmp al, 0x4f
jne 0x140315910
jmp 0x140315aa3
mov eax, dword [0x14053c930]
mov ecx, eax
xor ecx, 0x75af528
and eax, 0x75af528
lea eax, [rcx + rax*2]
cmp edx, eax
jne 0x1403159d9
movzx eax, byte [0x14053b8c0]
cmp al, 0xd
je 0x140315b48
mov bpl, 0xfc
mov edi, esi
xor edi, 0xaaca1c7e
mov r14d, 0xcd3e2624
nop word [rax + rax]
mov al, 0x73
lock cmpxchg byte [0x14053b8c0], bpl
mov ebx, eax
sete dl
mov r9d, dword [0x14053c930]
add r9d, r14d
mov ecx, eax
mov r8d, edi
call fcn.140170280
test al, 1
jne 0x140315aec
cmp bl, 0xd
jne 0x140315970
jmp 0x140315b48
movzx eax, byte [0x14053b9d0]
cmp al, 0xc
je 0x140315ae0
mov cl, 1
nop word [rax + rax]
mov al, 0xbf
lock cmpxchg byte [0x14053b9d0], cl
je 0x140315aaf
cmp al, 0xc
jne 0x1403159c0
jmp 0x140315ae0
mov ecx, esi
xor ecx, 0xbf1a5c91
mov edx, 0xec4fa5c
add edx, dword [0x14053c930]
call fcn.140318990
test al, 1
jne 0x140315bed
mov bl, 0x3c
mov edi, esi
xor edi, 0x5cccdd30
mov ebp, 0x77008b6d
nop dword [rax + rax]
mov al, 0xe2
lock cmpxchg byte [0x14053b842], bl
je 0x140315b54
mov r8d, dword [0x14053c930]
add r8d, ebp
mov ecx, eax
mov edx, edi
call fcn.140318ad0
test al, 1
je 0x140315a10
jmp 0x140315bed
xor edi, edi
xor esi, 0xc5e63f04
lea rbx, [rsp + 0x38]
lea r14, [0x140443af0]
lea r15, [0x14053b9f0]
mov ebp, 0x75af538
nop dword [rax]
mov ecx, edi
mov rdx, rbx
mov r8d, esi
mov r9d, 0xe83f4ab9
call fcn.140318930
movzx eax, byte [rsp + 0x38]
add al, byte [rdi + r14]
mov byte [rdi + r15], al
lea eax, [rdi + 1]
mov ecx, dword [0x14053c930]
add ecx, ebp
cmp eax, ecx
jge 0x140315a94
inc rdi
jmp 0x140315a60
movzx eax, byte [0x14053c934]
add al, 0x7f
xchg byte [0x14053ba00], al
lea rax, [0x14053b9f0]
jmp 0x140315bf4
xor eax, eax
lea rcx, [0x14053b9c0]
lea rdx, [0x140443ad0]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xf
jg 0x140315ad8
inc rax
jmp 0x140315ac0
mov al, 0xc
xchg byte [0x14053b9d0], al
lea rax, [0x14053b9c0]
jmp 0x140315bf4
xor ecx, ecx
lea rbx, [0x14053b8b0]
mov ebp, esi
xor ebp, 0xa3f779d1
lea rdi, [rsp + 0x38]
nop word cs:[rax + rax]
movsxd rcx, ecx
movzx edx, byte [rcx + rbx]
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x28], 0xb1673774
mov r8d, ecx
mov r9, rdi
call fcn.1403186d0
mov ecx, dword [rsp + 0x38]
test al, 1
je 0x140315b10
xor esi, 0x4045e2ff
mov ecx, esi
mov edx, 0x1fb89149
call fcn.140318670
lea rax, [0x14053b8b0]
jmp 0x140315bf4
xor ebp, ebp
mov edi, esi
xor edi, 0xcadd4366
lea rbx, [rsp + 0x38]
xor esi, 0x13d5377e
mov r15d, 0xbd4c3210
lea r14, [rsp + 0x37]
lea r12, [0x14053b840]
nop dword [rax + rax]
mov ecx, ebp
mov rdx, rbx
mov r8d, edi
mov r9d, 0x85ed1c57
call fcn.1400aeef0
mov rcx, qword [rsp + 0x38]
mov eax, dword [0x14053c930]
add eax, r15d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], esi
mov edx, ebp
mov r8, r14
mov r9, rbx
call fcn.140318b20
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov ecx, eax
xor cl, al
not cl
and cl, byte [rsp + 0x37]
xor cl, al
movsxd rax, ebp
mov byte [rax + r12], cl
mov ecx, dword [0x14053c930]
lea ebp, [rcx + rax]
add ebp, 0x75af529
cmp ebp, 2
jl 0x140315b80
mov al, 0x6c
xchg byte [0x14053b842], al
lea rax, [0x14053b840]
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret