Function at 0x140002a00
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, rdx
mov edi, 1
test rdx, rdx
jne 0x140002a59
mov ecx, edi
call fcn.140014880
test eax, eax
je 0x140002c67
lea rax, str.No_command_line__not_signaling_that_were_initialized.
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x49]
lea r8, str.CMcAWFwkModule::SignalInitialized
lea rdx, str.E:BT_ad7a08e3_3faa_4683_b8f2_1da0b0dd1c71UBF_1ActivationWizardHost_srcAWFwkMcAWFwkModule.cpp
mov ecx, edi
call fcn.140001e30
jmp 0x140002c67
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor r15d, r15d
mov qword [rbp - 8], r15
and dword [rbp + 0x40], r15d
and dword [rbp + 0x48], r15d
and dword [rbp + 0x38], r15d
lea rdx, [rbp + 0x38]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140002caa
cmp dword [rbp + 0x38], r15d
jle 0x140002caa
mov ecx, edi
call fcn.140014880
test eax, eax
je 0x140002ad4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, str.Found__d_command_line_args
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 0x5a]
lea r8, str.CMcAWFwkModule::SignalInitialized
lea rdx, str.E:BT_ad7a08e3_3faa_4683_b8f2_1da0b0dd1c71UBF_1ActivationWizardHost_srcAWFwkMcAWFwkModule.cpp
mov ecx, edi
call fcn.140001280
mov rsi, qword [rbp - 0x10]
cmp dword [rbp + 0x38], 0
jle 0x140002bc4
mov r14, rbx
mov edx, 0x104
lea rcx, str.F47DFB42_C817_4ebf_9ED0_8560453D9F63
call fcn.140030180
mov r8, rax
lea rdx, str.F47DFB42_C817_4ebf_9ED0_8560453D9F63
mov rcx, qword [r14]
call fcn.140030358
test eax, eax
jne 0x140002baf
mov rbx, qword [r14]
lea rdx, [0x14005b780]
mov rcx, rbx
call fcn.14002fec4
lea rbx, [rbx + rax*2]
add rbx, 2
mov qword [rbp + 0x48], rbx
mov ecx, edi
call fcn.140014880
test eax, eax
je 0x140002b69
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, str.Attempting_to_open_event___s_
mov qword [rsp + 0x20], rax
mov r9d, 0x64
lea r8, str.CMcAWFwkModule::SignalInitialized
lea rdx, str.E:BT_ad7a08e3_3faa_4683_b8f2_1da0b0dd1c71UBF_1ActivationWizardHost_srcAWFwkMcAWFwkModule.cpp
mov ecx, edi
call fcn.140002478
mov r8, rbx
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov qword [rbp + 0x48], rax
test rax, rax
je 0x140002bac
cmp rsi, r15
je 0x140002b94
mov qword [rsi], rax
add rsi, 8
mov qword [rbp - 0x10], rsi
jmp 0x140002bac
lea r8, [rbp + 0x48]
mov rdx, rsi
lea rcx, [rbp - 0x18]
call fcn.1400025a4
mov r15, qword [rbp - 8]
mov rsi, qword [rbp - 0x10]
mov dword [rbp + 0x48], edi
mov eax, dword [rbp + 0x40]
add eax, edi
mov dword [rbp + 0x40], eax
add r14, 8
cmp eax, dword [rbp + 0x38]
jl 0x140002ae5
mov r14, qword [rbp - 0x18]
mov rbx, r14
cmp r14, rsi
je 0x140002beb
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 8
cmp rbx, rsi
jne 0x140002bd0
sub rsi, r14
sar rsi, 3
test rsi, rsi
je 0x140002c42
mov ecx, edi
call fcn.140014880
cmp dword [rbp + 0x48], 0
je 0x140002c7d
test eax, eax
je 0x140002c40
movsxd rax, dword [rbp + 0x40]
mov rcx, qword [rbp - 0x20]
lea rcx, [rcx + rax*8]
mov qword [rsp + 0x28], rcx
lea rax, str.Unable_to_open_event___s_
mov qword [rsp + 0x20], rax
mov r9d, 0x78
lea r8, str.CMcAWFwkModule::SignalInitialized
lea rdx, str.E:BT_ad7a08e3_3faa_4683_b8f2_1da0b0dd1c71UBF_1ActivationWizardHost_srcAWFwkMcAWFwkModule.cpp
mov ecx, edi
call fcn.140002478
xor edi, edi
mov rbx, qword [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
test r14, r14
je 0x140002c67
sub r15, r14
and r15, 0xfffffffffffffff8
mov rdx, r15
mov rcx, r14
call fcn.140002570
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test eax, eax
je 0x140002c42
lea rax, str.Didnt_find_an_event_to_attempt_to_open.
mov qword [rsp + 0x20], rax
mov r9d, 0x7d
lea r8, str.CMcAWFwkModule::SignalInitialized
lea rdx, str.E:BT_ad7a08e3_3faa_4683_b8f2_1da0b0dd1c71UBF_1ActivationWizardHost_srcAWFwkMcAWFwkModule.cpp
mov ecx, edi
call fcn.140001e30
jmp 0x140002c42
xor edi, edi
xor r14d, r14d
test rbx, rbx
je 0x140002c50
jmp 0x140002c46