Function at 0x1401415d0
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 [0x14028c238]
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 0x140141658
mov r8, qword [r9 + 0x18]
cmp r8, 8
jb 0x140141636
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 0x14014164e
mov rbx, qword [rbx]
mov eax, 0xffffffe9
jmp 0x140141bc2
cmp qword [r9 + 0x18], 8
jb 0x140141664
mov rcx, qword [r9]
jmp 0x140141667
mov rcx, rbx
xor r9d, r9d
lea r8, [0x1402325f4]
mov rdx, qword [rbx + 0x10]
call fcn.1400ca4f0
xor edi, edi
test eax, eax
je 0x140141b92
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 0x1401416bf
lea r8d, [rdi + 0x12]
lea rdx, str.HKEY_LOCAL_MACHINE
jmp 0x14014171d
cmp rsi, 0xffffffff80000000
jne 0x1401416d7
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.HKEY_CLASSES_ROOT
jmp 0x14014171d
cmp rsi, 0xffffffff80000001
jne 0x1401416ef
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.HKEY_CURRENT_USER
jmp 0x14014171d
cmp rsi, 0xffffffff80000003
jne 0x140141707
mov r8d, 0xa
lea rdx, str.HKEY_USERS
jmp 0x14014171d
cmp rsi, 0xffffffff80000005
jne 0x140141726
mov r8d, SafeArrayAccessData
lea rdx, str.HKEY_CURRENT_CONFIG
lea rcx, [rbp + 0x38]
call fcn.1400c3720
mov r8, rbx
lea rdx, [0x14023312c]
lea rcx, [rbp + 0x78]
call fcn.1400e2040
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.1400ca960
nop
mov r8, qword [rbp + 0x90]
cmp r8, 8
jb 0x14014176b
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.1400e2040
nop
lea rdx, [rbp + 0x18]
mov rcx, r14
call fcn.140141bf0
lea rdx, [r14 + 8]
lea r8, [rbp + 0x18]
lea rcx, [rbp + 0x78]
call fcn.1400cb2f0
mov rsi, rax
lea rax, [rbp + 0x18]
cmp rax, rsi
je 0x1401417e0
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x1401417c3
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 0x1401417fd
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.1400c3a10
test r15, r15
je 0x140141b4d
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.140141df0
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 0x14014188a
mov rcx, qword [rsp + 0x50]
call fcn.140141150
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, [0x14023267c]
lea rcx, [rbp - 8]
call fcn.1400e1740
lea r9, [rax + 1]
xor r8d, r8d
lea rdx, [rbp + 0x98]
lea rcx, [rbp - 8]
call fcn.1400ced30
nop
lea r8, [0x1402410d8]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400cb5f0
mov rsi, rax
lea rax, [rbp - 8]
cmp rax, rsi
je 0x14014190e
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x1401418f1
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 0x140141928
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 0x14014195b
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.1400e2040
nop
lea r8, [0x140241128]
mov rdx, rax
lea rcx, [rbp + 0xd8]
call fcn.1400cb5f0
nop
lea r8, [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1401027e0
nop
lea r8, [0x140232684]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.1400cb5f0
nop
mov r8, qword [rbp + 0x70]
cmp r8, 8
jb 0x1401419cc
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 0x1401419ff
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 0x140141a3b
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.1401b1bc0
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 0x140141af6
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 0x140141b19
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 0x140141b4d
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400c3a10
nop
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x140141b67
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 0x140141b92
inc r8
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.1400c3a10
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140141baa
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 0x140141bc0
mov rbx, qword [rbx]
xor eax, eax
mov word [rbx], di
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.14016e480
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret