Function at 0x1000055f4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x60
xor r12d, r12d
mov ebp, r9d
mov rsi, r8
mov byte [0x10001eb40], r12b
lea rax, [0x100002190]
lea rbx, [0x10001ea98]
mov qword [0x10001eab8], rax
mov qword [0x10001eaa8], r12
mov qword [0x10001ea98], r12
mov byte [0x10001eab0], 1
mov byte [0x10001eab1], r12b
mov qword [0x10001e150], rbx
mov word [0x10001eab2], r12w
mov dword [0x10001eab4], r12d
lea rdi, [0x10001eab8]
mov r8, qword [rdi]
lea rax, [rbx + 8]
lea rcx, [0x100004408]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], r12
mov r9d, 1
mov rdx, rbx
mov qword [rsp + 0x28], r12
add rdi, 8
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_EtwRegisterTraceGuidsW]
mov rbx, qword [rbx]
cmp rbx, r12
jne 0x10000566a
mov rcx, qword [0x10001e150]
lea r13, [0x10001e150]
cmp rcx, r13
je 0x1000056ed
test byte [rcx + 0x1c], 0x10
je 0x1000056ed
cmp byte [rcx + 0x19], 4
jb 0x1000056ed
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000020c0]
mov edx, 0x2f
mov r9, rsi
call fcn.1000042fc
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 0x10]
call qword [sym.imp.msvcrt.dll__wcstoui64]
lea rdx, [rsp + 0x40]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_GetHandleInformation]
cmp eax, r12d
jne 0x10000575f
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov edi, eax
mov rbx, qword [0x10001e150]
cmp rbx, r13
je 0x10000587c
test byte [rbx + 0x1c], 0x10
je 0x100005853
cmp byte [rbx + 0x19], 4
jb 0x100005853
mov edx, 0x30
mov rcx, qword [rbx + 0x10]
lea r8, [0x1000020c0]
mov r9, rsi
mov dword [rsp + 0x20], eax
call fcn.1000043b8
jmp 0x10000584c
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_SetEvent]
cmp eax, r12d
jne 0x1000057a0
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov edi, eax
mov rbx, qword [0x10001e150]
cmp rbx, r13
je 0x10000587c
test byte [rbx + 0x1c], 0x10
je 0x100005853
cmp byte [rbx + 0x19], 4
jb 0x100005853
mov edx, 0x31
jmp 0x100005743
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.API_MS_Win_Core_Heap_L1_1_0.dll_HeapSetInformation]
lea r9, [0x10001ebc0]
lea r8, [0x10001ebc8]
lea rdx, [0x1000041b8]
lea rcx, [0x100002150]
call fcn.1000041f4
mov dword [0x10001eb6c], esi
cmp byte [0x10001eba0], r12b
je 0x1000057e7
or edi, 0xffffffff
jmp 0x10000581c
call qword [sym.imp.API_MS_Win_Core_ProcessEnvironment_L1_1_0.dll_GetCommandLineW]
lea rbx, [0x10001eae0]
mov edx, ebp
mov rcx, rbx
call fcn.1000045f0
mov edi, eax
cmp eax, r12d
jne 0x10000580d
mov rcx, rbx
call fcn.100004b44
cmp edi, r12d
jl 0x10000581c
mov rcx, rbx
call fcn.100004c98
mov edi, eax
mov rbx, qword [0x10001e150]
cmp rbx, r13
je 0x10000587c
test byte [rbx + 0x1c], 0x10
je 0x100005853
cmp byte [rbx + 0x19], 4
jb 0x100005853
mov rcx, qword [rbx + 0x10]
lea r8, [0x1000020c0]
mov edx, 0x32
mov r9d, edi
call fcn.10000437c
mov rbx, qword [0x10001e150]
cmp rbx, r13
je 0x10000587c
jmp 0x100005870
mov rcx, qword [rbx + 8]
cmp rcx, r12
je 0x10000586d
call qword [sym.imp.ntdll.dll_EtwUnregisterTraceGuids]
mov qword [rbx + 8], r12
mov rbx, qword [rbx]
cmp rbx, r12
jne 0x10000585a
mov qword [0x10001e150], r13
lea r11, [rsp + 0x60]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret