Function at 0x1403495d0
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 0x140349619
test edx, edx
je 0x140349696
movzx eax, byte [0x14056d440]
cmp al, 0x4f
je 0x140349793
mov cl, 0x63
nop
mov al, 0xf1
lock cmpxchg byte [0x14056d440], cl
je 0x14034972c
cmp al, 0x4f
jne 0x140349600
jmp 0x140349793
mov eax, dword [0x14056e370]
mov ecx, eax
xor ecx, 0x75af528
and eax, 0x75af528
lea eax, [rcx + rax*2]
cmp edx, eax
jne 0x1403496c9
movzx eax, byte [0x14056d300]
cmp al, 0xd
je 0x140349838
mov bpl, 0xfc
mov edi, esi
xor edi, 0xaaca1c7e
mov r14d, 0xcd3e2624
nop word [rax + rax]
mov al, 0x73
lock cmpxchg byte [0x14056d300], bpl
mov ebx, eax
sete dl
mov r9d, dword [0x14056e370]
add r9d, r14d
mov ecx, eax
mov r8d, edi
call fcn.1400af440
test al, 1
jne 0x1403497dc
cmp bl, 0xd
jne 0x140349660
jmp 0x140349838
movzx eax, byte [0x14056d410]
cmp al, 0xc
je 0x1403497d0
mov cl, 1
nop word [rax + rax]
mov al, 0xbf
lock cmpxchg byte [0x14056d410], cl
je 0x14034979f
cmp al, 0xc
jne 0x1403496b0
jmp 0x1403497d0
mov ecx, esi
xor ecx, 0xbf1a5c91
mov edx, 0xec4fa5c
add edx, dword [0x14056e370]
call fcn.14034c680
test al, 1
jne 0x1403498dd
mov bl, 0x3c
mov edi, esi
xor edi, 0x5cccdd30
mov ebp, 0x77008b6d
nop dword [rax + rax]
mov al, 0xe2
lock cmpxchg byte [0x14056d282], bl
je 0x140349844
mov r8d, dword [0x14056e370]
add r8d, ebp
mov ecx, eax
mov edx, edi
call fcn.14034c7c0
test al, 1
je 0x140349700
jmp 0x1403498dd
xor edi, edi
xor esi, 0xc5e63f04
lea rbx, [rsp + 0x38]
lea r14, [0x14046fbd0]
lea r15, [0x14056d430]
mov ebp, 0x75af538
nop dword [rax]
mov ecx, edi
mov rdx, rbx
mov r8d, esi
mov r9d, 0xe83f4ab9
call fcn.14034c620
movzx eax, byte [rsp + 0x38]
add al, byte [rdi + r14]
mov byte [rdi + r15], al
lea eax, [rdi + 1]
mov ecx, dword [0x14056e370]
add ecx, ebp
cmp eax, ecx
jge 0x140349784
inc rdi
jmp 0x140349750
movzx eax, byte [0x14056e374]
add al, 0x7f
xchg byte [0x14056d440], al
lea rax, [0x14056d430]
jmp 0x1403498e4
xor eax, eax
lea rcx, [0x14056d400]
lea rdx, [0x14046fbb0]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xf
jg 0x1403497c8
inc rax
jmp 0x1403497b0
mov al, 0xc
xchg byte [0x14056d410], al
lea rax, [0x14056d400]
jmp 0x1403498e4
xor ecx, ecx
lea rbx, [0x14056d2f0]
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.14034c3c0
mov ecx, dword [rsp + 0x38]
test al, 1
je 0x140349800
xor esi, 0x4045e2ff
mov ecx, esi
mov edx, 0x1fb89149
call fcn.14034c360
lea rax, [0x14056d2f0]
jmp 0x1403498e4
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, [0x14056d280]
nop dword [rax + rax]
mov ecx, ebp
mov rdx, rbx
mov r8d, edi
mov r9d, 0x85ed1c57
call fcn.14012b3c0
mov rcx, qword [rsp + 0x38]
mov eax, dword [0x14056e370]
add eax, r15d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], esi
mov edx, ebp
mov r8, r14
mov r9, rbx
call fcn.14034c810
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 [0x14056e370]
lea ebp, [rcx + rax]
add ebp, 0x75af529
cmp ebp, 2
jl 0x140349870
mov al, 0x6c
xchg byte [0x14056d282], al
lea rax, [0x14056d280]
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret