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 [0x18000f770]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], eax
mov rdi, rbp
mov r13d, ebp
lea rbx, [0x18000f8a0]
mov esi, ebp
lea r12d, [rbp + 8]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.180002dc0
cmp eax, ebp
je 0x180001c20
mov rcx, qword [rsp + 0x38]
mov edx, 0xd
call fcn.180003cc4
cmp rax, rbp
je 0x180001c0c
inc esi
mov qword [rbx], rax
add rbx, r12
cmp esi, 3
jb 0x1800015aa
mov rcx, qword [0x18000f8b0]
cmp word [rcx], 0x61
jb 0x180001601
cmp word [rcx], 0x7a
ja 0x180001601
movzx eax, word [rcx]
sub eax, 0x20
jmp 0x180001604
movzx eax, word [rcx]
mov word [rcx], ax
lea rdx, [0x180011459]
lea rcx, [rsp + 0x34]
xor r9d, r9d
xor r8d, r8d
call fcn.1800021b8
mov qword [0x18000f8b8], rax
cmp rax, rbp
je 0x180001c20
lea rdx, [0x180011570]
lea rcx, [rsp + 0x34]
mov r9d, 1
xor r8d, r8d
call fcn.1800021b8
mov qword [0x18000f8c8], rax
cmp rax, rbp
je 0x180001c20
xor edx, edx
mov r8, rax
lea ebx, [rdx + 4]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov rsi, rax
cmp rax, rbp
je 0x180001706
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov rcx, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
cmp rax, rbp
je 0x1800016fd
lea rdx, [rsp + 0x80]
mov r8d, 0x30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, rbp
je 0x1800016f2
cmp qword [rsp + 0x98], 0x10
jbe 0x1800016f2
cmp dword [rbx], ebp
je 0x1800016c1
lea rdi, [rbx + 0x10]
cmp dword [rbx + 8], ebp
je 0x1800016df
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 0x1800016fd
mov eax, dword [rbx]
lea rcx, [rax + rbx + 0x10]
mov qword [rsp + 0x50], rcx
jmp 0x1800016fd
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
mov ebp, 0x2000
cmp byte [0x18000f748], bl
jbe 0x18000185c
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 0x18000180b
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 0x180001800
mov rcx, qword [0x18000f730]
mov r8, r11
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1800017fe
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 0x1800017ec
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
mov cl, byte [rax]
dec cl
movzx edx, cl
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ebp, dword [rax]
mov rcx, qword [0x18000f730]
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 0x18000185c
cmp ebp, 0x1000
jne 0x18000185c
mov ecx, dword [0x18000f73c]
call fcn.18000c2b0
mov r13d, eax
cmp eax, esi
jne 0x18000185c
cmp rdi, rsi
jne 0x18000184a
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1800025a8
mov rdi, rax
cmp rax, rsi
je 0x1800019cb
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1800026d0
jmp 0x1800019cb
cmp rdi, rsi
jne 0x18000190c
mov rcx, qword [0x18000f740]
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 0x180001907
mov r8d, dword [rsp + 0xa8]
cmp r8d, esi
je 0x180001907
xor edx, edx
mov ecx, 0x418
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, rsi
je 0x180001907
mov rcx, qword [0x18000f730]
xor edx, edx
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, rsi
je 0x1800018fe
mov r9d, 0x800
mov r8, rax
xor edx, edx
mov rcx, rbx
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp eax, esi
jne 0x1800018fe
mov rcx, qword [0x18000f730]
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 0x18000192e
cmp dword [rsp + 0x78], esi
jne 0x18000192e
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180003374
mov ebx, eax
cmp eax, esi
jne 0x180001c23
mov ebx, dword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov r8d, dword [0x18000f770]
mov edx, ebx
mov rcx, rsi
mov r9d, 1
call fcn.180005794
mov r8d, dword [0x18000f770]
mov r9d, 1
mov edx, r14d
mov rcx, r15
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x68], ebx
call fcn.180005794
mov rcx, qword [0x18000f8a8]
xor esi, esi
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x6c], r14d
lea rdx, [0x180011510]
cmp qword [rsp + 0x50], rsi
jne 0x18000199d
lea rdx, [0x1800114c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rsp + 0x48]
lea r9, [fcn.180002880]
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000003
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call fcn.1800030a8
mov ebx, eax
cmp rdi, rsi
je 0x1800019d8
mov rcx, rdi
call fcn.1800037d8
cmp ebx, esi
jne 0x180001c23
cmp r13d, esi
je 0x180001a73
mov rdx, qword [0x18000f8b8]
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp eax, esi
jne 0x180001a73
mov eax, dword [rsp + 0x68]
cmp eax, esi
je 0x180001a37
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 0x180001a68
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]
mov rcx, qword [rsp + 0x48]
cmp qword [rsp + 0x50], rsi
je 0x180001ac4
mov edx, 0x20
call qword [sym.imp.SHLWAPI.dll_StrChrW]
cmp rax, rsi
je 0x180001a96
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 0x180001c23
mov edx, 0x104
call fcn.180003c38
mov rbx, rax
cmp rax, rsi
je 0x180001c20
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.1800035c4
xor r13d, r13d
mov rsi, rax
cmp rax, r13
je 0x180001c07
mov rcx, qword [0x18000f730]
lea r8d, [rdi + 0xb]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, r13
je 0x180001bf5
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, [0x18000d3fc]
lea rdx, [0x180011506]
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [0x18000f730]
xor edx, edx
mov r8d, 0x30c
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
cmp rax, r13
je 0x180001be3
mov r8d, dword [0x18000f728]
lea rdx, [0x18001157f]
mov rcx, rax
imul r8d, r8d, 0x19660d
add r8d, 0x3c6ef35f
mov dword [0x18000f728], 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.1800036cc
mov rcx, qword [0x18000f730]
mov r8, rbp
xor edx, edx
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x18000f730]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x18000f730]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, rbx
jmp 0x180001c11
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x18000f730]
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