Function at 0x100011490
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x110
xor ebp, ebp
mov edi, edx
lea rcx, [rax - 0x70]
lea r8d, [rbp + 0x60]
xor edx, edx
mov dword [rax - 0x78], ebp
call sub.msvcrt.dll_memset
xor eax, eax
lea rcx, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x5c], ebp
mov dword [rsp + 0x58], ebp
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x68], ebp
mov qword [rsp + 0x88], rbp
mov dword [rsp + 0x94], ebp
mov dword [rsp + 0x90], ebp
call fcn.100017010
cmp eax, ebp
mov ebx, eax
lea r12d, [rbp + 1]
jge 0x10001155b
mov rcx, qword [0x100023120]
lea rdi, [0x100023120]
cmp rcx, rdi
je 0x1000117db
test byte [rcx + 0x1c], r12b
je 0x1000117db
lea edx, [rbp + 0x24]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov r9d, eax
call fcn.1000048bc
jmp 0x1000117db
lea rdx, [0x100002ed8]
lea rcx, [rsp + 0x60]
call fcn.1000164fc
cmp eax, ebp
mov ebx, eax
jge 0x10001159a
mov rcx, qword [0x100023120]
lea rdi, [0x100023120]
cmp rcx, rdi
je 0x1000117db
test byte [rcx + 0x1c], r12b
je 0x1000117db
mov edx, 0x25
jmp 0x100011543
mov r8, qword [rsp + 0x60]
lea rdx, [0x100002ee8]
lea rcx, [rsp + 0x50]
call fcn.100016788
cmp eax, ebp
mov ebx, eax
jge 0x1000115e1
mov rcx, qword [0x100023120]
lea rdi, [0x100023120]
cmp rcx, rdi
je 0x1000117db
test byte [rcx + 0x1c], r12b
je 0x1000117db
mov edx, 0x26
jmp 0x100011543
lea rdx, [0x100002ea8]
lea rcx, [rsp + 0x88]
mov r8d, edi
call fcn.100016788
cmp eax, ebp
mov ebx, eax
jge 0x100011629
mov rcx, qword [0x100023120]
lea rdi, [0x100023120]
cmp rcx, rdi
je 0x1000117db
test byte [rcx + 0x1c], r12b
je 0x1000117db
mov edx, 0x27
jmp 0x100011543
mov r8, qword [rsp + 0x88]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rsi, rax
cmp rax, rbp
jne 0x100011698
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, ebp
cmovle ebx, eax
mov rcx, qword [0x100023120]
lea rdi, [0x100023120]
cmp rcx, rdi
je 0x1000117cd
test byte [rcx + 0x1c], r12b
je 0x1000117cd
mov edx, 0x28
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov r9d, ebx
call fcn.1000048bc
jmp 0x1000117cd
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0xa0], 0x68
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x5c], ebp
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebp
jne 0x100011732
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, ebp
cmovle ebx, eax
mov rcx, qword [0x100023120]
lea rdi, [0x100023120]
cmp rcx, rdi
je 0x1000117cd
test byte [rcx + 0x1c], r12b
je 0x1000117cd
mov edx, 0x29
jmp 0x100011680
mov ebx, 0x4e20
mov rcx, rsi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdi, [0x100023120]
cmp eax, 0x102
jne 0x100011777
mov rcx, qword [0x100023120]
cmp rcx, rdi
je 0x100011777
test byte [rcx + 0x1c], 2
je 0x100011777
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov edx, 0x2a
call fcn.100004898
mov rcx, qword [rsp + 0x70]
cmp rcx, rbp
je 0x1000117cb
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000117cb
mov rcx, qword [0x100023120]
cmp rcx, rdi
je 0x1000117b7
test byte [rcx + 0x1c], r12b
je 0x1000117b7
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov edx, 0x2b
call fcn.100004898
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x1000117cd
mov ebx, ebp
cmp rsi, rbp
je 0x1000117db
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
cmp rcx, rbp
je 0x1000117f0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], rbp
mov rcx, qword [rsp + 0x78]
cmp rcx, rbp
je 0x100011805
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbp
lea rcx, [rsp + 0x88]
mov edx, r12d
call fcn.1000170b4
lea rcx, [rsp + 0x60]
mov edx, r12d
call fcn.1000170b4
lea rcx, [rsp + 0x50]
mov edx, r12d
call fcn.1000170b4
lea r11, [rsp + 0x110]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret