Function at 0x140126590
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x1401265cc
test edx, edx
je 0x14012660c
test r8d, r8d
je 0x14012664c
movzx eax, byte [0x140469fbd]
cmp al, 0x24
je 0x1401265c4
mov cl, 0x1e
nop
mov al, 0x12
lock cmpxchg byte [0x140469fbd], cl
je 0x14012671c
cmp al, 0x24
jne 0x1401265b0
lea rax, [0x140469fb0]
ret
test edx, edx
je 0x14012667c
test r8d, r8d
je 0x1401266bc
movzx eax, byte [0x140469d39]
cmp al, 0x17
je 0x140126604
mov cl, 0xba
nop word [rax + rax]
mov al, 0x85
lock cmpxchg byte [0x140469d39], cl
je 0x140126789
cmp al, 0x17
jne 0x1401265f0
lea rax, [0x140469d30]
ret
test r8d, r8d
je 0x1401266ec
movzx eax, byte [0x140469df8]
cmp al, 5
je 0x140126644
mov cl, 0x6f
nop word cs:[rax + rax]
mov al, 0x81
lock cmpxchg byte [0x140469df8], cl
je 0x1401267c1
cmp al, 5
jne 0x140126630
lea rax, [0x140469de0]
ret
movzx eax, byte [0x140469d25]
cmp al, 0x7b
je 0x140126674
mov cl, 0xe3
nop dword [rax]
mov al, 0x59
lock cmpxchg byte [0x140469d25], cl
je 0x140126801
cmp al, 0x7b
jne 0x140126660
lea rax, [0x140469d10]
ret
test r8d, r8d
je 0x140126751
movzx eax, byte [0x140469f7d]
cmp al, 0x71
je 0x1401266b4
mov cl, 0x18
nop word cs:[rax + rax]
mov al, 0xeb
lock cmpxchg byte [0x140469f7d], cl
je 0x140126841
cmp al, 0x71
jne 0x1401266a0
lea rax, [0x140469f70]
ret
movzx eax, byte [0x140469fe2]
cmp al, 0x39
je 0x1401266e4
mov cl, 0x1c
nop dword [rax]
mov al, 0xfd
lock cmpxchg byte [0x140469fe2], cl
je 0x140126881
cmp al, 0x39
jne 0x1401266d0
lea rax, [0x140469fd0]
ret
movzx eax, byte [0x140469f3d]
cmp al, 0x75
je 0x140126714
mov cl, 0xd7
nop dword [rax]
mov al, 0xce
lock cmpxchg byte [0x140469f3d], cl
je 0x1401268c1
cmp al, 0x75
jne 0x140126700
lea rax, [0x140469f30]
ret
xor eax, eax
lea rcx, [0x140469fb0]
lea rdx, [0x14038ed20]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x140126730
mov al, 0x24
xchg byte [0x140469fbd], al
lea rax, [0x140469fb0]
ret
movzx eax, byte [0x140469cbd]
cmp al, 0xd8
je 0x140126939
mov cl, pe_nt_image_headers64
nop word cs:[rax + rax]
mov al, 0x86
lock cmpxchg byte [0x140469cbd], cl
je 0x140126901
cmp al, 0xd8
jne 0x140126770
jmp 0x140126939
xor eax, eax
lea rcx, [0x140469d30]
lea rdx, [0x14038ea90]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 9
jl 0x1401267a0
mov al, 0x17
xchg byte [0x140469d39], al
lea rax, [0x140469d30]
ret
xor eax, eax
lea rcx, [0x140469de0]
lea rdx, [0x14038eb20]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x18
jl 0x1401267e0
mov al, 5
xchg byte [0x140469df8], al
lea rax, [0x140469de0]
ret
xor eax, eax
lea rcx, [0x140469d10]
lea rdx, [0x14038ea70]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x140126820
mov al, 0x7b
xchg byte [0x140469d25], al
lea rax, [0x140469d10]
ret
xor eax, eax
lea rcx, [0x140469f70]
lea rdx, [0x14038ece0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x140126860
mov al, 0x71
xchg byte [0x140469f7d], al
lea rax, [0x140469f70]
ret
xor eax, eax
lea rcx, [0x140469fd0]
lea rdx, [0x14038ed40]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x12
jl 0x1401268a0
mov al, 0x39
xchg byte [0x140469fe2], al
lea rax, [0x140469fd0]
ret
xor eax, eax
lea rcx, [0x140469f30]
lea rdx, [0x14038eca0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1401268e0
mov al, 0x75
xchg byte [0x140469f3d], al
lea rax, [0x140469f30]
ret
xor eax, eax
lea rcx, [0x140469cb0]
lea rdx, [0x14038ea10]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x140126920
mov al, 0xd8
xchg byte [0x140469cbd], al
lea rax, [0x140469cb0]
ret