Function at 0x1400d4120
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 0x430], rax
xor r12d, r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov r13d, r12d
mov qword [rsp + 0x30], r12
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x140138dc0]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r12w
mov rax, qword [str.FUEQINH_xWO]
mov qword [rsp + 0x38], rax
cmp byte [0x140135987], r12b
je 0x1400d42d2
mov r8d, r12d
cmp dword [0x140152090], 2
jl 0x1400d428e
movdqa xmm4, xmmword [0x140138ff0]
movdqa xmm2, xmmword [0x140138f00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140138fb0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140139010]
movd xmm0, dword [rsp + 0x38]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm2, xmmword [0x140138f30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140138fb0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140139010]
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
jmp 0x1400d42d2
lea r9, [rsp + 0x38]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400d42a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400d42f0
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140079f10
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.1400633e0
mov rbx, rax
lea rcx, [rbp]
call fcn.14007c7f0
nop
mov r8d, 1
lea rdx, [0x140131d9c]
mov rcx, rax
call fcn.1400f40e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r9, rbx
lea r8, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400fd560
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400d43ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d43a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d43a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x140138dc0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
mov r8d, 2
lea rdx, [0x14013404c]
lea rcx, [rsp + 0x60]
call fcn.1400f40e0
cmp qword [rax + 0x18], 7
jbe 0x1400d43f7
mov rax, qword [rax]
lea rdx, [rbp + 0x200]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfindfirst64i32]
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
call fcn.1400f5ce0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x1400d445e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4458
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d4458
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
nop
lea rcx, [rbp]
call fcn.1400f5ce0
nop
lea rcx, [rbp - 0x20]
call fcn.1400f5ce0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400d44b0
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d44ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d44ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
mov rsi, qword [rsp + 0x28]
cmp rbx, 0xffffffffffffffff
je 0x1400d45f0
nop
lea rdx, [rbp + 0x224]
lea rcx, [rbp - 0x80]
call fcn.14007b450
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov rax, r12
mov qword [rsp + 0x50], rax
mov edx, select
mov qword [rsp + 0x58], rdx
mov byte [rsp + 0x40], 0
mov edi, r12d
mov r12, qword [rbp - 0x70]
test r12, r12
je 0x1400d4585
xor ebx, ebx
mov r14, qword [rbp - 0x68]
mov r15, qword [rbp - 0x80]
nop word [rax + rax]
lea rcx, [rbp - 0x80]
cmp r14, 7
cmova rcx, r15
cmp word [rbx + rcx], 0x2e
je 0x1400d4580
lea rcx, [rbp - 0x80]
cmp r14, 7
cmova rcx, r15
movzx r9d, byte [rbx + rcx]
cmp rax, rdx
jae 0x1400d455c
lea rcx, [rax + 1]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x40]
cmp rdx, 0xf
cmova rcx, qword [rsp + 0x40]
mov byte [rcx + rax], r9b
mov byte [rcx + rax + 1], 0
jmp 0x1400d4566
lea rcx, [rsp + 0x40]
call fcn.1400fc4c0
inc edi
add rbx, 2
movsxd rax, edi
cmp rax, r12
jae 0x1400d4580
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
jmp 0x1400d4510
mov rbx, qword [rsp + 0x38]
cmp rsi, r13
je 0x1400d45a2
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140083b90
add rsi, 0x20
mov qword [rsp + 0x28], rsi
jmp 0x1400d45be
lea r8, [rsp + 0x40]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140104f80
mov r13, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1400955d0
nop
lea rcx, [rbp - 0x80]
call fcn.1400f5ce0
lea rdx, [rbp + 0x200]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfindnext64i32]
test eax, eax
mov r12d, 0
je 0x1400d44c0
mov rax, rsi
mov r14, qword [rsp + 0x20]
sub rax, r14
sar rax, 5
cmp rax, 2
jb 0x1400d4676
lea rbx, [r14 + 0x20]
mov rdi, rbx
cmp rbx, rsi
je 0x1400d4635
mov r15, r14
sub r15, rbx
nop word [rax + rax]
lea rcx, [r15 + rdi]
mov rdx, rdi
call fcn.1400f4460
add rdi, 0x20
cmp rdi, rsi
jne 0x1400d4620
add rsi, 0xffffffffffffffe0
mov rcx, rsi
call fcn.1400955d0
cmp rbx, rsi
je 0x1400d4665
mov rdi, r14
sub rdi, rbx
nop dword [rax]
lea rcx, [rdi + rbx]
mov rdx, rbx
call fcn.1400f4460
add rbx, 0x20
cmp rbx, rsi
jne 0x1400d4650
add rsi, 0xffffffffffffffe0
mov rcx, rsi
call fcn.1400955d0
mov qword [rsp + 0x28], rsi
mov rbx, qword [0x140251d18]
mov rdi, qword [0x140251d20]
cmp rbx, rdi
je 0x1400d46b2
nop dword [rax]
mov rcx, rbx
call fcn.1400c41d0
add rbx, 0x1d8
cmp rbx, rdi
jne 0x1400d4690
mov rax, qword [0x140251d18]
mov qword [0x140251d20], rax
mov rbx, r14
cmp r14, rsi
je 0x1400d47a0
nop
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140083b90
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400d2e00
nop
mov rcx, qword [0x140251d20]
cmp rcx, qword [0x140251d28]
je 0x1400d46fe
mov rdx, rax
call fcn.1400d3d80
add qword [0x140251d20], 0x1d8
jmp 0x1400d4711
mov r8, rax
mov rdx, rcx
lea rcx, [0x140251d18]
call fcn.140100c80
nop
mov rcx, qword [rbp + 0x1e0]
test rcx, rcx
je 0x1400d4772
mov rax, qword [rbp + 0x1f0]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4758
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d47f8
call fcn.1401101a0
mov qword [rbp + 0x1e0], r12
mov qword [rbp + 0x1e8], r12
mov qword [rbp + 0x1f0], r12
lea rcx, [rbp + 0x1c0]
call fcn.1400f4b20
lea rcx, [rbp + 0x148]
call fcn.1400f4e20
lea rcx, [rbp + 0x20]
call fcn.1400955d0
add rbx, 0x20
cmp rbx, rsi
jne 0x1400d46c0
lea rcx, [rsp + 0x60]
call fcn.1400f5ce0
nop
test r14, r14
je 0x1400d480a
mov rbx, r14
cmp r14, rsi
je 0x1400d47c9
mov rcx, rbx
call fcn.1400955d0
add rbx, 0x20
cmp rbx, rsi
jne 0x1400d47b8
sub r13, r14
and r13, 0xffffffffffffffe0
mov rax, r14
cmp r13, 0x1000
jb 0x1400d47ff
add r13, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d47ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, r13
mov rcx, r14
call fcn.1401101a0
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.14010fe20
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret