Function at 0x1401380b0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x240], rbx
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rbp + 0xf8], rax
mov rbx, r9
mov rsi, r8
mov r15, rdx
mov r14, rcx
mov qword [rbp - 0x10], rbx
cmp byte [rcx], 0
jne 0x140138138
mov r8, qword [r9 + 0x18]
cmp r8, 8
jb 0x140138116
inc r8
mov rdx, qword [r9]
mov rcx, rbx
call fcn.1400be810
mov qword [rbx + 0x18], 7
xor edi, edi
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x14013812e
mov rbx, qword [rbx]
mov eax, 0xffffffe9
jmp 0x1401386a2
cmp qword [r9 + 0x18], 8
jb 0x140138144
mov rcx, qword [r9]
jmp 0x140138147
mov rcx, rbx
xor r9d, r9d
lea r8, [0x1402271c4]
mov rdx, qword [rbx + 0x10]
call fcn.1400c4840
xor edi, edi
test eax, eax
je 0x140138672
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], rdi
mov word [rbp + 0x38], di
lea r8d, [rdi + 0x12]
lea rdx, str.HKEY_LOCAL_MACHINE
lea rcx, [rbp + 0x38]
call fcn.1400be520
nop
cmp rsi, 0xffffffff80000002
jne 0x14013819f
lea r8d, [rdi + 0x12]
lea rdx, str.HKEY_LOCAL_MACHINE
jmp 0x1401381fd
cmp rsi, 0xffffffff80000000
jne 0x1401381b7
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.HKEY_CLASSES_ROOT
jmp 0x1401381fd
cmp rsi, 0xffffffff80000001
jne 0x1401381cf
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.HKEY_CURRENT_USER
jmp 0x1401381fd
cmp rsi, 0xffffffff80000003
jne 0x1401381e7
mov r8d, 0xa
lea rdx, str.HKEY_USERS
jmp 0x1401381fd
cmp rsi, 0xffffffff80000005
jne 0x140138206
mov r8d, SafeArrayAccessData
lea rdx, str.HKEY_CURRENT_CONFIG
lea rcx, [rbp + 0x38]
call fcn.1400be520
mov r8, rbx
lea rdx, [0x140227e54]
lea rcx, [rbp + 0x78]
call fcn.1400dc290
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.1400c4cb0
nop
mov r8, qword [rbp + 0x90]
cmp r8, 8
jb 0x14013824b
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.1400be810
lea r8, [rbp + 0x38]
lea rdx, str.Registry_
lea rcx, [rbp + 0x18]
call fcn.1400dc290
nop
lea rdx, [rbp + 0x18]
mov rcx, r14
call fcn.1401386d0
lea rdx, [r14 + 8]
lea r8, [rbp + 0x18]
lea rcx, [rbp + 0x78]
call fcn.1400c5640
mov rsi, rax
lea rax, [rbp + 0x18]
cmp rax, rsi
je 0x1401382c0
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x1401382a3
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400be810
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rdi
mov word [rbp + 0x18], di
mov rdx, rsi
lea rcx, [rbp + 0x18]
call fcn.1400be780
nop
mov r8, qword [rbp + 0x90]
cmp r8, 8
jb 0x1401382dd
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.1400be810
test r15, r15
je 0x14013862d
mov qword [rbp + 0x90], 7
mov qword [rbp + 0x88], rdi
mov word [rbp + 0x78], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x78]
call fcn.1400be8c0
lea r8, [rbp + 0x78]
lea rdx, [rbp - 8]
call fcn.1401388d0
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14013836a
mov rcx, qword [rsp + 0x50]
call fcn.140137c30
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSaveKeyW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 1
lea rdx, [0x14022724c]
lea rcx, [rbp - 8]
call fcn.1400db990
lea r9, [rax + 1]
xor r8d, r8d
lea rdx, [rbp + 0x98]
lea rcx, [rbp - 8]
call fcn.1400c9080
nop
lea r8, [0x140235760]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400c5940
mov rsi, rax
lea rax, [rbp - 8]
cmp rax, rsi
je 0x1401383ee
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x1401383d1
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400be810
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rdi
mov word [rbp - 8], di
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.1400be780
nop
mov r8, qword [rbp + 0x70]
cmp r8, 8
jb 0x140138408
inc r8
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1400be810
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], rdi
mov word [rbp + 0x58], di
mov r8, qword [rbp + 0xb0]
cmp r8, 8
jb 0x14013843b
inc r8
mov rdx, qword [rbp + 0x98]
lea rcx, [rbp + 0x98]
call fcn.1400be810
lea r8, [rbp - 8]
lea rdx, str.regedit__e__
lea rcx, [rbp + 0x98]
call fcn.1400dc290
nop
lea r8, [0x140235870]
mov rdx, rax
lea rcx, [rbp + 0xd8]
call fcn.1400c5940
nop
lea r8, [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400f87e0
nop
lea r8, [0x140227254]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.1400c5940
nop
mov r8, qword [rbp + 0x70]
cmp r8, 8
jb 0x1401384ac
inc r8
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1400be810
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], rdi
mov word [rbp + 0x58], di
mov r8, qword [rbp + 0xf0]
cmp r8, 8
jb 0x1401384df
inc r8
mov rdx, qword [rbp + 0xd8]
lea rcx, [rbp + 0xd8]
call fcn.1400be810
mov qword [rbp + 0xf0], 7
mov qword [rbp + 0xe8], rdi
mov word [rbp + 0xd8], di
mov r8, qword [rbp + 0xb0]
cmp r8, 8
jb 0x14013851b
inc r8
mov rdx, qword [rbp + 0x98]
lea rcx, [rbp + 0x98]
call fcn.1400be810
mov qword [rbp + 0xb0], 7
mov qword [rbp + 0xa8], rdi
mov word [rbp + 0x98], di
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call fcn.1401a85d0
mov dword [rbp - 0x80], 0x68
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 8
cmovae rdx, qword [rbp + 0xb8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1401385d6
or edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rbp + 0xd0]
cmp r8, 8
jb 0x1401385f9
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.1400be810
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], rdi
mov word [rbp + 0xb8], di
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x14013862d
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400be810
nop
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x140138647
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400be810
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rdi
mov word [rbp + 0x18], di
mov r8, qword [rbp + 0x50]
cmp r8, 8
jb 0x140138672
inc r8
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.1400be810
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14013868a
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400be810
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x1401386a0
mov rbx, qword [rbx]
xor eax, eax
mov word [rbx], di
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.140164ec0
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret