Function at 0x1402397a0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14023982b
mov eax, dword [0x1404b3c18]
mov ecx, eax
xor ecx, 0xa1ba8bd8
and eax, 0x21ba8bd8
lea eax, [rcx + rax*2]
cmp edx, eax
jne 0x140239849
mov eax, 0xa1ba8bd8
nop dword [rax + rax]
mov ecx, dword [0x1404ef820]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x1404b3c18]
add ecx, eax
cmp edx, ecx
jne 0x140239811
movzx ecx, byte [0x1404b37a4]
mov edx, dword [0x1404ef820]
lea r8d, [rdx - 1]
imul r8d, edx
and r8d, 1
mov edx, dword [0x1404b3c18]
add edx, eax
cmp r8d, edx
je 0x14023987f
movzx ecx, byte [0x1404b37a4]
mov ecx, dword [0x1404ef820]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
jne 0x1402397d0
jmp 0x1402397eb
test edx, edx
je 0x1402398a5
mov eax, dword [0x1404ef820]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140239a35
jmp 0x140239a28
movzx eax, byte [0x1404b35a4]
cmp al, 0x38
je 0x140239b01
mov cl, 0xc7
nop word [rax + rax]
mov al, 3
lock cmpxchg byte [0x1404b35a4], cl
je 0x1402398b9
movzx edx, byte [0x1404b3c1c]
add dl, 0x34
cmp al, dl
jne 0x140239860
jmp 0x140239b01
cmp cl, 0x7d
je 0x140239ad5
mov cl, 0xb9
nop word [rax + rax]
mov al, 0x88
lock cmpxchg byte [0x1404b37a4], cl
je 0x140239910
cmp al, 0x7d
jne 0x140239890
jmp 0x140239ad5
mov eax, dword [0x1404ef824]
cmp eax, 0x52
jle 0x140239966
jmp 0x14023997e
xor eax, eax
lea rcx, [0x1404b35a0]
lea rdx, [0x1403c74d0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 3
jg 0x1402398f0
inc rax
jmp 0x1402398d0
mov eax, dword [0x1404ef820]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1402398f0
mov al, 1
test al, al
jne 0x140239add
jmp 0x140239af7
xor edx, edx
lea rax, [0x1404b3790]
lea rcx, [0x1403c76b0]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0x14
jl 0x140239920
mov eax, 0xa1ba8bd9
add eax, dword [0x1404b3c18]
lea rcx, [fcn.1402397a0]
add ecx, ecx
add ecx, 0x27c0
test ecx, eax
jne 0x140239acb
jmp 0x140239ab8
movzx eax, byte [0x1404b3643]
mov ecx, dword [0x1404ef820]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x1402399b4
mov eax, 0xa1ba8bd8
nop word cs:[rax + rax]
movzx ecx, byte [0x1404b3643]
mov ecx, dword [0x1404ef820]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x1404b3c18]
add ecx, eax
cmp edx, ecx
jne 0x140239990
jmp 0x140239966
cmp al, 0x19
je 0x1402399da
mov cl, 0x96
nop word [rax + rax]
mov al, 0x43
lock cmpxchg byte [0x1404b3643], cl
je 0x1402399e2
movzx edx, byte [0x1404b3c1c]
add dl, 0x15
cmp al, dl
jne 0x1402399c0
lea rax, [0x1404b3630]
ret
xor eax, eax
lea rcx, [0x1404b3630]
lea rdx, [0x1403c7550]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x12
jg 0x140239a18
inc rax
jmp 0x140239a00
mov al, 0x19
xchg byte [0x1404b3643], al
lea rax, [0x1404b3630]
ret
movzx eax, byte [0x1404b35d0]
xor ecx, ecx
test cl, cl
je 0x140239a3e
movzx eax, byte [0x1404b35d0]
jmp 0x140239a28
cmp al, 0xf
je 0x140239a60
mov cl, 0xbf
nop word cs:[rax + rax]
mov al, 0x37
lock cmpxchg byte [0x1404b35d0], cl
je 0x140239a68
cmp al, 0xf
jne 0x140239a50
lea rax, [0x1404b35c0]
ret
xor eax, eax
lea rcx, [0x1404b35c0]
lea rdx, [0x1403c74f0]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
mov r9d, r8d
xor r9b, r8b
not r9b
and r9b, byte [rax + rcx]
xor r9b, r8b
mov byte [rax + rcx], r9b
lea r8d, [rax + 1]
cmp r8d, 0xf
jg 0x140239aa8
inc rax
jmp 0x140239a80
mov al, 0xf
xchg byte [0x1404b35d0], al
lea rax, [0x1404b35c0]
ret
mov al, 0x7d
xchg byte [0x1404b37a4], al
mov eax, dword [0x1404ef824]
cmp eax, 0x39
jle 0x140239ad5
mov al, 0x7d
xchg byte [0x1404b37a4], al
jmp 0x140239ab8
lea rax, [0x1404b3790]
ret
movzx eax, byte [0x1404b3c1c]
add al, 0x34
xchg byte [0x1404b35a4], al
mov eax, dword [0x1404ef824]
cmp eax, 0x4f
jle 0x140239b01
mov al, 0x38
xchg byte [0x1404b35a4], al
jmp 0x140239add
lea rax, [0x1404b35a0]
ret