Function at 0x1800026f0
Capabilities:
Encode data using xor
Get hostname
Write file on windows

Disassembly:
push r12
push r13
push r15
sub rsp, 0x70
mov r15, rdx
mov r13d, r8d
mov r12, rcx
mov dword [rsp + 0x40], 0x10
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x180002732
add rsp, 0x70
pop r15
pop r13
pop r12
ret
mov qword [rsp + 0xa0], rsi
lea esi, [r13 - 4]
mov qword [rsp + 0x68], rdi
xor edi, edi
cmp dword [r15], edi
jne 0x180002912
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rbp
mov ebp, edi
mov qword [rsp + 0x60], r14
mov dword [r15], 0x90909090
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
lea edx, [rdi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8, r13
mov rdx, r15
mov rcx, rax
mov r14, rax
call fcn.1800068a0
mov r9d, edi
test esi, esi
je 0x1800027be
lea r8, [r14 + 4]
nop dword [rax]
xor edx, edx
lea r8, [r8 + 1]
mov eax, r9d
inc r9d
div dword [rsp + 0x40]
movzx eax, byte [rsp + rdx + 0x48]
xor byte [r8 - 1], al
cmp r9d, esi
jb 0x1800027a0
mov rsi, qword [0x18001fd50]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov r9d, r13d
mov r8, r14
mov dword [rsp + 0xa8], edi
mov qword [rsp + 0x20], rdi
lea rdx, [rsi + 0x38]
call section..text
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x1800028c4
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1800028c4
lea rax, [rsp + 0xa8]
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x28], rax
lea rdx, [rsi + 0x38]
mov r9d, r13d
mov qword [rsp + 0x20], rbx
mov r8, r14
call section..text
test eax, eax
je 0x1800028b0
mov r15d, dword [rsp + 0xa8]
mov rbp, rbx
test r15d, r15d
je 0x1800028c4
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800028c4
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rdi
mov r8d, r15d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800028c4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x90]
test r14, r14
je 0x1800028e5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r14, qword [rsp + 0x60]
test rbp, rbp
je 0x180002903
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x98]
mov edi, 1
jmp 0x18000294d
mov r8d, edi
test esi, esi
je 0x18000294d
mov r10d, dword [rsp + 0x40]
lea r9, [r15 + 4]
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea r9, [r9 + 1]
mov eax, r8d
inc r8d
div r10d
movzx edx, byte [rsp + rdx + 0x48]
xor byte [r9 - 1], dl
cmp r8d, esi
jb 0x180002930
mov rsi, qword [rsp + 0xa0]
mov eax, edi
mov rdi, qword [rsp + 0x68]
add rsp, 0x70
pop r15
pop r13
pop r12
ret