Function at 0x180001410
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rax, qword [0x1800810c0]
xor rax, rsp
mov qword [rbp - 0x28], rax
movsd xmm0, qword [0x18007ce00]
lea rcx, [rbp - 0x60]
movzx eax, word [0x18007ce08]
xor ebx, ebx
cmp byte [0x18007ce09], bl
mov dword [rbp - 0x30], ebx
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
je 0x180001498
xor byte [rbp - 0x5f], 0x36
xor byte [rbp - 0x5e], 0x37
xor byte [rbp - 0x5d], 0x38
xor byte [rbp - 0x5c], 0x39
xor byte [rbp - 0x5b], 0x3a
xor byte [rbp - 0x5a], 0x3b
xor byte [rbp - 0x59], 0x3c
xor byte [rbp - 0x58], 0x3d
xor byte [rbp - 0x57], 0x3e
mov byte [rbp - 0x60], 0x6e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsd xmm0, qword [str.BfMHBoX_K_._C]
mov r8d, ebx
mov r14d, dword [0x180081110]
mov rsi, rax
movzx eax, word [0x18007cdc4]
mov ecx, dword [0x18007cdc0]
movdqa xmm7, xmmword [0x18007d250]
mov word [rbp - 0x44], ax
movzx eax, byte [0x18007cdc6]
mov byte [rbp - 0x42], al
mov dword [rbp - 0x48], ecx
movsd qword [rbp - 0x50], xmm0
cmp r14d, 2
jl 0x18000161f
movdqa xmm4, xmmword [0x18007d280]
mov r8d, 0xc
movdqa xmm2, xmmword [0x18007d1f0]
movdqa xmm3, xmmword [0x18007d210]
movdqa xmm1, xmm2
movdqa xmm5, xmmword [str.2222]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm6, xmmword [0x18007d270]
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, dword [str.BfMHBoX_K_._C]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp - 0x50], xmm2
movdqa xmm2, xmmword [0x18007d200]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x4c]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
pmuldq xmm1, xmm4
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x4c], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movd dword [rbp - 0x48], xmm3
mov eax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x180001630
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x38], 0xb8d18b4c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movups xmm6, xmmword [str.BgJVN_IhV257___b_3K]
mov edx, dword [0x18007cdd8]
movzx edi, byte [rax + 4]
movzx eax, word [0x18007cddc]
dec dil
mov word [rbp - 0x3c], ax
movzx eax, byte [0x18007cdde]
mov byte [rbp - 0x3a], al
mov dword [rbp - 0x40], edx
movups xmmword [rbp - 0x50], xmm6
cmp r14d, 2
jl 0x1800018b1
movdqa xmm4, xmmword [0x18007d280]
movdqa xmm3, xmmword [0x18007d1f0]
movdqa xmm2, xmmword [0x18007d200]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [str.2222]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
mov ecx, dword [0x18007d270]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x50], xmm3
movdqa xmm3, xmmword [0x18007d210]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x4c]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x4c], xmm2
movdqa xmm2, xmmword [0x18007d220]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x48]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rbp - 0x48], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
movdqa xmm3, xmmword [0x18007d230]
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x44]
mov ebx, 0x14
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x44], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rbp - 0x40], xmm3
mov eax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x1800018c0
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rbp - 0x30]
mov edx, 5
mov rcx, rax
mov r8d, 0x40
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [rbp - 0x38]
lea r9, [rbp - 0x30]
mov dword [rbx], ecx
mov edx, 5
mov byte [rbx + 4], dil
mov rcx, rbx
mov r8d, dword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.18000a0a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop rbp
ret