Function at 0x1401c97a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
test ecx, ecx
je 0x1401c97f9
test edx, edx
je 0x1401c9849
test r8d, r8d
je 0x1401c9889
test r9d, r9d
je 0x1401c9909
movzx eax, byte [0x14047acc5]
cmp al, 0xa8
je 0x1401c9ab9
mov cl, 0xa1
nop word cs:[rax + rax]
mov al, 0x8f
lock cmpxchg byte [0x14047acc5], cl
je 0x1401c9a89
cmp al, 0xa8
jne 0x1401c97e0
jmp 0x1401c9ab9
test edx, edx
je 0x1401c98c9
test r8d, r8d
je 0x1401c9939
test r9d, r9d
je 0x1401c99b9
movzx eax, byte [0x14047b2d1]
cmp al, 0x9f
je 0x1401c9b89
mov cl, 0xfb
nop word cs:[rax + rax]
mov al, 0x8f
lock cmpxchg byte [0x14047b2d1], cl
je 0x1401c9b59
cmp al, 0x9f
jne 0x1401c9830
jmp 0x1401c9b89
test r8d, r8d
je 0x1401c9979
test r9d, r9d
je 0x1401c99e9
movzx eax, byte [0x14047ad80]
cmp al, 0x6d
je 0x1401c9bc9
mov cl, 0x28
nop dword [rax]
mov al, 0xb2
lock cmpxchg byte [0x14047ad80], cl
je 0x1401c9b95
cmp al, 0x6d
jne 0x1401c9870
jmp 0x1401c9bc9
test r9d, r9d
je 0x1401c9a19
movzx eax, byte [0x14047afe3]
cmp al, 0xe5
je 0x1401c9c09
mov cl, 0xc8
nop word cs:[rax + rax]
mov al, 0xf8
lock cmpxchg byte [0x14047afe3], cl
je 0x1401c9bd5
cmp al, 0xe5
jne 0x1401c98b0
jmp 0x1401c9c09
test r8d, r8d
je 0x1401c9a49
test r9d, r9d
je 0x1401c9ac5
movzx eax, byte [0x14047b206]
cmp al, 0x5e
je 0x1401c9ca9
mov cl, 0xae
nop dword [rax]
mov al, 0x67
lock cmpxchg byte [0x14047b206], cl
je 0x1401c9c7f
cmp al, 0x5e
jne 0x1401c98f0
jmp 0x1401c9ca9
movzx eax, byte [0x14047b3b4]
cmp al, 0x4a
je 0x1401c9c49
mov cl, pe_nt_image_headers64
nop word [rax + rax]
mov al, 0x49
lock cmpxchg byte [0x14047b3b4], cl
je 0x1401c9c15
cmp al, 0x4a
jne 0x1401c9920
jmp 0x1401c9c49
test r9d, r9d
je 0x1401c9af9
movzx eax, byte [0x14047af5c]
cmp al, 0x47
je 0x1401c9d49
mov cl, 0xa5
nop word cs:[rax + rax]
mov al, 0x98
lock cmpxchg byte [0x14047af5c], cl
je 0x1401c9cb5
cmp al, 0x47
jne 0x1401c9960
jmp 0x1401c9d49
test r9d, r9d
je 0x1401c9b29
movzx eax, byte [0x14047b51a]
cmp al, 0x9d
je 0x1401c9d89
mov cl, 0x2e
nop word cs:[rax + rax]
mov al, 0x97
lock cmpxchg byte [0x14047b51a], cl
je 0x1401c9d55
cmp al, 0x9d
jne 0x1401c99a0
jmp 0x1401c9d89
movzx eax, byte [0x14047b2ed]
cmp al, 0x21
je 0x1401c9dc9
mov cl, 0xce
nop word [rax + rax]
mov al, 0xa7
lock cmpxchg byte [0x14047b2ed], cl
je 0x1401c9d95
cmp al, 0x21
jne 0x1401c99d0
jmp 0x1401c9dc9
movzx eax, byte [0x14047b4e6]
cmp al, 0xef
je 0x1401c9e09
mov cl, 0x14
nop word [rax + rax]
mov al, 0x6e
lock cmpxchg byte [0x14047b4e6], cl
je 0x1401c9dd5
cmp al, 0xef
jne 0x1401c9a00
jmp 0x1401c9e09
movzx eax, byte [0x14047b6da]
cmp al, 0xce
je 0x1401c9e49
mov cl, 0x56
nop word [rax + rax]
mov al, 0x21
lock cmpxchg byte [0x14047b6da], cl
je 0x1401c9e15
cmp al, 0xce
jne 0x1401c9a30
jmp 0x1401c9e49
test r9d, r9d
je 0x1401c9c55
movzx eax, byte [0x14047adef]
cmp al, 0x48
je 0x1401c9e89
mov cl, 0x5a
nop word cs:[rax + rax]
mov al, 0x51
lock cmpxchg byte [0x14047adef], cl
je 0x1401c9e55
cmp al, 0x48
jne 0x1401c9a70
jmp 0x1401c9e89
xor eax, eax
lea rcx, [0x14047acb0]
lea rdx, [0x140394ab0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x1401c9aa0
mov al, 0xa8
xchg byte [0x14047acc5], al
lea rax, [0x14047acb0]
jmp 0x1401c9f82
movzx eax, byte [0x14047b780]
cmp al, 0xe7
je 0x1401c9ec9
mov cl, 0x8d
nop word cs:[rax + rax]
mov al, 0xa8
lock cmpxchg byte [0x14047b780], cl
je 0x1401c9e95
cmp al, 0xe7
jne 0x1401c9ae0
jmp 0x1401c9ec9
movzx eax, byte [0x14047b41d]
cmp al, 0x65
je 0x1401c9f09
mov cl, 0xed
nop word [rax + rax]
mov al, 0xf4
lock cmpxchg byte [0x14047b41d], cl
je 0x1401c9ed5
cmp al, 0x65
jne 0x1401c9b10
jmp 0x1401c9f09
movzx eax, byte [0x14047b330]
cmp al, 4
je 0x1401c9f49
mov cl, 0x38
nop word [rax + rax]
mov al, 0x9e
lock cmpxchg byte [0x14047b330], cl
je 0x1401c9f12
cmp al, 4
jne 0x1401c9b40
jmp 0x1401c9f49
xor eax, eax
lea rcx, [0x14047b2c0]
lea rdx, [0x140395270]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x11
jl 0x1401c9b70
mov al, 0x9f
xchg byte [0x14047b2d1], al
lea rax, [0x14047b2c0]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047ad70]
lea rdx, [0x140394b60]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401c9bb0
mov al, 0x6d
xchg byte [0x14047ad80], al
lea rax, [0x14047ad70]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047afc0]
lea rdx, [0x140394f80]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x23
jl 0x1401c9bf0
mov al, 0xe5
xchg byte [0x14047afe3], al
lea rax, [0x14047afc0]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047b3a0]
lea rdx, [0x140395340]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x14
jl 0x1401c9c30
mov al, 0x4a
xchg byte [0x14047b3b4], al
lea rax, [0x14047b3a0]
jmp 0x1401c9f82
movzx eax, byte [0x14047ac85]
cmp al, 0x59
je 0x1401c9f7b
mov cl, 0xd5
mov al, 0xf
lock cmpxchg byte [0x14047ac85], cl
je 0x1401c9f52
cmp al, 0x59
jne 0x1401c9c66
jmp 0x1401c9f7b
xor eax, eax
lea rcx, [0x14047b1e0]
lea rdx, [0x140395190]
nop
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x26
jl 0x1401c9c90
mov al, 0x5e
xchg byte [0x14047b206], al
lea rax, [0x14047b1e0]
jmp 0x1401c9f82
cmp qword [0x1404be5f8], 0
jne 0x1401c9d15
mov dword [rsp + 0x28], 0x1f411150
mov qword [rsp + 0x20], 0
xor edi, edi
xor ecx, ecx
xor edx, edx
mov r8d, 0xb
xor r9d, r9d
call fcn.1401c8b40
mov rsi, rax
mov qword [0x1404be5f8], rax
lea rcx, [0x1401c8b20]
mov edx, 0x8361c00d
call fcn.140107920
lea rax, [0x140394f00]
movzx ecx, byte [rdi + rax]
mov byte [rsi + rdi], cl
inc rdi
cmp edi, 9
jle 0x1401c9d06
mov rax, qword [0x1404be5f8]
xor ecx, ecx
lea rdx, [0x140394f10]
nop word cs:[rax + rax]
movzx r8d, byte [rcx + rdx]
add byte [rax + rcx], r8b
inc rcx
cmp ecx, 0xa
jl 0x1401c9d30
mov al, 0x47
xchg byte [0x14047af5c], al
mov rax, qword [0x1404be5f8]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047b500]
lea rdx, [0x1403954a0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x1a
jl 0x1401c9d70
mov al, 0x9d
xchg byte [0x14047b51a], al
lea rax, [0x14047b500]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047b2e0]
lea rdx, [0x140395290]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1401c9db0
mov al, 0x21
xchg byte [0x14047b2ed], al
lea rax, [0x14047b2e0]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047b4e0]
lea rdx, [0x140395480]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 6
jl 0x1401c9df0
mov al, 0xef
xchg byte [0x14047b4e6], al
lea rax, [0x14047b4e0]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047b6d0]
lea rdx, [0x140395670]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xa
jl 0x1401c9e30
mov al, 0xce
xchg byte [0x14047b6da], al
lea rax, [0x14047b6d0]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047ade0]
lea rdx, [0x140394c00]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xf
jl 0x1401c9e70
mov al, 0x48
xchg byte [0x14047adef], al
lea rax, [0x14047ade0]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047b770]
lea rdx, [0x140395700]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401c9eb0
mov al, 0xe7
xchg byte [0x14047b780], al
lea rax, [0x14047b770]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047b410]
lea rdx, [0x1403953b0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1401c9ef0
mov al, 0x65
xchg byte [0x14047b41d], al
lea rax, [0x14047b410]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047b320]
lea rdx, [0x1403952d0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401c9f30
mov al, 4
xchg byte [0x14047b330], al
lea rax, [0x14047b320]
jmp 0x1401c9f82
xor eax, eax
lea rcx, [0x14047ac70]
lea rdx, [0x140394a70]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x1401c9f62
mov al, 0x59
xchg byte [0x14047ac85], al
lea rax, [0x14047ac70]
add rsp, 0x38
pop rdi
pop rsi
ret