Function at 0x140287da0
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 0x140287de0
test esi, esi
je 0x140287e97
mov edx, dword [0x1405619ac]
lea ecx, [rdx + 0x1cc2f3a5]
add edx, 0xbda1fd2d
call fcn.140289940
test al, 1
jne 0x140288265
jmp 0x140288278
lea rdi, [rsp + 0x3c]
lea rbx, [rsp + 0x30]
nop word [rax + rax]
mov eax, dword [0x1405aab00]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140287e12
mov eax, dword [0x1405aab00]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
je 0x140287e3c
mov dword [rsp + 0x20], 0xa69bba7c
mov ecx, esi
mov rdx, rdi
mov r8, rbx
mov r9d, 0xd2c486ba
call fcn.140289b30
mov eax, dword [rsp + 0x3c]
imul eax, dword [rsp + 0x30]
test al, 1
jne 0x140287df0
jmp 0x140287e01
test esi, esi
je 0x140287f5b
movzx eax, byte [0x140561606]
movzx ecx, byte [0x1405619a8]
add cl, 0x37
cmp al, cl
je 0x1402880ec
lea rsi, [rsp + 0x30]
nop word cs:[rax + rax]
mov rcx, rsi
mov edx, 0xbde63a25
mov r8d, 0xa106a4ca
call fcn.140289f00
test al, 1
jne 0x14028800d
cmp byte [rsp + 0x30], 0x95
jne 0x140287e70
jmp 0x1402880ec
movzx eax, byte [0x14056172d]
cmp al, 0x1b
je 0x14028817f
mov cl, 0x4f
nop dword [rax + rax]
cmp byte [0x1405aab08], 0
jne 0x140287f00
nop dword [rax]
movzx edx, byte [0x1405619a8]
lea eax, [rdx + 0x44]
mov r8d, edx
xor r8b, 0xf1
and dl, 0x71
add dl, dl
add dl, r8b
lock cmpxchg byte [0x14056172d], dl
sete dl
mov r8d, dword [0x1405aab00]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x140287f20
nop dword [rax]
mov al, 0xa2
lock cmpxchg byte [0x14056172d], cl
mov eax, dword [0x1405aab04]
cmp eax, 0x40
jge 0x140287f00
jmp 0x140287ec0
test dl, dl
jne 0x140288085
mov edx, dword [0x1405aab00]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
mov edx, dword [0x1405aab00]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x140287f3a
cmp al, 0x1b
jne 0x140287eb0
jmp 0x14028817f
mov edx, dword [0x1405619ac]
lea ecx, [rdx + 0x61074d50]
add edx, 0xee86c39e
call fcn.1402899a0
test al, 1
jne 0x1402881e3
xor edi, edi
mov bpl, 0x73
lea rsi, [rsp + 0x30]
nop word cs:[rax + rax]
test dil, dil
jne 0x140288000
nop word cs:[rax + rax]
mov al, 0xc8
lock cmpxchg byte [0x140561560], bpl
mov ebx, eax
sete dl
mov dword [rsp + 0x20], 0x4107a4bc
mov ecx, eax
mov r8, rsi
mov r9d, 0x49730165
call fcn.140289780
test al, 1
je 0x140288000
test byte [rsp + 0x30], 1
jne 0x14028818b
mov ecx, ebx
mov edx, 0x12d4da6d
mov r8d, 0xb0bd2b40
call fcn.140289f90
test al, 1
je 0x140287f90
jmp 0x1402881e3
mov al, 0xc8
lock cmpxchg byte [0x140561560], bpl
jmp 0x140287fa0
xor esi, esi
lea r14, [0x1405615f0]
lea r15, [0x140470c70]
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.140289920
mov rdx, qword [rsp + 0x30]
mov r9d, dword [0x1405619ac]
lea r8d, [r9 + 0x693062dc]
add r9d, 0x2e76ef8c
mov ecx, ebx
call fcn.140141c70
lea eax, [rsi + 1]
mov ecx, dword [0x1405619ac]
add ecx, ebp
cmp eax, ecx
jge 0x1402880dd
inc rsi
jmp 0x140288030
xor esi, esi
lea rdi, [rsp + 0x3c]
lea rbx, [rsp + 0x30]
lea r14, [0x140561720]
nop dword [rax + rax]
mov eax, dword [0x1405619ac]
lea r9d, [rax + 0x18e782af]
add eax, 0x9ba543ff
mov dword [rsp + 0x20], eax
mov ecx, esi
mov rdx, rdi
mov r8, rbx
call fcn.140289ad0
movzx eax, byte [rsp + 0x3c]
xor al, byte [rsp + 0x30]
mov byte [rsi + r14], al
lea eax, [rsi + 1]
cmp eax, 0xc
jg 0x1402880f8
inc rsi
jmp 0x1402880a0
mov ecx, 0x8032f6b7
mov edx, 0x7a6a19fd
call fcn.140289990
lea rax, [0x1405615f0]
jmp 0x140288256
mov eax, dword [0x1405aab04]
nop
mov eax, dword [0x1405aab04]
cmp eax, 0xd
jge 0x140288100
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov edx, 0x37508202
mov r8d, 0x3cedba49
call fcn.1402897e0
mov eax, dword [rsp + 0x30]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14028815d
mov rcx, rsi
mov edx, 0x55c7cf3b
mov r8d, 0x23fad474
call fcn.14028a030
mov ecx, dword [rsp + 0x30]
mov edx, 0x2280ebcb
mov r8d, 0x811cccea
call fcn.1402898d0
test al, 1
je 0x140288110
mov al, 0x1b
xchg byte [0x14056172d], al
mov ecx, dword [0x1405aab04]
mov edx, 0x16b5781e
mov r8d, 0xe31856a3
call fcn.140241fa0
test al, 1
je 0x140288132
lea rax, [0x140561720]
jmp 0x140288256
xor esi, esi
lea rdi, [rsp + 0x30]
lea rbx, [0x140561550]
lea r14, [0x140470be0]
mov ecx, esi
mov rdx, rdi
mov r8d, 0xf614eeff
mov r9d, 0xf8947f3f
call fcn.1401386c0
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 0x1402881db
inc rsi
jmp 0x1402881a0
mov al, 0x3d
xchg byte [0x140561560], al
mov esi, 0xe0bbf7ef
lea rax, [fcn.140287da0]
lea edi, [rax + rax]
add edi, 0x3b80
mov ebx, edi
not ebx
xor ebp, ebp
nop
mov eax, dword [0x1405619ac]
add eax, esi
mov ecx, edi
xor ecx, eax
not eax
and eax, ebx
or eax, ecx
cmp eax, 0xffffffff
jne 0x140288233
mov edx, dword [0x1405619ac]
lea ecx, [rdx - 0x35eb74ca]
add edx, 0x50011d99
call fcn.140289a00
test bpl, bpl
je 0x14028824f
mov ecx, 0x41c3cdc0
mov edx, 0x41c3cdc0
call fcn.14008bef0
mov eax, dword [0x1405aab04]
cmp eax, 0x40
jge 0x140288200
jmp 0x140288217
lea rax, [0x140561550]
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx eax, byte [0x1405616dd]
cmp dword [0x1405619ac], 0x1f440812
je 0x140288281
movzx eax, byte [0x1405616dd]
jmp 0x140288265
movzx ecx, byte [0x1405619a8]
add cl, 0xbc
cmp al, cl
je 0x14028849c
lea rsi, [rsp + 0x30]
mov bl, 1
jmp 0x1402882a8
cmp al, 0x1a
je 0x14028849c
mov rcx, rsi
mov edx, 0x1d5e0fd8
mov r8d, 0xd2c486ba
call fcn.140289a40
test al, 1
jne 0x1402882fb
movzx eax, byte [rsp + 0x30]
nop word cs:[rax + rax]
mov ecx, dword [0x1405aab04]
cmp ecx, 0x10
jg 0x1402882f5
mov ecx, dword [0x1405aab00]
mov edx, dword [0x1405619ac]
neg edx
add edx, ecx
inc edx
imul edx, ecx
test dl, 1
je 0x1402882a0
test bl, bl
je 0x1402882d0
jmp 0x1402882db
xor esi, esi
lea rdi, [rsp + 0x30]
lea rbx, [rsp + 0x3c]
lea r15, [0x140470d50]
lea r12, [0x1405616d0]
jmp 0x14028832b
inc esi
cmp esi, 0xd
jge 0x14028845b
mov eax, dword [0x1405aab04]
movsxd r14, esi
cmp eax, 0x38
jg 0x1402883a0
nop dword [rax]
mov ecx, r14d
mov rdx, rdi
mov r8d, 0xaa74a99c
mov r9d, 0xa53360ba
call fcn.140289760
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.140141eb0
movzx eax, byte [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
xor al, byte [rcx + r15]
mov byte [r14 + r12], al
mov eax, dword [0x1405aab04]
cmp eax, 0x53
jl 0x140288320
nop word [rax + rax]
mov r9d, dword [0x1405619ac]
lea r8d, [r9 + 0x6e5168c9]
add r9d, 0x2517c88c
mov ecx, esi
mov rdx, rdi
call fcn.140289f60
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.140289f30
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 [0x1405619ac]
add cl, 0xef
shl ebp, cl
mov ecx, ebp
mov rdx, rdi
mov r8d, 0x5468799f
mov r9d, 0x51524ff9
call fcn.14014c130
mov ecx, dword [rsp + 0x30]
sub ebp, ecx
imul ebp, ecx
sub ecx, ebp
mov eax, dword [0x1405619ac]
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.140289b40
cmp dword [rsp + 0x30], 0
jne 0x1402883a0
jmp 0x140288340
mov eax, dword [0x1405619ac]
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 0x140288490
mov al, 0x1a
xchg byte [0x1405616dd], al
lea rax, [0x1405616d0]
jmp 0x140288256