Function at 0x140006170
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov ecx, 1
call fcn.1400067e8
mov ecx, 0x46
mov qword [rbp + 0x67], rax
xor edx, edx
mov r9, rax
call fcn.140001670
lea ecx, [rdx + 0x6f]
mov word [rbp - 0x35], ax
lea edx, [rcx - 0x6e]
call fcn.140001670
lea ecx, [rdx + 0x71]
mov word [rbp - 0x33], ax
lea edx, [rcx - 0x70]
call fcn.140001670
lea ecx, [rdx + 0x72]
mov word [rbp - 0x31], ax
lea edx, [rcx - 0x71]
call fcn.140001670
lea ecx, [rdx + 0x6b]
mov word [rbp - 0x2f], ax
lea edx, [rcx - 0x6a]
movzx r10d, ax
call fcn.140001670
lea ecx, [rdx + 0x65]
mov word [rbp - 0x2d], ax
lea edx, [rcx - 0x64]
call fcn.140001670
lea ecx, [rdx + 0x6f]
mov word [rbp - 0x2b], ax
lea edx, [rcx - 0x6e]
call fcn.140001670
lea ecx, [rdx + 0x5f]
mov word [rbp - 0x29], ax
lea edx, [rcx - 0x5e]
call fcn.140001670
lea ecx, [rdx + 0x3c]
mov word [rbp - 0x27], ax
lea edx, [rcx - 0x3b]
call fcn.140001670
lea ecx, [rdx + 0x64]
mov word [rbp - 0x25], ax
lea edx, [rcx - 0x63]
call fcn.140001670
lea ecx, [rdx + 0x60]
mov word [rbp - 0x23], ax
lea edx, [rcx - 0x5f]
call fcn.140001670
lea ecx, [rdx + 0x5b]
mov word [rbp - 0x21], ax
lea edx, [rcx - 0x5a]
call fcn.140001670
lea ecx, [rdx + 0x63]
mov word [rbp - 0x1f], ax
lea edx, [rcx - 0x62]
call fcn.140001670
lea ecx, [rdx + 0x68]
mov word [rbp - 0x1d], ax
lea edx, [rcx - 0x67]
call fcn.140001670
lea ecx, [rdx + 0x20]
mov word [rbp - 0x1b], ax
lea edx, [rcx - 0x1f]
call fcn.140001670
lea ecx, [rdx + 0x49]
mov word [rbp - 0x19], ax
lea edx, [rcx - 0x48]
call fcn.140001670
lea ecx, [rdx + 0x5a]
mov word [rbp - 0x17], ax
lea edx, [rcx - 0x59]
call fcn.140001670
lea ecx, [rdx + 0x5e]
mov word [rbp - 0x15], ax
lea edx, [rcx - 0x5d]
call fcn.140001670
lea ecx, [rdx + 0x25]
mov word [rbp - 0x13], ax
lea edx, [rcx - 0x24]
call fcn.140001670
mov word [rbp - 0x11], ax
lea ecx, [rdx + 0x22]
lea edx, [rcx - 0x21]
call fcn.140001670
lea ecx, [rdx + 0x1a]
mov word [rbp - 0xf], ax
lea edx, [rcx - 0x19]
call fcn.140001670
lea ecx, [rdx + 0x3f]
mov word [rbp - 0xd], ax
lea edx, [rcx - 0x3e]
call fcn.140001670
lea ecx, [rdx + 0x53]
mov word [rbp - 0xb], ax
lea edx, [rcx - 0x52]
call fcn.140001670
lea ecx, [rdx + 0x53]
mov word [rbp - 9], ax
lea edx, [rcx - 0x52]
call fcn.140001670
lea ecx, [rdx + 0x59]
mov word [rbp - 7], ax
lea edx, [rcx - 0x58]
call fcn.140001670
lea edx, [rcx - 0x57]
mov word [rbp - 5], ax
call fcn.140001670
lea ecx, [rdx + 0x50]
mov word [rbp - 3], ax
lea edx, [rcx - 0x4f]
call fcn.140001670
lea ecx, [rdx + 0x54]
mov word [rbp - 1], ax
lea edx, [rcx - 0x53]
call fcn.140001670
lea ecx, [rdx + 0x4c]
mov word [rbp + 1], ax
lea edx, [rcx - 0x4b]
call fcn.140001670
lea ecx, [rdx + 0x12]
mov word [rbp + 3], ax
lea edx, [rcx - 0x11]
call fcn.140001670
lea ecx, [rdx + 0x48]
mov word [rbp + 5], ax
lea edx, [rcx - 0x47]
call fcn.140001670
lea ecx, [rdx + 0x5a]
mov word [rbp + 7], ax
lea edx, [rcx - 0x59]
call fcn.140001670
lea ecx, [rdx + 0x46]
mov word [rbp + 9], ax
lea edx, [rcx - 0x45]
call fcn.140001670
xor ecx, ecx
mov word [rbp + 0xb], ax
lea edx, [rcx + 0x21]
call fcn.140001670
lea edx, [rcx + 0x22]
mov word [rbp + 0xd], ax
movzx ecx, word [0x140008584]
call fcn.140001670
movzx ecx, word [0x140008586]
mov edx, 0x23
mov word [rbp + 0xf], ax
call fcn.140001670
movzx ecx, word [str.test.dll]
mov edx, 0x24
mov word [rbp + 0x11], ax
call fcn.140001670
movzx ecx, word [0x14000858a]
mov edx, 0x25
mov word [rbp + 0x13], ax
call fcn.140001670
movzx ecx, word [0x14000858c]
mov edx, 0x26
mov word [rbp + 0x15], ax
call fcn.140001670
movzx ecx, word [0x14000858e]
mov edx, 0x27
mov word [rbp + 0x17], ax
call fcn.140001670
movzx ecx, word [0x140008590]
mov edx, 0x28
mov word [rbp + 0x19], ax
call fcn.140001670
movzx ecx, word [0x140008592]
mov edx, 0x29
mov word [rbp + 0x1b], ax
call fcn.140001670
movzx ecx, word [0x140008594]
mov edx, 0x2a
mov word [rbp + 0x1d], ax
call fcn.140001670
movzx ecx, word [0x140008596]
mov edx, 0x2b
mov word [rbp + 0x1f], ax
call fcn.140001670
movzx ecx, word [0x140008598]
mov edx, 0x2c
mov word [rbp + 0x21], ax
call fcn.140001670
movzx ecx, word [0x14000859a]
mov edx, 0x2d
mov word [rbp + 0x23], ax
call fcn.140001670
movzx ecx, word [0x14000859c]
mov edx, 0x2e
mov word [rbp + 0x25], ax
call fcn.140001670
movzx ecx, word [0x14000859e]
mov edx, 0x2f
mov word [rbp + 0x27], ax
call fcn.140001670
movzx ecx, word [0x1400085a0]
mov edx, 0x30
mov word [rbp + 0x29], ax
call fcn.140001670
movzx ecx, word [0x1400085a2]
mov edx, 0x31
mov word [rbp + 0x2b], ax
call fcn.140001670
movzx ecx, word [0x1400085a4]
mov edx, 0x32
mov word [rbp + 0x2d], ax
call fcn.140001670
movzx ecx, word [0x1400085a6]
mov edx, 0x33
mov word [rbp + 0x2f], ax
call fcn.140001670
movzx ecx, word [0x1400085a8]
mov edx, 0x34
mov word [rbp + 0x31], ax
call fcn.140001670
movzx ecx, word [0x1400085aa]
mov edx, 0x35
mov word [rbp + 0x33], ax
call fcn.140001670
movzx ecx, word [0x1400085ac]
mov edx, 0x36
mov word [rbp + 0x35], ax
call fcn.140001670
movzx ecx, word [0x1400085ae]
mov edx, 0x37
mov word [rbp + 0x37], ax
call fcn.140001670
movzx ecx, word [0x1400085b0]
mov edx, 0x38
mov word [rbp + 0x39], ax
call fcn.140001670
movzx ecx, word [0x1400085b2]
mov edx, 0x39
mov word [rbp + 0x3b], ax
call fcn.140001670
movzx ecx, word [0x1400085b4]
mov edx, 0x3a
mov word [rbp + 0x3d], ax
call fcn.140001670
movzx ecx, word [0x1400085b6]
mov edx, 0x3b
mov word [rbp + 0x3f], ax
call fcn.140001670
movzx ecx, word [0x1400085b8]
mov edx, 0x3c
mov word [rbp + 0x41], ax
call fcn.140001670
movzx ecx, word [0x1400085ba]
mov edx, 0x3d
mov word [rbp + 0x43], ax
call fcn.140001670
movzx ecx, word [0x1400085bc]
mov edx, 0x3e
mov word [rbp + 0x45], ax
call fcn.140001670
movzx ecx, word [0x1400085be]
mov edx, 0x3f
mov word [rbp + 0x47], ax
call fcn.140001670
movzx ecx, word [0x1400085c0]
mov edx, 0x40
mov word [rbp + 0x49], ax
call fcn.140001670
movzx ecx, word [0x1400085c2]
mov edx, 0x41
mov word [rbp + 0x4b], ax
call fcn.140001670
movzx ecx, word [0x1400085c4]
mov edx, 0x42
mov word [rbp + 0x4d], ax
call fcn.140001670
mov word [rbp + 0x4f], ax
mov r11d, 0x133
xor eax, eax
xor ebx, ebx
mov word [rbp + 0x51], ax
mov r8d, ebx
mov edx, ebx
nop dword [rax + rax]
lea eax, [r11 + r8]
inc r8d
xor word [rbp + rdx*2 - 0x35], ax
movsxd rdx, r8d
cmp rdx, 0x43
jb 0x140006660
mov ecx, 0x74
mov word [rbp + 0x51], bx
xor edx, edx
call fcn.140001670
lea ecx, [rdx + 0x65]
mov word [rbp - 0x59], ax
lea edx, [rcx - 0x64]
call fcn.140001670
lea ecx, [rdx + 0x72]
mov word [rbp - 0x57], ax
lea edx, [rcx - 0x71]
call fcn.140001670
lea ecx, [rdx + 0x2c]
mov word [rbp - 0x55], ax
lea edx, [rcx - 0x2a]
mov word [rbp - 0x53], r10w
call fcn.140001670
lea ecx, [rdx + 0x60]
mov word [rbp - 0x51], ax
lea edx, [rcx - 0x5f]
call fcn.140001670
lea ecx, [rdx + 0x67]
mov word [rbp - 0x4f], ax
lea edx, [rcx - 0x66]
call fcn.140001670
lea edx, [rcx - 0x65]
mov word [rbp - 0x4d], ax
call fcn.140001670
xor ecx, ecx
mov word [rbp - 0x4b], ax
lea edx, [rcx + 8]
call fcn.140001670
lea edx, [rcx + 9]
mov word [rbp - 0x49], ax
movzx ecx, word [0x14000859a]
call fcn.140001670
movzx ecx, word [0x14000859c]
mov edx, 0xa
mov word [rbp - 0x47], ax
call fcn.140001670
movzx ecx, word [0x14000859e]
mov edx, 0xb
mov word [rbp - 0x45], ax
call fcn.140001670
movzx ecx, word [0x1400085a0]
mov edx, 0xc
mov word [rbp - 0x43], ax
call fcn.140001670
movzx ecx, word [0x1400085a2]
mov edx, 0xd
mov word [rbp - 0x41], ax
call fcn.140001670
movzx ecx, word [0x1400085a4]
mov edx, 0xe
mov word [rbp - 0x3f], ax
call fcn.140001670
movzx ecx, word [0x1400085a6]
mov edx, 0xf
mov word [rbp - 0x3d], ax
call fcn.140001670
movzx ecx, word [0x1400085a8]
mov edx, 0x10
mov word [rbp - 0x3b], ax
call fcn.140001670
mov word [rbp - 0x39], ax
mov rdx, rbx
xor eax, eax
mov word [rbp - 0x37], ax
lea ecx, [r11 + rax]
inc eax
xor word [rbp + rdx*2 - 0x59], cx
movsxd rdx, eax
cmp rdx, 0x11
jb 0x1400067a2
lea r8, [rbp - 0x35]
mov word [rbp - 0x37], bx
lea rdx, [rbp - 0x59]
mov rcx, r9
call fcn.140002560
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0xe8]
xor eax, eax
add rsp, 0xd0
pop rbp
ret