Function at 0x1400023e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x1070
call fcn.1400033e0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1050], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
call fcn.1400016a0
test eax, eax
js 0x1400026c9
mov qword [rsp + 0x1080], rbp
lea ebp, [rbx + 0xa]
mov qword [rsp + 0x1088], rsi
mov rsi, qword [rsp + 0x20]
mov qword [rsp + 0x1090], rdi
mov edi, ebx
nop dword [rax]
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rsi
call fcn.140001950
test eax, eax
js 0x14000245e
lea rcx, [rsp + 0x50]
call fcn.140001ec0
inc rdi
sub rbp, 1
jne 0x140002440
mov edi, ebx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movsxd rbp, eax
lea eax, [rdi + 0x1000]
mov rcx, rsi
movsxd rdx, eax
lea r8, [rsp + 0x50]
call fcn.140001950
lea ecx, [rdi + 1]
test eax, eax
cmovs ecx, edi
mov edi, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movsxd rcx, eax
sub rcx, rbp
cmp rcx, 0x3e8
jb 0x140002472
cmp byte [0x140004361], bl
movups xmm0, xmmword [0x140004350]
movzx eax, word [0x140004360]
mov rbp, qword [rsp + 0x1080]
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x40], ax
je 0x14000266d
cmp dword [0x140006050], 2
jl 0x14000262c
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140004390]
movdqa xmm4, xmmword [0x1400043d0]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x1060], xmm6
movdqa xmm6, xmmword [str.5555]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400043b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400043b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140002520
movaps xmm6, xmmword [rsp + 0x1060]
cmp eax, 0x12
jge 0x14000266d
movsxd rax, ebx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x12
jl 0x140002640
mov eax, edi
lea rcx, [rsp + 0x30]
cdq
movzx edx, dl
add eax, edx
mov r8d, eax
movzx eax, al
sub eax, edx
sar r8d, 8
imul eax, eax, 0x64
cdq
movzx r9d, dl
mov edx, edi
add r9d, eax
sar r9d, 8
call fcn.140001010
mov rdi, qword [rsp + 0x1090]
test rsi, rsi
je 0x1400026b6
test esi, esi
js 0x1400026b6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x61a8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rsp + 0x1088]
mov eax, 1
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140002700
add rsp, 0x1070
pop rbx
ret