Function at 0x1401378d0
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 [0x14027e238]
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 0x140137958
mov r8, qword [r9 + 0x18]
cmp r8, 8
jb 0x140137936
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 0x14013794e
mov rbx, qword [rbx]
mov eax, 0xffffffe9
jmp 0x140137ec2
cmp qword [r9 + 0x18], 8
jb 0x140137964
mov rcx, qword [r9]
jmp 0x140137967
mov rcx, rbx
xor r9d, r9d
lea r8, [0x140227194]
mov rdx, qword [rbx + 0x10]
call fcn.1400c4840
xor edi, edi
test eax, eax
je 0x140137e92
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 0x1401379bf
lea r8d, [rdi + 0x12]
lea rdx, str.HKEY_LOCAL_MACHINE
jmp 0x140137a1d
cmp rsi, 0xffffffff80000000
jne 0x1401379d7
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.HKEY_CLASSES_ROOT
jmp 0x140137a1d
cmp rsi, 0xffffffff80000001
jne 0x1401379ef
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.HKEY_CURRENT_USER
jmp 0x140137a1d
cmp rsi, 0xffffffff80000003
jne 0x140137a07
mov r8d, 0xa
lea rdx, str.HKEY_USERS
jmp 0x140137a1d
cmp rsi, 0xffffffff80000005
jne 0x140137a26
mov r8d, SafeArrayAccessData
lea rdx, str.HKEY_CURRENT_CONFIG
lea rcx, [rbp + 0x38]
call fcn.1400be520
mov r8, rbx
lea rdx, [0x140227df4]
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 0x140137a6b
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.140137ef0
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 0x140137ae0
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x140137ac3
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 0x140137afd
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.1400be810
test r15, r15
je 0x140137e4d
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.1401380f0
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 0x140137b8a
mov rcx, qword [rsp + 0x50]
call fcn.140137450
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, [0x14022721c]
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, [0x140235748]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400c5940
mov rsi, rax
lea rax, [rbp - 8]
cmp rax, rsi
je 0x140137c0e
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x140137bf1
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 0x140137c28
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 0x140137c5b
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, [0x140235740]
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, [0x140227224]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.1400c5940
nop
mov r8, qword [rbp + 0x70]
cmp r8, 8
jb 0x140137ccc
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 0x140137cff
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 0x140137d3b
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.1401a7d70
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 0x140137df6
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 0x140137e19
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 0x140137e4d
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400be810
nop
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x140137e67
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 0x140137e92
inc r8
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.1400be810
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140137eaa
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 0x140137ec0
mov rbx, qword [rbx]
xor eax, eax
mov word [rbx], di
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.1401646e0
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret