Function at 0x1402485c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov edi, r9d
mov esi, dword [rsp + 0xb0]
test ecx, ecx
je 0x140248629
test edx, edx
je 0x140248674
movzx eax, byte [0x14052f7fc]
movzx ecx, byte [0x1405312e8]
mov edx, esi
xor dl, 0x10
mov r8d, edx
xor r8b, cl
and dl, cl
add dl, dl
add dl, r8b
cmp al, dl
je 0x140248843
mov cl, 0xcd
mov al, 0xff
lock cmpxchg byte [0x14052f7fc], cl
je 0x1402487d4
cmp al, 0xbf
jne 0x140248610
jmp 0x140248843
test edx, edx
je 0x14024876d
movzx eax, byte [0x14052fa51]
cmp al, 0x8e
je 0x1402488b4
mov cl, 0xa3
nop word cs:[rax + rax]
mov al, 0xfd
lock cmpxchg byte [0x14052fa51], cl
je 0x14024884f
mov edx, esi
xor dl, 0x5f
add dl, byte [0x1405312e8]
cmp al, dl
jne 0x140248650
jmp 0x1402488b4
movzx eax, byte [0x14052f584]
nop dword [rax + rax]
cmp al, 0xea
je 0x140248761
movzx ecx, byte [0x1405312e8]
mov eax, esi
not al
mov edx, esi
xor dl, 0xf0
and dl, al
mov r8d, eax
and r8b, 0x77
mov eax, esi
and al, 0x88
or al, r8b
add al, 0x63
mov r8d, eax
xor r8b, cl
and al, cl
add al, al
add al, r8b
add al, 0x9d
mov r8d, esi
and r8b, 0xf
or r8b, dl
add r8b, cl
lock cmpxchg byte [0x14052f584], r8b
jne 0x140248680
xor r15d, r15d
mov ebx, edi
xor ebx, 0x2af281bb
mov ebp, esi
xor ebp, 0x32cb357
lea r14, [rsp + 0x40]
lea r12, [0x14052f540]
lea r13, [0x140443360]
xor edi, 0x33f790d8
xor esi, 0x7816dfd7
nop word cs:[rax + rax]
mov ecx, r15d
mov rdx, r14
mov r8d, ebx
mov r9d, ebp
call fcn.1400aa120
mov rax, qword [rsp + 0x40]
movsxd rcx, r15d
movzx r8d, byte [rcx + r13]
mov edx, r8d
xor dl, r8b
not dl
and dl, byte [rax + r12]
xor dl, r8b
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
mov r8d, ecx
mov r9, r14
call fcn.140249cb0
mov r15d, dword [rsp + 0x40]
test al, 1
je 0x140248710
mov al, 0xea
xchg byte [0x14052f584], al
lea rax, [0x14052f540]
jmp 0x14024892b
movzx eax, byte [0x14052f67d]
cmp al, 0x86
je 0x140248924
mov bpl, 0x3d
mov ebx, edi
xor ebx, 0xc9513149
mov r15d, esi
xor r15d, 0x7041f0b1
lea r14, [rsp + 0x40]
nop word cs:[rax + rax]
mov al, 0x4f
lock cmpxchg byte [0x14052f67d], bpl
sete dl
mov dword [rsp + 0x20], r15d
mov ecx, eax
mov r8, r14
mov r9d, ebx
call fcn.140248e10
test al, 1
jne 0x1402488bd
cmp byte [rsp + 0x40], 0x86
jne 0x1402487a0
jmp 0x140248924
xor ecx, ecx
lea r15, [0x14052f7f0]
lea r12, [0x140443600]
mov ebx, edi
xor ebx, 0x44e981d1
mov ebp, esi
xor ebp, 0xfeb6cc3c
lea r14, [rsp + 0x40]
nop dword [rax]
movsxd rcx, ecx
movzx eax, byte [rcx + r12]
mov edx, eax
xor dl, al
not dl
and dl, byte [rcx + r15]
xor dl, al
mov byte [rcx + r15], dl
mov rdx, r14
mov r8d, ebx
mov r9d, ebp
call fcn.140249ce0
mov ecx, dword [rsp + 0x40]
test al, 1
je 0x140248800
xor edi, 0x3f0a141
xor esi, 0x13862afc
mov ecx, edi
mov edx, esi
call fcn.1402480b0
lea rax, [0x14052f7f0]
jmp 0x14024892b
xor ebx, ebx
mov ebp, esi
xor ebp, 0xa4305cce
xor esi, 0x9947d568
lea r14, [rsp + 0x3f]
lea r15, [rsp + 0x40]
lea r12, [0x14052fa40]
mov r9d, dword [0x1405312d8]
add r9d, ebp
xor r9d, edi
mov dword [rsp + 0x20], esi
mov ecx, ebx
mov rdx, r14
mov r8, r15
call fcn.14024a400
movzx eax, byte [rsp + 0x3f]
mov rcx, qword [rsp + 0x40]
mov byte [rcx + r12], al
mov eax, ebx
xor eax, 1
and ebx, 1
lea ebx, [rax + rbx*2]
cmp ebx, 0x11
jl 0x140248870
mov al, 0x8e
xchg byte [0x14052fa51], al
lea rax, [0x14052fa40]
jmp 0x14024892b
xor ecx, ecx
lea r14, [0x14052f670]
xor edi, 0x888eea96
mov ebp, esi
xor ebp, 0x698e2030
lea rbx, [rsp + 0x40]
nop dword [rax]
movsxd rcx, ecx
movzx edx, byte [rcx + r14]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], edi
mov r8d, ecx
mov r9, rbx
call fcn.140249dc0
mov ecx, dword [rsp + 0x40]
test al, 1
je 0x1402488e0
mov eax, esi
not al
and al, 0x57
xor sil, 0xa8
or sil, al
not sil
or sil, al
add sil, byte [0x1405312e8]
xchg byte [0x14052f67d], sil
lea rax, [0x14052f670]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret