Function at 0x1400cbcec
Capabilities:
Create process on windows
Delete registry key

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x2a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1401423c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, r8
mov r12d, edx
mov rsi, rcx
lea rcx, [rsp + 0x20]
call fcn.1400a79d0
nop
lea rcx, [rsp + 0x40]
call fcn.1400a79d0
nop
lea rcx, [rsp + 0x30]
call fcn.1400a79d0
nop
cmp r12d, 1
jg 0x1400cbd6a
lea rcx, [rsp + 0x30]
call fcn.1400a7a14
nop
lea rcx, [rsp + 0x40]
call fcn.1400a7a14
nop
xor edi, edi
jmp 0x1400cc338
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [0x14010b97c]
mov rcx, qword [rbx + 8]
call fcn.1400e27a8
xor edi, edi
cmp eax, edi
jne 0x1400cbe76
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b968]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
mov r9d, dword [rsi + 0xc]
mov r8d, dword [rsi + 8]
lea rdx, [rsi + 0x13c]
call fcn.1400e4d74
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b948]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b938]
lea rcx, [rsp + 0x40]
call fcn.1400a7a78
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b930]
lea rcx, [rsp + 0x30]
call fcn.1400a7a78
mov rcx, rsi
call fcn.1400cb7e8
cmp eax, edi
je 0x1400cbe33
lea rcx, [rsp + 0x40]
call fcn.1400ce844
mov rbx, rax
jmp 0x1400cbe40
lea rcx, [rsp + 0x30]
call fcn.1400ce844
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
mov rdx, rbx
call fcn.1400e4d74
nop
lea rcx, [rsp + 0x30]
call fcn.1400a7a14
nop
lea rcx, [rsp + 0x40]
call fcn.1400a7a14
nop
mov edi, 1
jmp 0x1400cc338
lea rdx, [0x14010b92c]
mov rcx, qword [rbx + 8]
call fcn.1400e27a8
cmp eax, edi
jne 0x1400cbfb9
mov rcx, rsi
call fcn.1400cb710
cmp r12d, 2
jle 0x1400cbeac
lea rcx, [rsi + 0x13c]
mov rdx, qword [rbx + 0x10]
call fcn.1400e2e20
mov rcx, rsi
call fcn.1400cb7e8
cmp eax, edi
je 0x1400cbeee
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b910]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
lea rdx, [rsi + 0x13c]
call fcn.1400e4d74
jmp 0x1400cbf99
cmp r12d, 2
jle 0x1400cbf17
lea rcx, [rsi + 0x17c]
mov rdx, qword [rbx + 0x10]
call fcn.1400e2e20
cmp r12d, 3
jle 0x1400cbf17
lea rcx, [rsi + 0x3c]
mov rdx, qword [rbx + 0x18]
call fcn.1400e2e20
mov rax, qword [rsi]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [rax + 0x28]
cmp eax, edi
je 0x1400cbf5c
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b900]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
lea rdx, [rsi + 0x13c]
call fcn.1400e4d74
jmp 0x1400cbf99
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b8e0]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
mov r8d, ebx
lea rdx, [rsi + 0x13c]
call fcn.1400e4d74
nop
lea rcx, [rsp + 0x30]
call fcn.1400a7a14
nop
lea rcx, [rsp + 0x40]
call fcn.1400a7a14
nop
mov edi, 1
jmp 0x1400cc338
lea rdx, [0x14010b8dc]
mov rcx, qword [rbx + 8]
call fcn.1400e27a8
cmp eax, edi
jne 0x1400cc134
mov rcx, rsi
call fcn.1400cb710
cmp r12d, 2
jle 0x1400cbfef
lea rcx, [rsi + 0x13c]
mov rdx, qword [rbx + 0x10]
call fcn.1400e2e20
mov rcx, rsi
call fcn.1400cb7e8
cmp eax, edi
je 0x1400cc031
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b910]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
add rsi, 0x13c
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
mov rdx, rsi
call fcn.1400e4d74
jmp 0x1400cc0a0
cmp r12d, 3
jle 0x1400cc05a
lea rcx, [rsi + 0x17c]
mov rdx, qword [rbx + 0x18]
call fcn.1400e2e20
cmp r12d, 4
jle 0x1400cc05a
lea rcx, [rsi + 0x3c]
mov rdx, qword [rbx + 0x20]
call fcn.1400e2e20
mov rax, qword [rsi]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [rax + 0x28]
cmp eax, edi
je 0x1400cc0d7
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b900]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
add rsi, 0x13c
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
mov rdx, rsi
call fcn.1400e4d74
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b8c8]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
mov rdx, rsi
call fcn.1400e4d74
mov rcx, rsi
call fcn.1400cbaa8
jmp 0x1400cc114
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b8e0]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
mov r8d, ebx
lea rdx, [rsi + 0x13c]
call fcn.1400e4d74
nop
lea rcx, [rsp + 0x30]
call fcn.1400a7a14
nop
lea rcx, [rsp + 0x40]
call fcn.1400a7a14
nop
mov edi, 1
jmp 0x1400cc338
lea rdx, [0x14010b8c4]
mov rcx, qword [rbx + 8]
call fcn.1400e27a8
cmp eax, edi
jne 0x1400cc322
lea rdx, str.net_stop
lea rcx, [rsp + 0x50]
call fcn.1400bd0fc
nop
lea rbp, [rsi + 0x13c]
cmp rbp, rdi
jne 0x1400cc16e
mov eax, edi
jmp 0x1400cc176
mov rcx, rbp
call fcn.1400e1d50
mov r8d, eax
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.1400a7868
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WinExec]
mov rcx, rsi
call fcn.1400cb710
cmp r12d, 2
jle 0x1400cc1ad
mov rdx, qword [rbx + 0x10]
mov rcx, rbp
call fcn.1400e2e20
mov rcx, rsi
call fcn.1400cb7e8
cmp eax, edi
jne 0x1400cc1eb
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b8a0]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
mov rdx, rbp
call fcn.1400e4d74
jmp 0x1400cc27c
mov rcx, rsi
call fcn.1400cb96c
cmp eax, edi
je 0x1400cc244
mov r8d, 0x104
lea rdx, [rsp + 0x180]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b868]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
lea r8, [rsp + 0x180]
mov rdx, rbp
call fcn.1400e4d74
jmp 0x1400cc27c
or r9d, 0xffffffff
mov r8b, 0xf3
lea rdx, [0x14010b848]
lea rcx, [rsp + 0x20]
call fcn.1400a7a78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.1400ce844
mov rcx, rax
mov r8d, ebx
mov rdx, rbp
call fcn.1400e4d74
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x58]
call fcn.1400bd0fc
nop
cmp rbp, rdi
jne 0x1400cc297
mov eax, edi
jmp 0x1400cc29f
mov rcx, rbp
call fcn.1400e1d50
mov r8d, eax
mov rdx, rbp
lea rcx, [rsp + 0x58]
call fcn.1400a7868
mov rdx, qword [rsp + 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, edi
jg 0x1400cc2e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, edi
jg 0x1400cc305
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x30]
call fcn.1400a7a14
nop
lea rcx, [rsp + 0x40]
call fcn.1400a7a14
nop
mov edi, 1
jmp 0x1400cc338
lea rcx, [rsp + 0x30]
call fcn.1400a7a14
nop
lea rcx, [rsp + 0x40]
call fcn.1400a7a14
nop
lea rcx, [rsp + 0x20]
call fcn.1400a7a14
mov eax, edi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400e2890
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret