Function at 0x140239bc0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x140239bfc
test edx, edx
je 0x140239c5b
movzx eax, byte [0x14051768d]
cmp al, 0xa8
je 0x140239bf4
mov cl, 0xb2
nop dword [rax]
mov al, 0x82
lock cmpxchg byte [0x14051768d], cl
je 0x140239cfc
cmp al, 0xa8
jne 0x140239be0
lea rax, [0x140517680]
ret
test edx, edx
je 0x140239ccc
mov eax, 0x136d98de
nop dword [rax]
mov ecx, dword [0x14055cc20]
mov edx, 0xcd15726b
sub edx, ecx
imul edx, ecx
test dl, 1
jne 0x140239c37
movzx ecx, byte [0x1405177bd]
mov edx, dword [0x14055cc24]
cmp edx, 0x30
jle 0x140239ca2
movzx ecx, byte [0x1405177bd]
mov ecx, dword [0x14055cc20]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x1405192b4]
add ecx, eax
cmp edx, ecx
jne 0x140239c10
jmp 0x140239c25
movzx eax, byte [0x140517951]
cmp al, 0x1b
je 0x140239e2f
mov cl, 0xc8
nop dword [rax]
mov al, 0xbc
lock cmpxchg byte [0x140517951], cl
je 0x140239d59
movzx edx, byte [0x1405192b0]
mov r8d, edx
xor r8b, 0x9a
and dl, 0x1a
add dl, dl
add dl, r8b
add dl, 0x2c
cmp al, dl
jne 0x140239c70
jmp 0x140239e2f
cmp cl, 0xf5
je 0x140239cc4
mov cl, 0xc8
nop dword [rax]
mov al, 0xca
lock cmpxchg byte [0x1405177bd], cl
je 0x140239d88
cmp al, 0xf5
jne 0x140239cb0
lea rax, [0x1405177b0]
ret
movzx eax, byte [0x1405175cd]
cmp al, 0xef
je 0x140239cf4
mov cl, 0x96
nop dword [rax]
mov al, 0x37
lock cmpxchg byte [0x1405175cd], cl
je 0x140239e4e
cmp al, 0xef
jne 0x140239ce0
lea rax, [0x1405175c0]
ret
xor edx, edx
lea rax, [0x140517680]
lea rcx, [0x140432840]
nop dword [rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
mov r9d, r8d
xor r9b, r8b
not r9b
and r9b, byte [rdx + rax]
xor r9b, r8b
mov byte [rdx + rax], r9b
mov r8d, edx
xor r8d, 1
not edx
and edx, 0x7ffffffe
or edx, r8d
not edx
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x140239d10
mov al, 0xa8
xchg byte [0x14051768d], al
lea rax, [0x140517680]
ret
xor eax, eax
lea rcx, [0x140517940]
lea rdx, [0x140432b00]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x10
jg 0x140239dd5
inc rax
jmp 0x140239d70
xor eax, eax
lea rcx, [0x1405177b0]
lea rdx, [0x140432970]
nop dword [rax + rax]
movzx r8d, byte [rax + rcx]
movzx r9d, byte [rax + rdx]
mov r10d, r8d
not r10b
mov r11d, r9d
xor r11b, r10b
and r10b, r9b
not r11b
and r11b, r8b
or r11b, r10b
mov byte [rax + rcx], r11b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x140239e37
inc rax
jmp 0x140239da0
mov eax, 0x136d98df
lea rcx, [fcn.140239bc0]
add ecx, ecx
add ecx, 0x3ec0
nop dword [rax]
mov edx, dword [0x14055cc20]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
je 0x140239e17
mov dl, 0x1b
xchg byte [0x140517951], dl
mov edx, dword [0x14055cc24]
cmp edx, 0x44
jge 0x140239df0
mov dl, 0x1b
xchg byte [0x140517951], dl
mov edx, dword [0x1405192b4]
add edx, eax
xor edx, ecx
not edx
test ecx, edx
jne 0x140239e04
lea rax, [0x140517940]
ret
movzx eax, byte [0x1405192b0]
add al, 0xa0
xchg byte [0x1405177bd], al
lea rax, [0x1405177b0]
ret
xor edx, edx
lea rax, [0x1405175c0]
lea rcx, [0x140432780]
nop
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
mov r9d, r8d
xor r9b, r8b
not r9b
and r9b, byte [rdx + rax]
xor r9b, r8b
mov byte [rdx + rax], r9b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x140239e60
mov al, 0xef
xchg byte [0x1405175cd], al
lea rax, [0x1405175c0]
ret