Function at 0x14013ffb0
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 [0x14028a238]
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 0x140140038
mov r8, qword [r9 + 0x18]
cmp r8, 8
jb 0x140140016
inc r8
mov rdx, qword [r9]
mov rcx, rbx
call fcn.1400c3a10
mov qword [rbx + 0x18], 7
xor edi, edi
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x14014002e
mov rbx, qword [rbx]
mov eax, 0xffffffe9
jmp 0x1401405a2
cmp qword [r9 + 0x18], 8
jb 0x140140044
mov rcx, qword [r9]
jmp 0x140140047
mov rcx, rbx
xor r9d, r9d
lea r8, [0x1402305b4]
mov rdx, qword [rbx + 0x10]
call fcn.1400c9bb0
xor edi, edi
test eax, eax
je 0x140140572
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.1400c3720
nop
cmp rsi, 0xffffffff80000002
jne 0x14014009f
lea r8d, [rdi + 0x12]
lea rdx, str.HKEY_LOCAL_MACHINE
jmp 0x1401400fd
cmp rsi, 0xffffffff80000000
jne 0x1401400b7
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.HKEY_CLASSES_ROOT
jmp 0x1401400fd
cmp rsi, 0xffffffff80000001
jne 0x1401400cf
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.HKEY_CURRENT_USER
jmp 0x1401400fd
cmp rsi, 0xffffffff80000003
jne 0x1401400e7
mov r8d, 0xa
lea rdx, str.HKEY_USERS
jmp 0x1401400fd
cmp rsi, 0xffffffff80000005
jne 0x140140106
mov r8d, SafeArrayAccessData
lea rdx, str.HKEY_CURRENT_CONFIG
lea rcx, [rbp + 0x38]
call fcn.1400c3720
mov r8, rbx
lea rdx, [0x1402310dc]
lea rcx, [rbp + 0x78]
call fcn.1400e16c0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.1400ca020
nop
mov r8, qword [rbp + 0x90]
cmp r8, 8
jb 0x14014014b
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.1400c3a10
lea r8, [rbp + 0x38]
lea rdx, str.Registry_
lea rcx, [rbp + 0x18]
call fcn.1400e16c0
nop
lea rdx, [rbp + 0x18]
mov rcx, r14
call fcn.1401405d0
lea rdx, [r14 + 8]
lea r8, [rbp + 0x18]
lea rcx, [rbp + 0x78]
call fcn.1400ca9b0
mov rsi, rax
lea rax, [rbp + 0x18]
cmp rax, rsi
je 0x1401401c0
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x1401401a3
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400c3a10
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rdi
mov word [rbp + 0x18], di
mov rdx, rsi
lea rcx, [rbp + 0x18]
call fcn.1400c3980
nop
mov r8, qword [rbp + 0x90]
cmp r8, 8
jb 0x1401401dd
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.1400c3a10
test r15, r15
je 0x14014052d
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.1400c3ac0
lea r8, [rbp + 0x78]
lea rdx, [rbp - 8]
call fcn.1401407d0
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 0x14014026a
mov rcx, qword [rsp + 0x50]
call fcn.14013fb30
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, [0x14023063c]
lea rcx, [rbp - 8]
call fcn.1400e0dc0
lea r9, [rax + 1]
xor r8d, r8d
lea rdx, [rbp + 0x98]
lea rcx, [rbp - 8]
call fcn.1400ce3f0
nop
lea r8, [0x14023eed8]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400cacb0
mov rsi, rax
lea rax, [rbp - 8]
cmp rax, rsi
je 0x1401402ee
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x1401402d1
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400c3a10
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rdi
mov word [rbp - 8], di
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.1400c3980
nop
mov r8, qword [rbp + 0x70]
cmp r8, 8
jb 0x140140308
inc r8
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1400c3a10
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], rdi
mov word [rbp + 0x58], di
mov r8, qword [rbp + 0xb0]
cmp r8, 8
jb 0x14014033b
inc r8
mov rdx, qword [rbp + 0x98]
lea rcx, [rbp + 0x98]
call fcn.1400c3a10
lea r8, [rbp - 8]
lea rdx, str.regedit__e__
lea rcx, [rbp + 0x98]
call fcn.1400e16c0
nop
lea r8, [0x14023ef28]
mov rdx, rax
lea rcx, [rbp + 0xd8]
call fcn.1400cacb0
nop
lea r8, [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400fdb80
nop
lea r8, [0x140230644]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.1400cacb0
nop
mov r8, qword [rbp + 0x70]
cmp r8, 8
jb 0x1401403ac
inc r8
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1400c3a10
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], rdi
mov word [rbp + 0x58], di
mov r8, qword [rbp + 0xf0]
cmp r8, 8
jb 0x1401403df
inc r8
mov rdx, qword [rbp + 0xd8]
lea rcx, [rbp + 0xd8]
call fcn.1400c3a10
mov qword [rbp + 0xf0], 7
mov qword [rbp + 0xe8], rdi
mov word [rbp + 0xd8], di
mov r8, qword [rbp + 0xb0]
cmp r8, 8
jb 0x14014041b
inc r8
mov rdx, qword [rbp + 0x98]
lea rcx, [rbp + 0x98]
call fcn.1400c3a10
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.1401b04b0
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 0x1401404d6
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 0x1401404f9
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.1400c3a10
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], rdi
mov word [rbp + 0xb8], di
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x14014052d
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400c3a10
nop
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x140140547
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400c3a10
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rdi
mov word [rbp + 0x18], di
mov r8, qword [rbp + 0x50]
cmp r8, 8
jb 0x140140572
inc r8
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.1400c3a10
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14014058a
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400c3a10
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x1401405a0
mov rbx, qword [rbx]
xor eax, eax
mov word [rbx], di
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.14016ce60
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret