Function at 0x14024ae50
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
test ecx, ecx
je 0x14024aea9
test edx, edx
je 0x14024aee9
test r8d, r8d
je 0x14024af29
test r9d, r9d
je 0x14024afa9
movzx eax, byte [0x1404b5a85]
cmp al, 0x32
je 0x14024b109
mov cl, 0x9b
nop word cs:[rax + rax]
mov al, 0xd3
lock cmpxchg byte [0x1404b5a85], cl
je 0x14024b0d9
cmp al, 0x32
jne 0x14024ae90
jmp 0x14024b109
test edx, edx
je 0x14024af69
test r8d, r8d
je 0x14024afd9
movzx eax, byte [0x1404b59b5]
cmp al, 0x63
je 0x14024b149
mov cl, 0x73
nop dword [rax + rax]
mov al, 0xe9
lock cmpxchg byte [0x1404b59b5], cl
je 0x14024b115
cmp al, 0x63
jne 0x14024aed0
jmp 0x14024b149
test r8d, r8d
je 0x14024b009
test r9d, r9d
je 0x14024b049
movzx eax, byte [0x1404b5992]
cmp al, 0x7d
je 0x14024b1b9
mov cl, 0x39
nop dword [rax]
mov al, 0xb7
lock cmpxchg byte [0x1404b5992], cl
je 0x14024b189
cmp al, 0x7d
jne 0x14024af10
jmp 0x14024b1b9
test r9d, r9d
je 0x14024b079
movzx eax, byte [0x1404b5b43]
cmp al, 0x6e
je 0x14024b1f9
mov cl, 0xc4
nop word cs:[rax + rax]
mov al, 0x80
lock cmpxchg byte [0x1404b5b43], cl
je 0x14024b1c5
cmp al, 0x6e
jne 0x14024af50
jmp 0x14024b1f9
test r8d, r8d
je 0x14024b0a9
movzx eax, byte [0x1404b5aa6]
cmp al, 0x4d
je 0x14024b279
mov cl, 0xae
nop word cs:[rax + rax]
mov al, 0xf2
lock cmpxchg byte [0x1404b5aa6], cl
je 0x14024b245
cmp al, 0x4d
jne 0x14024af90
jmp 0x14024b279
movzx eax, byte [0x1404b5b35]
cmp al, 0xee
je 0x14024b239
mov cl, 0x2c
nop word [rax + rax]
mov al, 0x4f
lock cmpxchg byte [0x1404b5b35], cl
je 0x14024b205
cmp al, 0xee
jne 0x14024afc0
jmp 0x14024b239
movzx eax, byte [0x1404b5a69]
cmp al, 0x39
je 0x14024b2b9
mov cl, 0x13
nop word [rax + rax]
mov al, 0xe9
lock cmpxchg byte [0x1404b5a69], cl
je 0x14024b285
cmp al, 0x39
jne 0x14024aff0
jmp 0x14024b2b9
test r9d, r9d
je 0x14024b155
movzx eax, byte [0x1404b5a20]
cmp al, 0xb4
je 0x14024b2f9
mov cl, 0xe
nop word cs:[rax + rax]
mov al, 0xb0
lock cmpxchg byte [0x1404b5a20], cl
je 0x14024b2c5
cmp al, 0xb4
jne 0x14024b030
jmp 0x14024b2f9
movzx eax, byte [0x1404b5b2c]
cmp al, 0x29
je 0x14024b339
mov cl, 0x84
nop word [rax + rax]
mov al, 0x5c
lock cmpxchg byte [0x1404b5b2c], cl
je 0x14024b305
cmp al, 0x29
jne 0x14024b060
jmp 0x14024b339
movzx eax, byte [0x1404b5a5a]
cmp al, 0x3f
je 0x14024b3d9
mov esi, dword [rsp + 0x60]
mov cl, 0xa3
nop
mov al, 0x38
lock cmpxchg byte [0x1404b5a5a], cl
je 0x14024b345
cmp al, 0x3f
jne 0x14024b090
jmp 0x14024b3d9
movzx eax, byte [0x1404b5bc6]
cmp al, 0xae
je 0x14024b419
mov cl, 0x82
nop word [rax + rax]
mov al, 0x7b
lock cmpxchg byte [0x1404b5bc6], cl
je 0x14024b3e2
cmp al, 0xae
jne 0x14024b0c0
jmp 0x14024b419
xor eax, eax
lea rcx, [0x1404b5a70]
lea rdx, [0x1403c91a0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x14024b0f0
mov al, 0x32
xchg byte [0x1404b5a85], al
lea rax, [0x1404b5a70]
jmp 0x14024b460
xor eax, eax
lea rcx, [0x1404b59a0]
lea rdx, [0x1403c90b0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x14024b130
mov al, 0x63
xchg byte [0x1404b59b5], al
lea rax, [0x1404b59a0]
jmp 0x14024b460
movzx eax, byte [0x1404b5ad9]
cmp al, 0x8d
je 0x14024b459
mov cl, 0xb7
nop word cs:[rax + rax]
mov al, 0x17
lock cmpxchg byte [0x1404b5ad9], cl
je 0x14024b422
cmp al, 0x8d
jne 0x14024b170
jmp 0x14024b459
xor eax, eax
lea rcx, [0x1404b5990]
lea rdx, [0x1403c90a0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 2
jl 0x14024b1a0
mov al, 0x7d
xchg byte [0x1404b5992], al
lea rax, [0x1404b5990]
jmp 0x14024b460
xor eax, eax
lea rcx, [0x1404b5b40]
lea rdx, [0x1403c9270]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 3
jl 0x14024b1e0
mov al, 0x6e
xchg byte [0x1404b5b43], al
lea rax, [0x1404b5b40]
jmp 0x14024b460
xor eax, eax
lea rcx, [0x1404b5b30]
lea rdx, [0x1403c9260]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 5
jl 0x14024b220
mov al, 0xee
xchg byte [0x1404b5b35], al
lea rax, [0x1404b5b30]
jmp 0x14024b460
xor eax, eax
lea rcx, [0x1404b5a90]
lea rdx, [0x1403c91c0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x16
jl 0x14024b260
mov al, 0x4d
xchg byte [0x1404b5aa6], al
lea rax, [0x1404b5a90]
jmp 0x14024b460
xor eax, eax
lea rcx, [0x1404b5a60]
lea rdx, [0x1403c9190]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 9
jl 0x14024b2a0
mov al, 0x39
xchg byte [0x1404b5a69], al
lea rax, [0x1404b5a60]
jmp 0x14024b460
xor eax, eax
lea rcx, [0x1404b5a10]
lea rdx, [0x1403c9110]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x14024b2e0
mov al, 0xb4
xchg byte [0x1404b5a20], al
lea rax, [0x1404b5a10]
jmp 0x14024b460
xor eax, eax
lea rcx, [0x1404b5b10]
lea rdx, [0x1403c9240]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x1c
jl 0x14024b320
mov al, 0x29
xchg byte [0x1404b5b2c], al
lea rax, [0x1404b5b10]
jmp 0x14024b460
cmp qword [0x1404efaa0], 0
jne 0x14024b3a1
mov r9d, esi
xor r9d, 0x48f11605
xor ebx, ebx
mov ecx, 1
xor edx, edx
mov r8d, 4
call fcn.14024ae20
mov rdi, rax
mov qword [0x1404efaa0], rax
xor esi, 0x145fd285
lea rcx, [0x14024ae00]
mov edx, esi
call fcn.140137f30
lea rax, [0x1403c9170]
movzx ecx, byte [rbx + rax]
mov byte [rdi + rbx], cl
inc rbx
cmp ebx, 2
jle 0x14024b392
mov rax, qword [0x1404efaa0]
xor ecx, ecx
lea rdx, [0x1403c9180]
nop word cs:[rax + rax]
movzx r8d, byte [rcx + rdx]
xor byte [rax + rcx], r8b
inc rcx
cmp ecx, 3
jl 0x14024b3c0
mov al, 0x3f
xchg byte [0x1404b5a5a], al
mov rax, qword [0x1404efaa0]
jmp 0x14024b460
xor eax, eax
lea rcx, [0x1404b5ba0]
lea rdx, [0x1403c92d0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x26
jl 0x14024b400
mov al, 0xae
xchg byte [0x1404b5bc6], al
lea rax, [0x1404b5ba0]
jmp 0x14024b460
xor eax, eax
lea rcx, [0x1404b5ad0]
lea rdx, [0x1403c9200]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 9
jl 0x14024b440
mov al, 0x8d
xchg byte [0x1404b5ad9], al
lea rax, [0x1404b5ad0]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret