Function at 0x1403b9800
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov edi, r9d
mov esi, dword [rsp + 0x90]
test ecx, ecx
je 0x1403b9869
test edx, edx
je 0x1403b98c9
movzx eax, byte [0x14057af2d]
mov ecx, esi
xor cl, 0xdc
add cl, byte [0x14057b644]
cmp al, cl
je 0x1403b99c9
mov cl, 0x6e
nop word cs:[rax + rax]
mov al, 0x4c
lock cmpxchg byte [0x14057af2d], cl
je 0x1403b9989
cmp al, 0x7a
jne 0x1403b9850
jmp 0x1403b99c9
mov eax, esi
xor eax, 0xaa74faff
add eax, dword [0x14057b640]
cmp edx, eax
jne 0x1403b9948
mov eax, esi
xor eax, 0x1422d79f
add eax, dword [0x14057b640]
xor edi, eax
mov edx, esi
xor edx, 0x1a4163f
mov ecx, edi
call fcn.1403b9bc0
test al, 1
jne 0x1403b9a85
mov cl, 0xe2
nop word cs:[rax + rax]
mov al, 0x8e
lock cmpxchg byte [0x14057af65], cl
je 0x1403b9a42
cmp al, 0xe
jne 0x1403b98b0
jmp 0x1403b9a85
mov ecx, esi
xor ecx, 0x9b84e263
add ecx, dword [0x14057b640]
xor ecx, edi
mov edx, esi
xor edx, 0xa0a607d9
call fcn.1403b9be0
test al, 1
jne 0x1403b9a36
mov ebx, edi
xor ebx, 0x18a58025
mov ebp, esi
xor ebp, 0xd74e59
lea r14, [rsp + 0x20]
nop word cs:[rax + rax]
mov eax, dword [0x14057b640]
add eax, ebp
mov r8d, eax
xor r8d, eax
not r8d
and r8d, esi
xor r8d, eax
mov rcx, r14
mov edx, ebx
call fcn.1403b9c10
cmp byte [rsp + 0x21], 0
jne 0x1403b99d5
cmp byte [rsp + 0x20], 0xec
jne 0x1403b9910
jmp 0x1403b9a36
movzx eax, byte [0x14057af93]
mov ecx, esi
xor cl, 0xdc
add cl, byte [0x14057b644]
cmp al, cl
je 0x1403b9b3b
mov cl, pe_nt_image_headers64
nop word cs:[rax + rax]
mov al, 0x86
lock cmpxchg byte [0x14057af93], cl
je 0x1403b9a91
cmp al, 0x7a
jne 0x1403b9970
jmp 0x1403b9b3b
xor eax, eax
lea rcx, [0x14057af20]
lea rdx, [0x140471d30]
xor esi, 0xaa74fb0a
nop
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
mov r9d, dword [0x14057b640]
add r9d, esi
cmp r8d, r9d
jge 0x1403b99c1
inc rax
jmp 0x1403b99a0
mov al, 0x7a
xchg byte [0x14057af2d], al
lea rax, [0x14057af20]
jmp 0x1403b9b42
xor ebx, ebx
lea r15, [0x14057af30]
lea r12, [0x140471d40]
xor edi, 0x33459bae
xor esi, 0xab78b3c2
lea r14, [rsp + 0x20]
nop word cs:[rax + rax]
movzx ebp, byte [rbx + r15]
xor bpl, byte [rbx + r12]
mov ecx, ebx
mov rdx, r14
mov r8d, edi
mov r9d, esi
call fcn.1403b9ba0
mov rax, qword [rsp + 0x20]
mov byte [rax], bpl
lea eax, [rbx + 1]
cmp eax, 0xf
jg 0x1403b9a2e
inc rbx
jmp 0x1403b9a00
mov al, 0xec
xchg byte [0x14057af40], al
lea rax, [0x14057af30]
jmp 0x1403b9b42
xor eax, eax
lea rcx, [0x14057af50]
lea rdx, [0x140471d50]
xor esi, 0xaa74fafe
nop dword [rax + rax]
cdqe
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
mov r8d, dword [0x14057b640]
add r8d, esi
add eax, r8d
cmp eax, 0x15
jl 0x1403b9a60
mov al, 0xe
xchg byte [0x14057af65], al
lea rax, [0x14057af50]
jmp 0x1403b9b42
xor r15d, r15d
mov r12d, esi
xor r12d, 0x7d6cae9b
mov ebx, esi
xor ebx, 0xb4ff22c
lea r14, [rsp + 0x20]
mov ebp, edi
xor ebp, 0xd2983380
xor esi, 0x6edce69c
nop dword [rax]
mov r8d, dword [0x14057b640]
add r8d, r12d
xor r8d, edi
mov ecx, r15d
mov rdx, r14
mov r9d, ebx
call fcn.1403b9b60
mov rax, qword [rsp + 0x20]
movsxd r15, r15d
lea rcx, [0x140471d90]
movzx ecx, byte [r15 + rcx]
mov r13d, ecx
xor r13b, cl
not r13b
lea rdx, [0x14057af90]
and r13b, byte [rax + rdx]
xor r13b, cl
mov rcx, r15
mov rdx, r14
mov r8d, ebp
mov r9d, esi
call fcn.1403b9c00
mov rax, qword [rsp + 0x20]
mov byte [rax], r13b
mov eax, r15d
xor eax, 1
and r15d, 1
lea r15d, [rax + r15*2]
cmp r15d, 3
jl 0x1403b9ac0
mov al, 0x7a
xchg byte [0x14057af93], al
lea rax, [0x14057af90]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret