Function at 0x140357900
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14035796c
test edx, edx
je 0x1403579a9
movzx eax, byte [0x14058fb09]
cmp al, 0x31
je 0x140357cb5
mov cl, 0x66
jmp 0x140357928
cmp al, 0x31
je 0x140357cb5
mov al, 0x39
lock cmpxchg byte [0x14058fb09], cl
je 0x140357a21
nop dword [rax + rax]
mov edx, dword [0x1405b6198]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x14035795f
mov edx, dword [0x1405b619c]
cmp edx, 0x4e
jle 0x140357920
mov edx, dword [0x1405b619c]
cmp edx, 0x5c
jge 0x140357940
jmp 0x140357954
test edx, edx
je 0x1403579d9
movzx eax, byte [0x14058faf4]
cmp al, 0x84
je 0x140357ab9
mov cl, 0x70
nop word cs:[rax + rax]
mov al, 0x4b
lock cmpxchg byte [0x14058faf4], cl
je 0x140357a77
cmp al, 0x84
jne 0x140357990
jmp 0x140357ab9
movzx eax, byte [0x14058fd73]
cmp al, 0x33
je 0x140357bd3
mov cl, 0x91
nop word [rax + rax]
mov al, 0xcc
lock cmpxchg byte [0x14058fd73], cl
je 0x140357ad9
cmp al, 0x33
jne 0x1403579c0
jmp 0x140357bd3
movzx eax, byte [0x14058fd08]
cmp al, 0xa9
je 0x140357a19
nop word cs:[rax + rax]
movzx ecx, byte [0x140590c04]
lea eax, [rcx + 0x5f]
add cl, 0xe1
lock cmpxchg byte [0x14058fd08], cl
je 0x140357b1c
movzx ecx, byte [0x140590c04]
add cl, 0xd9
cmp al, cl
jne 0x1403579f0
lea rax, [0x14058fcf0]
ret
xor eax, eax
lea rcx, [0x14058fb00]
lea rdx, [0x14048de10]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 8
jg 0x140357a58
inc rax
jmp 0x140357a40
lea rax, [fcn.140357900]
add eax, eax
add eax, 0x2840
mov ecx, eax
not ecx
test ecx, eax
jne 0x140357ca0
jmp 0x140357c8a
xor edx, edx
lea rax, [0x14058fae0]
lea rcx, [0x14048ddf0]
nop word [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x140590c00]
add edx, r8d
add edx, 0x75af529
cmp edx, 0x14
jl 0x140357a90
mov al, 0x84
xchg byte [0x14058faf4], al
mov eax, dword [0x1405b619c]
nop
mov eax, dword [0x1405b6198]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
jne 0x140357ac0
lea rax, [0x14058fae0]
ret
xor eax, eax
lea rcx, [0x14058fd50]
lea rdx, [0x14048e030]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x22
jg 0x140357b08
inc rax
jmp 0x140357af0
mov eax, dword [0x1405b619c]
cmp eax, 0x5a
jg 0x140357c60
jmp 0x140357c4e
xor eax, eax
lea rcx, [0x14058fcf0]
lea rdx, [0x14048dfd0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x17
jg 0x140357b48
inc rax
jmp 0x140357b30
mov eax, dword [0x1405b619c]
cmp eax, 0x52
jle 0x140357b9b
jmp 0x140357bbd
mov eax, dword [0x1405b619c]
cmp eax, 0x26
jl 0x140357b8b
mov eax, dword [0x1405b6198]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
mov eax, dword [0x140590c00]
mov edx, eax
xor edx, 0x75af528
and eax, 0x75af528
lea eax, [rdx + rax*2]
cmp ecx, eax
jne 0x140357b60
jmp 0x140357b55
mov al, 0xa9
xchg byte [0x14058fd08], al
lea rax, [0x14058fcf0]
ret
mov eax, dword [0x1405b6198]
mov ecx, dword [0x140590c00]
mov edx, ecx
not edx
add edx, eax
imul edx, eax
and edx, 1
add ecx, 0x75af528
cmp edx, ecx
je 0x140357bc6
mov al, 1
nop
test al, al
je 0x140357bc0
jmp 0x140357b9b
mov eax, dword [0x1405b619c]
cmp eax, 0x43
jge 0x140357b60
jmp 0x140357b55
mov ecx, 0x75af529
lea rax, [fcn.140357900]
lea r8d, [rax + rax]
add r8d, 0x5c0
mov r9d, r8d
not r9d
mov eax, dword [0x1405b6198]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x140357c2b
mov edx, dword [0x1405b6198]
mov r10d, dword [0x140590c00]
mov eax, edx
sub eax, r10d
add eax, 0xf8a50ad7
imul eax, edx
add r10d, 0x75af52a
xor edx, edx
div r10d
test edx, edx
je 0x140357c46
mov eax, dword [0x140590c00]
add eax, ecx
mov edx, r8d
xor edx, eax
not eax
and eax, r9d
or eax, edx
cmp eax, 0xffffffff
jne 0x140357bf0
jmp 0x140357c01
lea rax, [0x14058fd50]
ret
mov al, 1
test al, al
jne 0x140357c6d
nop word cs:[rax + rax]
mov eax, dword [0x1405b619c]
cmp eax, 0x43
jge 0x140357c60
jmp 0x140357c4e
movzx eax, byte [0x140590c04]
mov ecx, eax
xor cl, 0x63
and al, 0x63
add al, al
add al, cl
xchg byte [0x14058fd73], al
jmp 0x140357bd3
mov al, 0x31
xchg byte [0x14058fb09], al
mov al, 1
test al, al
jne 0x140357cb5
nop dword [rax + rax]
mov al, 0x31
xchg byte [0x14058fb09], al
mov eax, dword [0x1405b619c]
cmp eax, 0x16
jge 0x140357ca0
jmp 0x140357c8a
lea rax, [0x14058fb00]
ret