Function at 0x140196050
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14019610c
nop dword [rax + rax]
cmp dword [0x14056d0b8], 0x9a1c9a34
je 0x140196077
mov eax, dword [0x1405d0cd4]
cmp eax, 0x53
jge 0x140196060
mov eax, dword [0x1405d0cd4]
cmp eax, 0x56
jg 0x14019606c
test edx, edx
je 0x140196149
movzx eax, byte [0x14056bb94]
nop word cs:[rax + rax]
cmp al, 0xc8
je 0x1401960f7
movzx ecx, byte [0x14056d0c8]
lea eax, [rcx + 0x77]
add cl, 0xe9
lock cmpxchg byte [0x14056bb94], cl
jne 0x1401960a0
xor edx, edx
lea rax, [0x14056bb90]
lea rcx, [0x14048ed80]
nop dword [rax + rax]
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, 4
jl 0x1401960d0
mov al, 0xc8
xchg byte [0x14056bb94], al
mov eax, dword [0x1405d0cd4]
xor eax, eax
nop
test al, al
jne 0x140196100
lea rax, [0x14056bb90]
ret
mov eax, 0x65e365cc
add eax, dword [0x14056d0b8]
cmp edx, eax
jne 0x1401961e1
movzx eax, byte [0x14056bc01]
cmp al, 0xd
je 0x1401963ee
mov cl, 0xdc
mov al, 0x42
lock cmpxchg byte [0x14056bc01], cl
je 0x14019622d
cmp al, 0xd
jne 0x140196130
jmp 0x1401963ee
movzx eax, byte [0x14056bd69]
cmp al, 0xac
je 0x140196170
mov cl, 0x37
nop word cs:[rax + rax]
mov al, 0xb2
lock cmpxchg byte [0x14056bd69], cl
je 0x140196180
cmp al, 0xac
jne 0x140196160
lea rax, [0x14056bd60]
ret
mov eax, dword [0x1405d0cd0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140196180
mov eax, dword [0x1405d0cd0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140196180
xor eax, eax
lea rcx, [0x14056bd60]
lea rdx, [0x14048ef50]
mov r8d, 0x65e365d5
nop dword [rax + rax]
movzx r9d, byte [rax + rdx]
add byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x14056d0b8]
add r10d, r8d
cmp r9d, r10d
jge 0x14019621d
inc rax
jmp 0x1401961c0
movzx eax, byte [0x14056bc85]
cmp al, 0x81
je 0x14019635a
mov cl, 0xc5
nop word cs:[rax + rax]
mov al, 0x87
lock cmpxchg byte [0x14056bc85], cl
je 0x1401962c6
cmp al, byte [0x14056d0c8]
jne 0x140196200
jmp 0x14019635a
mov al, 0xac
xchg byte [0x14056bd69], al
lea rax, [0x14056bd60]
ret
mov eax, 0x65e365cc
lea rcx, [fcn.140196050]
lea edx, [rcx + rcx]
add edx, 0x2800
mov r8d, 0x65e365cd
nop dword [rax + rax]
mov r9d, dword [0x1405d0cd0]
lea r10d, [r9 - 1]
imul r10d, r9d
and r10d, 1
mov r9d, dword [0x14056d0b8]
add r9d, eax
cmp r10d, r9d
jne 0x1401962aa
mov r9d, dword [0x14056d0b8]
mov r10d, r9d
xor r10d, 0x65e365cd
mov r11d, r9d
and r11d, 0x65e365cd
lea r10d, [r10 + r11*2]
xor r10d, edx
not r10d
and r10d, edx
add r9d, 0x65e365cc
cmp r10d, r9d
je 0x140196362
mov r9d, dword [0x14056d0b8]
add r9d, r8d
lea r10d, [rcx + rcx]
add r10d, 0xfa0
test r10d, r9d
jne 0x140196250
jmp 0x140196272
xor edx, edx
lea rax, [0x14056bc70]
lea rcx, [0x14048ee60]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x14056d0b8]
add edx, r8d
add edx, 0x65e365cd
add r8d, 0x65e365e1
cmp edx, r8d
jl 0x1401962e0
xor ecx, ecx
mov r8d, 0x65e365ce
test cl, cl
je 0x140196333
nop word cs:[rax + rax]
mov al, 0x81
xchg byte [0x14056bc85], al
mov eax, dword [0x1405d0cd4]
cmp eax, 0x26
jge 0x140196310
mov al, 0x81
xchg byte [0x14056bc85], al
mov edx, dword [0x1405d0cd0]
lea eax, [rdx - 1]
imul eax, edx
mov r9d, dword [0x14056d0b8]
add r9d, r8d
xor edx, edx
div r9d
test edx, edx
jne 0x140196320
lea rax, [0x14056bc70]
ret
xor eax, eax
lea rcx, [0x14056bbf0]
lea rdx, [0x14048ede0]
mov r8d, 0x65e365dd
nop dword [rax + rax]
movzx r9d, byte [rax + rdx]
add byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x14056d0b8]
add r10d, r8d
cmp r9d, r10d
jge 0x1401963a1
inc rax
jmp 0x140196380
mov eax, dword [0x1405d0cd0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401963d9
mov al, 0xd
xchg byte [0x14056bc01], al
mov ecx, dword [0x1405d0cd0]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, 0x65e365ce
add ecx, dword [0x14056d0b8]
xor edx, edx
div ecx
test edx, edx
je 0x1401963ee
mov al, 1
nop dword [rax + rax]
mov cl, 0xd
xchg byte [0x14056bc01], cl
test al, al
je 0x1401963e0
jmp 0x1401963b2
lea rax, [0x14056bbf0]
ret