Function at 0x14028bd20
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov esi, edx
test ecx, ecx
je 0x14028bd60
test esi, esi
je 0x14028be17
mov edx, dword [0x14056b23c]
lea ecx, [rdx + 0x1cc2f3a5]
add edx, 0xbda1fd2d
call fcn.14028d8c0
test al, 1
jne 0x14028c1e5
jmp 0x14028c1f8
lea rdi, [rsp + 0x3c]
lea rbx, [rsp + 0x30]
nop word [rax + rax]
mov eax, dword [0x1405b4958]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14028bd92
mov eax, dword [0x1405b4958]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
je 0x14028bdbc
mov dword [rsp + 0x20], 0xa69bba7c
mov ecx, esi
mov rdx, rdi
mov r8, rbx
mov r9d, 0xd2c486ba
call fcn.14028dab0
mov eax, dword [rsp + 0x3c]
imul eax, dword [rsp + 0x30]
test al, 1
jne 0x14028bd70
jmp 0x14028bd81
test esi, esi
je 0x14028bedb
movzx eax, byte [0x14056ae96]
movzx ecx, byte [0x14056b238]
add cl, 0x37
cmp al, cl
je 0x14028c06c
lea rsi, [rsp + 0x30]
nop word cs:[rax + rax]
mov rcx, rsi
mov edx, 0xbde63a25
mov r8d, 0xa106a4ca
call fcn.14028de80
test al, 1
jne 0x14028bf8d
cmp byte [rsp + 0x30], 0x95
jne 0x14028bdf0
jmp 0x14028c06c
movzx eax, byte [0x14056afbd]
cmp al, 0x1b
je 0x14028c0ff
mov cl, 0x4f
nop dword [rax + rax]
cmp byte [0x1405b4960], 0
jne 0x14028be80
nop dword [rax]
movzx edx, byte [0x14056b238]
lea eax, [rdx + 0x44]
mov r8d, edx
xor r8b, 0xf1
and dl, 0x71
add dl, dl
add dl, r8b
lock cmpxchg byte [0x14056afbd], dl
sete dl
mov r8d, dword [0x1405b4958]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x14028bea0
nop dword [rax]
mov al, 0xa2
lock cmpxchg byte [0x14056afbd], cl
mov eax, dword [0x1405b495c]
cmp eax, 0x40
jge 0x14028be80
jmp 0x14028be40
test dl, dl
jne 0x14028c005
mov edx, dword [0x1405b4958]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
mov edx, dword [0x1405b4958]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x14028beba
cmp al, 0x1b
jne 0x14028be30
jmp 0x14028c0ff
mov edx, dword [0x14056b23c]
lea ecx, [rdx + 0x61074d50]
add edx, 0xee86c39e
call fcn.14028d920
test al, 1
jne 0x14028c163
xor edi, edi
mov bpl, 0x73
lea rsi, [rsp + 0x30]
nop word cs:[rax + rax]
test dil, dil
jne 0x14028bf80
nop word cs:[rax + rax]
mov al, 0xc8
lock cmpxchg byte [0x14056adf0], bpl
mov ebx, eax
sete dl
mov dword [rsp + 0x20], 0x4107a4bc
mov ecx, eax
mov r8, rsi
mov r9d, 0x49730165
call fcn.14028d700
test al, 1
je 0x14028bf80
test byte [rsp + 0x30], 1
jne 0x14028c10b
mov ecx, ebx
mov edx, 0x12d4da6d
mov r8d, 0xb0bd2b40
call fcn.14028df10
test al, 1
je 0x14028bf10
jmp 0x14028c163
mov al, 0xc8
lock cmpxchg byte [0x14056adf0], bpl
jmp 0x14028bf20
xor esi, esi
lea r14, [0x14056ae80]
lea r15, [0x140478c50]
lea rdi, [rsp + 0x30]
mov ebp, 0xe0bbf804
nop word [rax + rax]
movzx ebx, byte [rsi + r14]
add bl, byte [rsi + r15]
mov rcx, rsi
mov rdx, rdi
mov r8d, 0x2cb3cfa8
mov r9d, 0x12b0413a
call fcn.14028d8a0
mov rdx, qword [rsp + 0x30]
mov r9d, dword [0x14056b23c]
lea r8d, [r9 + 0x693062dc]
add r9d, 0x2e76ef8c
mov ecx, ebx
call fcn.140142410
lea eax, [rsi + 1]
mov ecx, dword [0x14056b23c]
add ecx, ebp
cmp eax, ecx
jge 0x14028c05d
inc rsi
jmp 0x14028bfb0
xor esi, esi
lea rdi, [rsp + 0x3c]
lea rbx, [rsp + 0x30]
lea r14, [0x14056afb0]
nop dword [rax + rax]
mov eax, dword [0x14056b23c]
lea r9d, [rax + 0x18e782af]
add eax, 0x9ba543ff
mov dword [rsp + 0x20], eax
mov ecx, esi
mov rdx, rdi
mov r8, rbx
call fcn.14028da50
movzx eax, byte [rsp + 0x3c]
xor al, byte [rsp + 0x30]
mov byte [rsi + r14], al
lea eax, [rsi + 1]
cmp eax, 0xc
jg 0x14028c078
inc rsi
jmp 0x14028c020
mov ecx, 0x8032f6b7
mov edx, 0x7a6a19fd
call fcn.14028d910
lea rax, [0x14056ae80]
jmp 0x14028c1d6
mov eax, dword [0x1405b495c]
nop
mov eax, dword [0x1405b495c]
cmp eax, 0xd
jge 0x14028c080
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov edx, 0x37508202
mov r8d, 0x3cedba49
call fcn.14028d760
mov eax, dword [rsp + 0x30]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14028c0dd
mov rcx, rsi
mov edx, 0x55c7cf3b
mov r8d, 0x23fad474
call fcn.14028dfb0
mov ecx, dword [rsp + 0x30]
mov edx, 0x2280ebcb
mov r8d, 0x811cccea
call fcn.14028d850
test al, 1
je 0x14028c090
mov al, 0x1b
xchg byte [0x14056afbd], al
mov ecx, dword [0x1405b495c]
mov edx, 0x16b5781e
mov r8d, 0xe31856a3
call fcn.140245f20
test al, 1
je 0x14028c0b2
lea rax, [0x14056afb0]
jmp 0x14028c1d6
xor esi, esi
lea rdi, [rsp + 0x30]
lea rbx, [0x14056ade0]
lea r14, [0x140478bc0]
mov ecx, esi
mov rdx, rdi
mov r8d, 0xf614eeff
mov r9d, 0xf8947f3f
call fcn.140138e60
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsi + r14]
mov edx, ecx
xor dl, cl
not dl
and dl, byte [rax + rbx]
xor dl, cl
mov byte [rsi + rbx], dl
lea eax, [rsi + 1]
cmp eax, 0xf
jg 0x14028c15b
inc rsi
jmp 0x14028c120
mov al, 0x3d
xchg byte [0x14056adf0], al
mov esi, 0xe0bbf7ef
lea rax, [fcn.14028bd20]
lea edi, [rax + rax]
add edi, 0x3b80
mov ebx, edi
not ebx
xor ebp, ebp
nop
mov eax, dword [0x14056b23c]
add eax, esi
mov ecx, edi
xor ecx, eax
not eax
and eax, ebx
or eax, ecx
cmp eax, 0xffffffff
jne 0x14028c1b3
mov edx, dword [0x14056b23c]
lea ecx, [rdx - 0x35eb74ca]
add edx, 0x50011d99
call fcn.14028d980
test bpl, bpl
je 0x14028c1cf
mov ecx, 0x41c3cdc0
mov edx, 0x41c3cdc0
call fcn.14008c830
mov eax, dword [0x1405b495c]
cmp eax, 0x40
jge 0x14028c180
jmp 0x14028c197
lea rax, [0x14056ade0]
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx eax, byte [0x14056af6d]
cmp dword [0x14056b23c], 0x1f440812
je 0x14028c201
movzx eax, byte [0x14056af6d]
jmp 0x14028c1e5
movzx ecx, byte [0x14056b238]
add cl, 0xbc
cmp al, cl
je 0x14028c41c
lea rsi, [rsp + 0x30]
mov bl, 1
jmp 0x14028c228
cmp al, 0x1a
je 0x14028c41c
mov rcx, rsi
mov edx, 0x1d5e0fd8
mov r8d, 0xd2c486ba
call fcn.14028d9c0
test al, 1
jne 0x14028c27b
movzx eax, byte [rsp + 0x30]
nop word cs:[rax + rax]
mov ecx, dword [0x1405b495c]
cmp ecx, 0x10
jg 0x14028c275
mov ecx, dword [0x1405b4958]
mov edx, dword [0x14056b23c]
neg edx
add edx, ecx
inc edx
imul edx, ecx
test dl, 1
je 0x14028c220
test bl, bl
je 0x14028c250
jmp 0x14028c25b
xor esi, esi
lea rdi, [rsp + 0x30]
lea rbx, [rsp + 0x3c]
lea r15, [0x140478d30]
lea r12, [0x14056af60]
jmp 0x14028c2ab
inc esi
cmp esi, 0xd
jge 0x14028c3db
mov eax, dword [0x1405b495c]
movsxd r14, esi
cmp eax, 0x38
jg 0x14028c320
nop dword [rax]
mov ecx, r14d
mov rdx, rdi
mov r8d, 0xaa74a99c
mov r9d, 0xa53360ba
call fcn.14028d6e0
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x28], 0xbf30354e
mov dword [rsp + 0x20], 0x9719e9aa
mov edx, r14d
mov r8, rbx
mov r9, rdi
call fcn.140142650
movzx eax, byte [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
xor al, byte [rcx + r15]
mov byte [r14 + r12], al
mov eax, dword [0x1405b495c]
cmp eax, 0x53
jl 0x14028c2a0
nop word [rax + rax]
mov r9d, dword [0x14056b23c]
lea r8d, [r9 + 0x6e5168c9]
add r9d, 0x2517c88c
mov ecx, esi
mov rdx, rdi
call fcn.14028dee0
movzx edx, byte [rsp + 0x30]
mov dword [rsp + 0x28], 0x65af3baa
mov dword [rsp + 0x20], 0xce55a1ac
mov ecx, esi
mov r8, rbx
mov r9, rdi
call fcn.14028deb0
movzx eax, byte [rsp + 0x3c]
xor al, byte [rsp + 0x30]
mov byte [r14 + r12], al
mov ebp, esi
neg ebp
shl ebp, 2
xor ebp, 0xfffffffe
movzx ecx, byte [0x14056b23c]
add cl, 0xef
shl ebp, cl
mov ecx, ebp
mov rdx, rdi
mov r8d, 0x5468799f
mov r9d, 0x51524ff9
call fcn.14014c8f0
mov ecx, dword [rsp + 0x30]
sub ebp, ecx
imul ebp, ecx
sub ecx, ebp
mov eax, dword [0x14056b23c]
mov edx, eax
sub edx, ebp
add edx, ecx
sub eax, edx
add ecx, ecx
add ecx, eax
mov rdx, rdi
mov r8d, 0x2204e77c
mov r9d, 0x9c506349
call fcn.14028dac0
cmp dword [rsp + 0x30], 0
jne 0x14028c320
jmp 0x14028c2c0
mov eax, dword [0x14056b23c]
lea edx, [rax - 0x65d33698]
mov ecx, eax
xor ecx, 0x6e6cfa4a
and eax, 0x6e6cfa4a
lea r8d, [rcx + rax*2]
lea rcx, [rsp + 0x30]
call fcn.140071320
xor eax, eax
nop word cs:[rax + rax]
test al, al
jne 0x14028c410
mov al, 0x1a
xchg byte [0x14056af6d], al
lea rax, [0x14056af60]
jmp 0x14028c1d6