Function at 0x1403786f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
test ecx, ecx
je 0x140378780
mov r8d, dword [0x14051ddd8]
lea eax, [r8 + 0x64f6ff6a]
add r8d, 0x4f951233
mov ecx, edx
mov edx, eax
call fcn.1400a8350
test al, 1
je 0x1403787d4
movzx eax, byte [0x14051c236]
cmp al, 0x70
je 0x14037890d
mov bl, 4
nop dword [rax + rax]
mov al, 0x8a
lock cmpxchg byte [0x14051c236], bl
je 0x14037885b
mov ecx, dword [0x14051ddd8]
lea edx, [rcx + 0x1118a937]
mov r8d, ecx
xor r8d, 0x4579b54
and ecx, 0x4579b54
lea r8d, [r8 + rcx*2]
mov ecx, eax
call fcn.140379a20
test al, 1
je 0x140378740
jmp 0x14037890d
test edx, edx
je 0x14037881a
movzx eax, byte [0x14051c385]
cmp al, 0x82
je 0x1403789d2
lea rsi, [rsp + 0x40]
nop dword [rax]
mov r8d, dword [0x14051ddd8]
lea edx, [r8 + 0x2f6475e]
add r8d, 0xf5ae285e
mov rcx, rsi
call fcn.14037a260
cmp byte [rsp + 0x41], 0
jne 0x14037896f
cmp byte [rsp + 0x40], 0x82
jne 0x1403787a0
jmp 0x1403789d2
movzx eax, byte [0x14051c4dd]
cmp al, 0x93
je 0x140378963
lea rsi, [rsp + 0x40]
nop dword [rax + rax]
mov rcx, rsi
mov edx, 0xbc304e21
mov r8d, 0x706acaf6
call fcn.14037a000
cmp byte [rsp + 0x41], 0
jne 0x140378919
cmp byte [rsp + 0x40], 0x93
jne 0x1403787f0
jmp 0x140378963
movzx eax, byte [0x14051cadd]
cmp al, 0x12
je 0x140378a20
mov bl, 0xdc
nop dword [rax + rax]
mov al, 0x69
lock cmpxchg byte [0x14051cadd], bl
je 0x1403789db
mov ecx, eax
mov edx, 0xe4163dd0
mov r8d, 0x5feb0ade
call fcn.14037a6c0
test al, 1
je 0x140378830
jmp 0x140378a20
xor ecx, ecx
lea r14, [0x14051c230]
lea r15, [0x1404262b0]
lea rsi, [rsp + 0x40]
lea rdi, [rsp + 0x3f]
nop word cs:[rax + rax]
movsxd rbx, ecx
movzx ecx, byte [rbx + r14]
movzx edx, byte [rbx + r15]
mov eax, dword [0x14051ddd8]
lea r8d, [rax + 0x1b44a332]
mov r9d, eax
xor r9d, 0xc709ce40
and eax, 0x4709ce40
lea eax, [r9 + rax*2]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rsi
mov r8d, ebx
mov r9, rdi
call fcn.140379f50
movzx ecx, byte [rsp + 0x3f]
mov rdx, qword [rsp + 0x40]
add rdx, r14
mov eax, dword [0x14051ddd8]
lea r8d, [rax + 0x4551460b]
add eax, 0xd37df8b8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
mov r8d, ebx
mov r9, rsi
call fcn.140379a00
mov ecx, dword [rsp + 0x40]
test al, 1
je 0x140378880
mov al, 0x70
xchg byte [0x14051c236], al
lea rax, [0x14051c230]
jmp 0x140378a27
xor esi, esi
lea rdi, [0x14051c4d0]
lea rbx, [0x140426530]
nop dword [rax]
movzx ecx, byte [rsi + rdi]
movzx edx, byte [rsi + rbx]
mov dword [rsp + 0x20], 0x87206868
mov r8d, esi
mov r9d, 0x12daef79
call fcn.14037a0d0
lea eax, [rsi + 1]
cmp eax, 0xc
jg 0x14037895b
inc rsi
jmp 0x140378930
mov al, 0x93
xchg byte [0x14051c4dd], al
lea rax, [0x14051c4d0]
jmp 0x140378a27
xor esi, esi
lea rdi, [0x14051c370]
lea rbx, [0x1404263e0]
mov ebp, 0x4937e5d5
nop word cs:[rax + rax]
movzx ecx, byte [rsi + rdi]
movzx edx, byte [rsi + rbx]
mov eax, dword [0x14051ddd8]
lea r9d, [rax + 0x5e77ed3a]
add eax, 0x24527be7
mov dword [rsp + 0x20], eax
mov r8d, esi
call fcn.140379f90
lea eax, [rsi + 1]
mov ecx, dword [0x14051ddd8]
add ecx, ebp
cmp eax, ecx
jge 0x1403789ca
inc rsi
jmp 0x140378990
mov al, 0x82
xchg byte [0x14051c385], al
lea rax, [0x14051c370]
jmp 0x140378a27
xor edx, edx
lea rax, [0x14051cad0]
lea rcx, [0x140426ad0]
nop dword [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, dword [0x14051ddd8]
add edx, r8d
add edx, 0x4937e5c1
add r8d, 0x4937e5cd
cmp edx, r8d
jl 0x1403789f0
mov al, 0x12
xchg byte [0x14051cadd], al
lea rax, [0x14051cad0]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret