Function at 0x18000154c
Capabilities:
Create process on windows
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
xor ebp, ebp
mov r15, r8
lea rcx, [rsp + 0x50]
lea r8d, [rbp + 0x30]
xor edx, edx
mov r14d, r9d
mov qword [rsp + 0x48], rbp
call sub.ntdll.dll_memset
mov eax, dword [0x18000f52c]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], eax
mov rdi, rbp
mov r13d, ebp
lea rbx, [0x18000f660]
mov esi, ebp
lea r12d, [rbp + 8]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1800031e0
cmp eax, ebp
je 0x180001c21
mov rcx, qword [rsp + 0x38]
mov edx, 0xd
call fcn.180003b7c
cmp rax, rbp
je 0x180001c0d
add esi, 1
mov qword [rbx], rax
add rbx, r12
cmp esi, 3
jb 0x1800015aa
mov rcx, qword [0x18000f670]
cmp word [rcx], 0x61
jb 0x180001602
cmp word [rcx], 0x7a
ja 0x180001602
movzx eax, word [rcx]
sub eax, 0x20
jmp 0x180001605
movzx eax, word [rcx]
mov word [rcx], ax
lea rdx, [0x180011459]
lea rcx, [rsp + 0x34]
xor r9d, r9d
xor r8d, r8d
call fcn.1800021bc
cmp rax, rbp
mov qword [0x18000f678], rax
je 0x180001c21
lea rdx, [0x180011570]
lea rcx, [rsp + 0x34]
mov r9d, 1
xor r8d, r8d
call fcn.1800021bc
cmp rax, rbp
mov qword [0x18000f688], rax
je 0x180001c21
xor edx, edx
mov r8, rax
lea ebx, [rdx + 4]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp rax, rbp
mov rsi, rax
je 0x180001707
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov rcx, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp rax, rbp
mov rbx, rax
je 0x1800016fe
lea rdx, [rsp + 0x80]
mov r8d, 0x30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, rbp
je 0x1800016f3
cmp qword [rsp + 0x98], 0x10
jbe 0x1800016f3
cmp dword [rbx], ebp
je 0x1800016c2
lea rdi, [rbx + 0x10]
cmp dword [rbx + 8], ebp
je 0x1800016e0
mov eax, dword [rbx + 4]
mov ecx, dword [rbx]
add rax, rbx
lea rcx, [rcx + rax + 0x10]
mov qword [rsp + 0x70], rcx
mov eax, dword [rbx + 8]
mov dword [rsp + 0x78], eax
cmp dword [rbx + 4], ebp
je 0x1800016fe
mov eax, dword [rbx]
lea rcx, [rax + rbx + 0x10]
mov qword [rsp + 0x50], rcx
jmp 0x1800016fe
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 5
xor esi, esi
mov dword [rsp + 0x34], 1
cmp byte [0x18000f524], bl
mov ebp, 0x2000
jbe 0x18000185e
lea r8, [rsp + 0x40]
mov edx, 0x20008
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x34], esi
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x18000180d
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea r9d, [rbx - 1]
lea r8, [rsp + 0x34]
lea edx, [rbx + 0xf]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea edx, [rbx + 0x14]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], esi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov r11d, dword [rsp + 0x30]
cmp r11d, esi
je 0x180001802
mov rcx, qword [0x18000f510]
mov r8, r11
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rsi, rax
je 0x180001800
mov r9d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea edx, [rbx + 0x14]
mov r8, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1800017ee
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
mov cl, byte [rax]
sub cl, 1
movzx edx, cl
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ebp, dword [rax]
mov rcx, qword [0x18000f510]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x34], esi
jne 0x18000185e
cmp ebp, 0x1000
jne 0x18000185e
mov ecx, dword [0x18000f520]
call fcn.180006780
cmp eax, esi
mov r13d, eax
jne 0x18000185e
cmp rdi, rsi
jne 0x18000184c
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1800026c4
cmp rax, rsi
mov rdi, rax
je 0x1800019cd
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1800027ec
jmp 0x1800019cd
cmp rdi, rsi
jne 0x18000190e
mov rcx, qword [0x18000f518]
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x80]
mov r9d, 0x30
xor edx, edx
mov qword [rsp + 0x20], rax
mov rdi, rsi
call qword [sym.imp.ntdll.dll_ZwQueryInformationProcess]
cmp eax, esi
jl 0x180001909
mov r8d, dword [rsp + 0xa8]
cmp r8d, esi
je 0x180001909
xor edx, edx
mov ecx, 0x418
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp rax, rsi
mov rbx, rax
je 0x180001909
mov rcx, qword [0x18000f510]
xor edx, edx
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp rax, rsi
mov rdi, rax
je 0x180001900
mov r9d, 0x800
mov r8, rax
xor edx, edx
mov rcx, rbx
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp eax, esi
jne 0x180001900
mov rcx, qword [0x18000f510]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, rsi
je 0x180001930
cmp dword [rsp + 0x78], esi
jne 0x180001930
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1800035e0
cmp eax, esi
mov ebx, eax
jne 0x180001c24
mov ebx, dword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov r8d, dword [0x18000f52c]
mov edx, ebx
mov rcx, rsi
mov r9d, 1
call fcn.1800072c4
mov r8d, dword [0x18000f52c]
mov r9d, 1
mov edx, r14d
mov rcx, r15
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x68], ebx
call fcn.1800072c4
mov rcx, qword [0x18000f668]
xor esi, esi
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x6c], r14d
cmp qword [rsp + 0x50], rsi
lea rdx, [0x180011510]
jne 0x18000199f
lea rdx, [0x1800114c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rsp + 0x48]
lea r9, [fcn.18000299c]
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000003
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call fcn.180002ee0
mov ebx, eax
cmp rdi, rsi
je 0x1800019da
mov rcx, rdi
call fcn.180002408
cmp ebx, esi
jne 0x180001c24
cmp r13d, esi
je 0x180001a75
mov rdx, qword [0x18000f678]
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp eax, esi
jne 0x180001a75
mov eax, dword [rsp + 0x68]
cmp eax, esi
je 0x180001a39
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
lea rdx, [0x1800114ae]
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [rsp + 0x6c]
cmp eax, esi
je 0x180001a6a
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
lea rdx, [0x1800114b7]
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x48]
je 0x180001ac5
mov dx, 0x20
call qword [sym.imp.SHLWAPI.dll_StrChrW]
cmp rax, rsi
je 0x180001a97
mov word [rax], si
add rax, 2
mov r8, qword [rsp + 0x48]
lea rdx, [0x180011130]
mov r9, rax
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
cmp eax, 0x20
cmovg ebx, esi
jmp 0x180001c24
mov edx, 0x104
call fcn.180003af0
cmp rax, rsi
mov rbx, rax
je 0x180001c21
mov rcx, rax
call qword [sym.imp.SHELL32.dll_PathGetShortPath]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.180003830
xor r13d, r13d
cmp rax, r13
mov rsi, rax
je 0x180001c08
mov rcx, qword [0x18000f510]
lea r8d, [rdi + 0xb]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp rax, r13
mov rdi, rax
je 0x180001bf6
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
lea rdx, [0x18001114f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea r9, [0x18000d404]
lea rdx, [0x180011506]
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [0x18000f510]
xor edx, edx
mov r8d, 0x30c
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp rax, r13
mov rbp, rax
je 0x180001be4
mov r8d, dword [0x18000f508]
lea rdx, [0x18001157f]
mov rcx, rax
imul r8d, r8d, 0x19660d
add r8d, 0x3c6ef35f
mov dword [0x18000f508], r8d
shr r8d, 1
mov r9d, r8d
not r9d
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], r8d
call qword [sym.imp.USER32.dll_wsprintfA]
mov r9, rdi
mov rdx, rbp
mov rcx, rsi
mov r8d, eax
mov dword [rsp + 0x20], r13d
call fcn.1800022fc
mov rcx, qword [0x18000f510]
mov r8, rbp
xor edx, edx
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x18000f510]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x18000f510]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, rbx
jmp 0x180001c12
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x18000f510]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, r12d
mov eax, ebx
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret