Function at 0x1800407e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x1e0
mov rax, qword gs:[0x58]
mov rbp, rcx
mov r8d, dword [0x18039b468]
mov edi, edx
mov ecx, 4
mov rsi, qword [rax + r8*8]
add rsi, rcx
mov eax, dword [rsi]
cmp dword [0x1803a1b20], eax
jle 0x180040859
lea rcx, [0x1803a1b20]
call fcn.180360f8c
cmp dword [0x1803a1b20], 0xffffffff
jne 0x180040859
lea rcx, [0x18039d500]
call fcn.180001990
lea rcx, [0x18037d520]
call fcn.1803614c4
lea rcx, [0x1803a1b20]
call fcn.180360f2c
mov rax, qword [0x18039c6c8]
xor r14d, r14d
test rax, rax
jne 0x180040981
movdqa xmm0, xmmword [0x18038fab0]
mov byte [rsp + 0x34], al
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0xb9afaea0
mov qword [rsp + 0x210], r14
mov rax, qword [rsp + 0x210]
nop word [rax + rax]
mov rcx, qword [rsp + 0x210]
mov rax, qword [rsp + 0x210]
sub cl, 0x45
xor cl, byte [rsp + rax + 0x21]
mov rax, qword [rsp + 0x210]
mov byte [rsp + rax + 0x21], cl
mov rax, qword [rsp + 0x210]
inc rax
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
cmp rax, 0x13
jb 0x1800408a0
mov byte [rsp + 0x34], r14b
call fcn.1800015d0
mov rbx, rax
mov eax, dword [rsi]
cmp dword [0x18039d510], eax
jle 0x18004092a
lea rcx, [0x18039d510]
call fcn.180360f8c
cmp dword [0x18039d510], 0xffffffff
jne 0x18004092a
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18039d510]
mov qword [0x1803a15b8], rax
call fcn.180360f2c
mov eax, dword [rsi]
cmp dword [0x1803a1558], eax
jle 0x180040963
lea rcx, [0x1803a1558]
call fcn.180360f8c
cmp dword [0x1803a1558], 0xffffffff
jne 0x180040963
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1803a1558]
mov qword [0x1803a1560], rax
call fcn.180360f2c
mov rcx, rbx
call qword [0x1803a15b8]
mov rcx, rax
lea rdx, [rsp + 0x21]
call qword [0x1803a1560]
mov qword [0x18039c6c8], rax
mov rcx, qword [0x18039d500]
mov edx, 0xffffffff
call rax
mov eax, dword [rsi]
cmp dword [0x1803a1aa8], eax
jle 0x180040a14
lea rcx, [0x1803a1aa8]
call fcn.180360f8c
cmp dword [0x1803a1aa8], 0xffffffff
jne 0x180040a14
lea rax, [0x18038ec70]
mov qword [0x1803a15f0], r14
xor r8d, r8d
mov qword [0x1803a15e8], rax
xor edx, edx
mov byte [0x1803a15f8], r14b
mov qword [0x1803a1600], r14
mov qword [0x1803a1608], r14
call fcn.1803544d0
lea rcx, [0x1803a1610]
mov qword [0x1803a1600], rax
call fcn.180001990
lea rcx, [0x18037d540]
mov byte [0x1803a1618], r14b
call fcn.1803614c4
lea rcx, [0x1803a1aa8]
call fcn.180360f2c
lea rdx, [0x1803a1610]
lea rcx, [rsp + 0x218]
call fcn.180001c30
mov r8d, edi
lea rcx, [rsp + 0x48]
mov rdx, rbp
call fcn.180039360
mov ecx, 0x1a0
mov rdi, rax
call fcn.1803610bc
mov r14, rax
mov rdx, rdi
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rbx, [r14 + 0x10]
lea rax, [0x18038ea10]
mov rcx, rbx
mov qword [r14], rax
call fcn.180351bf0
mov ecx, dword [rdi + 0x18]
lea rdx, [rdi + 0x58]
mov dword [rbx + 0x18], ecx
mov ecx, dword [rdi + 0x1c]
mov dword [rbx + 0x1c], ecx
lea rcx, [rbx + 0x58]
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movzx eax, byte [rdi + 0x50]
mov byte [rbx + 0x50], al
movzx eax, byte [rdi + 0x51]
mov byte [rbx + 0x51], al
movzx eax, byte [rdi + 0x52]
mov byte [rbx + 0x52], al
movzx eax, byte [rdi + 0x53]
mov byte [rbx + 0x53], al
call fcn.180358540
lea rdx, [rdi + 0x70]
lea rcx, [rbx + 0x70]
call fcn.180358640
lea rdx, [rbx + 0x88]
mov ecx, 2
lea rax, [rdi + 0x88]
nop dword [rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x180040ae0
movzx ecx, word [rax]
lea r9, [rsp + 0x38]
mov word [rdx], cx
mov eax, dword [rdi + 0x18c]
mov dword [rbx + 0x18c], eax
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x1803a1600]
mov rdx, rbx
mov qword [rsp + 0x40], r14
mov rdi, qword [rbx + 8]
mov r8, rdi
call fcn.180357ec0
mov rdx, qword [0x1803a1608]
movabs rcx, 0x7fffffffffffffe
sub rcx, rdx
cmp rcx, 1
jb 0x180040c6f
mov rcx, qword [rsp + 0x40]
inc rdx
mov qword [0x1803a1608], rdx
mov qword [rbx + 8], rax
mov qword [rdi], rax
test rcx, rcx
je 0x180040bd6
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180040bd6
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180040bd6
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x48]
call fcn.180039510
cmp byte [0x1803a1618], 0
jne 0x180040bfc
lea rcx, [0x1803a15e8]
mov byte [0x1803a1618], 1
call fcn.180001db0
mov rcx, qword [rsp + 0x218]
call fcn.180001ae0
mov eax, dword [rsi]
cmp dword [0x1803a1b20], eax
jle 0x180040c4c
lea rcx, [0x1803a1b20]
call fcn.180360f8c
cmp dword [0x1803a1b20], 0xffffffff
jne 0x180040c4c
lea rcx, [0x18039d500]
call fcn.180001990
lea rcx, [0x18037d520]
call fcn.1803614c4
lea rcx, [0x1803a1b20]
call fcn.180360f2c
lea rcx, [0x18039d500]
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
jmp fcn.180001ae0
lea rcx, str.list_T__too_long
call fcn.18035fd2c
int3