Function at 0x140007cc4
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6d8]
sub rsp, 0x7d8
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rbp + 0x6c0], rax
movzx r13d, r9w
mov word [rsp + 0x74], r9w
movzx r12d, r8w
mov word [rsp + 0x70], r8w
mov rsi, rdx
mov qword [rbp - 0x60], rcx
mov rax, qword [rbp + 0x748]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x750]
mov qword [rbp - 0x50], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x78], 0x18
lea edi, [rax + 1]
mov dword [rbp - 0x68], edi
lea rdx, [rbp - 0x70]
mov rcx, qword [rsi + 8]
call fcn.1400466a4
mov r15d, eax
xor ebx, ebx
test eax, eax
jns 0x140007d7b
mov rcx, qword [rbp + 0x718]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
mov edx, 0x8d
call fcn.140003684
jmp 0x1400081f2
mov rdx, qword [rsi + 0x10]
lea rcx, [rbp + 0x60]
call fcn.140007434
cmp qword [rax + 0x18], 8
jb 0x140007d92
mov rax, qword [rax]
mov r15d, 0x1f0003
mov r9d, r15d
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CreateEventExW]
mov r14, rax
mov qword [rbp - 0x80], rax
cmp qword [rbp + 0x78], 8
jb 0x140007dc3
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rbx
mov word [rbp + 0x60], bx
mov rdx, qword [rsi + 0x10]
lea rcx, [rbp + 0x80]
call fcn.14000750c
cmp qword [rax + 0x18], 8
jb 0x140007ded
mov rax, qword [rax]
mov r9d, r15d
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CreateEventExW]
mov rdi, rax
mov qword [rbp - 0x18], rax
cmp qword [rbp + 0x98], 8
jb 0x140007e1e
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
test r14, r14
jne 0x140007e2a
mov edx, 0x94
jmp 0x140007e34
test rdi, rdi
jne 0x140007e4f
mov edx, 0x95
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
mov rcx, qword [rbp + 0x718]
call fcn.1400036b8
mov r15d, eax
jmp 0x1400081ca
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x78]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rbx
mov byte [rbp + 0x70], 1
lea rcx, [rbp + 0x68]
call fcn.14003a574
mov r15d, eax
cmp byte [rbp + 0x70], bl
je 0x140007ebf
mov rax, qword [rbp + 0x68]
mov qword [rbp - 0x80], rax
mov r12, qword [rbp + 0x60]
mov r13, qword [r12]
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007eab
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, r13
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_SetLastError]
xor ebx, ebx
mov rax, qword [rbp - 0x80]
mov qword [r12], rax
movzx r12d, word [rsp + 0x70]
movzx r13d, word [rsp + 0x74]
test r15d, r15d
jns 0x140007ece
mov edx, 0x98
jmp 0x140007f73
mov r8d, 0x104
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetModuleFileNameW]
test eax, eax
jne 0x140007eee
mov edx, 0x9c
jmp 0x140007f6d
movzx ebx, byte [rbp + 0x740]
movzx edx, r13w
movzx r8d, r12w
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [0x140141260]
mov qword [rsp + 0x50], rax
mov eax, dword [0x140142444]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsi]
lea r8, [rbp + 0xa0]
lea rdx, str._s__Sponsor___s__s__s__hu__hu__hu__I32u__I64x__s___s__
lea rcx, [rbp + 0x2b0]
call fcn.1400082f8
xor r12d, r12d
test eax, eax
jg 0x140007f8e
mov edx, 0xa9
mov r15d, 0x80004005
mov rcx, qword [rbp + 0x718]
mov r9d, r15d
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
call fcn.140003684
jmp 0x1400081b4
cmp dword [0x140142444], 4
jb 0x140007faf
lea r8, [rbp + 0x2b0]
lea rdx, str.WebB_activating_packaged_plugin_sponsor:__S
mov ecx, 4
call fcn.14003929c
lea rax, section..data
mov rcx, qword [section..data]
cmp rcx, rax
je 0x140007fea
test byte [rcx + 0x1c], 2
je 0x140007fea
cmp byte [rcx + 0x19], 4
jb 0x140007fea
mov edx, ntohs
lea r9, [rbp + 0x2b0]
lea r8, [0x1400fba08]
mov rcx, qword [rcx + 0x10]
call fcn.1400076d8
mov dword [rbp - 0x10], 0x68
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 8]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x2c], 0x100
mov ecx, 0xfffffff6
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetStdHandle]
mov qword [rbp + 0x40], rax
mov ecx, 0xfffffff5
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetStdHandle]
mov qword [rbp + 0x48], rax
mov ecx, 0xfffffff4
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetStdHandle]
mov qword [rbp + 0x50], rax
test bl, bl
jne 0x140008041
or dword [rbp + 0x2c], 1
mov word [rbp + 0x30], r12w
lea rax, [rbp - 0x48]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x2b0]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
test eax, eax
jne 0x140008091
mov edx, 0xb8
jmp 0x14000809f
mov rbx, qword [rbp - 0x48]
test rbx, rbx
jne 0x1400080ba
mov edx, 0xb9
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
mov rcx, qword [rbp + 0x718]
call fcn.1400036b8
mov r15d, eax
jmp 0x1400081b4
mov rsi, qword [rbp - 0x40]
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], rbx
mov r9d, 0x7530
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_synch_l1_2_1.dll_WaitForMultipleObjects]
test eax, eax
je 0x14000815e
cmp eax, 1
je 0x14000810b
mov r9d, 0x102
lea edx, [r9 - 0x21]
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
mov rcx, qword [rbp + 0x718]
call fcn.140008688
mov r15d, eax
jmp 0x14000818d
lea rdx, [rsp + 0x74]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetExitCodeProcess]
test eax, eax
je 0x14000813b
mov r15d, dword [rsp + 0x74]
test r15d, r15d
jns 0x14000812f
mov edx, 0xd3
jmp 0x140008146
je 0x14000813b
mov r9d, r15d
mov edx, 0xd8
jmp 0x1400080f0
mov r15d, 0x80004005
mov edx, 0xdd
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
mov r9d, r15d
mov rcx, qword [rbp + 0x718]
call fcn.140003684
jmp 0x14000818d
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x60]
mov rcx, qword [rcx + 8]
call qword [sym.imp.api_ms_win_core_job_l2_1_0.dll_AssignProcessToJobObject]
mov rax, rbx
mov rbx, r12
mov rcx, qword [rbp - 0x58]
mov qword [rcx], rax
mov rax, rdi
mov rdi, r12
mov rcx, qword [rbp - 0x50]
mov qword [rcx], rax
mov r15d, r12d
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400081a0
mov rcx, rsi
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400081b4
mov rcx, rbx
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x78]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400081ca
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
nop
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400081de
mov rcx, rdi
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
nop
lea rcx, [r14 - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400081f2
mov rcx, r14
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov eax, r15d
mov rcx, qword [rbp + 0x6c0]
xor rcx, rsp
call fcn.1400c20a0
add rsp, 0x7d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret