Function at 0x140117ab0
Capabilities:
Encode data using xor

Disassembly:
push rsi
test ecx, ecx
je 0x140117b20
test edx, edx
je 0x140117b33
movzx eax, byte [0x140520a50]
cmp al, 0x5b
je 0x140117bd1
movzx ecx, byte [0x140520c98]
lea eax, [rcx - 0x62]
add cl, 0x17
lock cmpxchg byte [0x140520a50], cl
jne 0x140117ac0
xor eax, eax
lea rcx, [0x140520a40]
lea rdx, [0x14044cea0]
nop
movzx r8d, byte [rax + rcx]
movzx r9d, byte [rax + rdx]
mov r10d, r8d
xor r10b, r9b
and r8b, r9b
add r8b, r8b
add r8b, r10b
mov byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xf
jg 0x140117bc9
inc rax
jmp 0x140117af0
test edx, edx
je 0x140117b95
xor eax, eax
test al, al
je 0x140117cd8
jmp 0x140117ce5
xor eax, eax
mov cl, 1
nop word [rax + rax]
test al, al
jne 0x140117b60
movzx edx, byte [0x140520a33]
mov r8d, dword [0x14058f0a8]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x140117b6d
movzx edx, byte [0x140520a33]
test cl, cl
je 0x140117b40
jmp 0x140117b44
cmp dl, 0xf3
je 0x140117e3b
mov cl, 5
nop dword [rax + rax]
mov al, 0xbb
lock cmpxchg byte [0x140520a33], cl
je 0x140117bda
cmp al, 0xf3
jne 0x140117b80
jmp 0x140117e3b
movzx eax, byte [0x140520bbc]
cmp al, 0xe7
je 0x140117ccf
mov cl, 0xcd
nop word cs:[rax + rax]
mov al, 0x74
lock cmpxchg byte [0x140520bbc], cl
je 0x140117c46
cmp al, 0xe7
jne 0x140117bb0
jmp 0x140117ccf
mov al, 0x5b
xchg byte [0x140520a50], al
lea rax, [0x140520a40]
pop rsi
ret
xor edx, edx
lea rax, [0x140520a30]
lea rcx, [0x14044ce90]
nop word [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x140520c9c]
add edx, r8d
add edx, 0x8de27085
cmp edx, 3
jl 0x140117bf0
mov eax, dword [0x14058f0a8]
mov eax, 0x8de27098
nop dword [rax]
mov ecx, dword [0x14058f0ac]
mov edx, dword [0x140520c9c]
add edx, eax
cmp ecx, edx
jge 0x140117c20
mov eax, dword [0x14058f0ac]
cmp eax, 0x5f
jge 0x140117e20
jmp 0x140117df9
xor edx, edx
lea rax, [0x140520bb0]
lea rcx, [0x14044cff0]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x140520c9c]
add edx, r8d
add edx, 0x8de27085
cmp edx, 0xc
jl 0x140117c60
mov eax, 0x8de27084
nop word cs:[rax + rax]
mov ecx, dword [0x14058f0a8]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x140117cac
mov ecx, dword [0x14058f0ac]
cmp ecx, 0x26
jge 0x140117c90
mov ecx, dword [0x14058f0a8]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x140520c9c]
add ecx, eax
cmp edx, ecx
jne 0x140117ca1
mov al, 0xe7
xchg byte [0x140520bbc], al
lea rax, [0x140520bb0]
pop rsi
ret
movzx eax, byte [0x140520b69]
xor ecx, ecx
test cl, cl
je 0x140117cee
movzx eax, byte [0x140520b69]
jmp 0x140117cd8
movzx ecx, byte [0x140520c98]
add cl, 0xa0
cmp al, cl
je 0x140117df0
mov cl, 0x96
mov edx, 0x8de27085
lea rax, [fcn.140117ab0]
lea r8d, [rax + rax]
add r8d, 0x180
xor r9d, r9d
mov r10b, 1
jmp 0x140117d38
cmp al, 0xc7
je 0x140117df0
mov eax, dword [0x14058f0a8]
lea r11d, [rax - 1]
imul r11d, eax
test r11b, 1
jne 0x140117d70
nop dword [rax]
mov al, 0x2e
lock cmpxchg byte [0x140520b69], cl
sete r11b
mov esi, dword [0x140520c9c]
add esi, edx
test r8d, esi
je 0x140117d90
nop dword [rax + rax]
mov al, 0x2e
lock cmpxchg byte [0x140520b69], cl
cmp dword [0x14058f0b0], 0
jne 0x140117d70
jmp 0x140117d50
test r11b, r11b
jne 0x140117db1
nop word cs:[rax + rax]
test r9b, r9b
jne 0x140117daa
test r9b, r9b
je 0x140117d30
test r10b, r10b
je 0x140117da0
jmp 0x140117da5
xor eax, eax
lea rcx, [0x140520b60]
lea rdx, [0x14044cfa0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 8
jg 0x140117de8
inc rax
jmp 0x140117dd0
mov al, 0xc7
xchg byte [0x140520b69], al
lea rax, [0x140520b60]
pop rsi
ret
mov al, 0xf3
xchg byte [0x140520a33], al
lea rax, [fcn.140117ab0]
add eax, eax
add eax, 0x22a0
mov ecx, eax
not ecx
test ecx, eax
je 0x140117e3b
nop word [rax + rax]
mov al, 0xf3
xchg byte [0x140520a33], al
mov eax, dword [0x14058f0a8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140117e20
jmp 0x140117df9
lea rax, [0x140520a30]
pop rsi
ret