Function at 0x100050650
Capabilities:
Accept command line arguments

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x198], rdx
lea r13, [0x100176d80]
mov qword [rsp + 0x40], r13
lea rdi, [0x1000068e0]
mov qword [rsp + 0x50], rdi
lea r12, [0x100007800]
mov qword [rsp + 0x58], r12
lea rsi, [0x1000068c8]
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x3fc
mov r14d, 1
mov dword [rsp + 0x6c], r14d
mov dword [rsp + 0x70], 0xff
xor ebx, ebx
mov word [rsp + 0xf0], bx
mov byte [rsp + 0xf2], bl
mov byte [r11 - 0xe5], r14b
xor edx, edx
lea r8d, [r14 + 0x77]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call fcn.1000e8000
nop
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov qword [0x100177a08], rbx
mov qword [0x1001779f8], rbx
mov byte [0x100177a10], r14b
mov byte [0x100177a11], bl
mov word [0x100177a12], bx
mov dword [0x100177a14], ebx
lea rax, [0x100006898]
mov qword [0x100177a18], rax
lea r14, [0x1001779f8]
mov qword [0x100177368], r14
lea r15, [0x100177a18]
mov r8, qword [r15]
add r15, 8
mov qword [rsp + 0xf8], r8
mov qword [rsp + 0x100], rbx
lea rax, [r14 + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov rdx, r14
lea rcx, [0x10004d388]
call qword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
mov r14, qword [r14]
cmp r14, rbx
jne 0x100050776
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r14, rax
lea r10, [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x406
mov edx, 1
mov dword [rsp + 0x6c], edx
mov dword [rsp + 0x70], 0xff
mov word [rsp + 0xf0], bx
mov byte [rsp + 0xf2], bl
mov byte [rsp + 0xf3], dl
movzx ecx, bx
cmp cx, 0xf
jae 0x10005082d
movzx eax, cx
mov qword [r10 + rax*8 + 0x28], rbx
add cx, dx
jmp 0x10005081a
mov r9, r14
lea r8, [0x100007838]
mov rdx, r10
lea rcx, [rsp + 0x120]
call fcn.1000e91dc
lea r15, [r13 + 8]
lea rax, [0x100176160]
mov qword [r15 + 0xc8], rax
mov qword [0x100178048], r15
mov dword [r15], 0xf8
mov dword [r15 + 0xb0], 0x301
mov r8, qword [rsp + 0x198]
lea rdx, [0x100176ca0]
mov rcx, r15
call qword [sym.imp.ATL.DLL_AtlModuleInit]
cmp eax, ebx
jl 0x10005089a
mov eax, 1
mov dword [r15 + 0xf0], eax
mov rax, qword [rsp + 0x198]
mov qword [r13 + 0x158], rax
lea rcx, [rsp + 0x198]
mov eax, dword [0x100007874]
mov dword [rcx], eax
movzx eax, word [0x100007878]
mov word [rcx + 4], ax
cmp word [r14], bx
je 0x1000508f0
lea rax, [rsp + 0x198]
movzx ecx, word [rax]
cmp cx, bx
je 0x1000508ea
add rax, 2
cmp word [r14], cx
jne 0x1000508d2
add r14, 2
jmp 0x1000508f3
add r14, 2
jmp 0x1000508c4
mov r14, rbx
mov r15d, 1
cmp r14, rbx
je 0x100050a4b
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x413
mov dword [rsp + 0x6c], r15d
mov dword [rsp + 0x70], 0xff
mov word [rsp + 0xf0], bx
mov byte [rsp + 0xf2], bl
mov byte [rsp + 0xf3], r15b
movzx ecx, bx
cmp cx, 0xf
jae 0x100050959
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, r15w
jmp 0x100050945
mov r9, r14
lea r8, [0x100007880]
lea rcx, [rsp + 0x120]
call fcn.1000e91dc
or ecx, 0xffffffff
mov dword [rsp + 0x28], ecx
lea rax, [0x1000078b0]
mov qword [rsp + 0x20], rax
mov r9d, ecx
mov r8, r14
mov edx, r15d
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x100050a14
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x418
mov dword [rsp + 0x6c], r15d
mov dword [rsp + 0x70], 0xff
mov word [rsp + 0xf0], bx
mov byte [rsp + 0xf2], bl
mov byte [rsp + 0xf3], r15b
movzx ecx, bx
cmp cx, 0xf
jae 0x1000509f3
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, r15w
jmp 0x1000509df
lea r8, [0x1000078d0]
lea rcx, [rsp + 0x120]
call fcn.1000e91dc
mov dword [r13 + 0x11c], 0x32
jmp 0x100050a58
cmp word [r14], bx
je 0x100050a43
lea rax, [rsp + 0x198]
movzx ecx, word [rax]
cmp cx, bx
je 0x100050a3d
add rax, 2
cmp word [r14], cx
jne 0x100050a22
add r14, 2
jmp 0x1000508f9
add r14, 2
jmp 0x100050a14
mov r14, rbx
jmp 0x1000508f9
cmp bl, bl
jne 0x100050a58
mov rcx, r13
call fcn.10004d7c8
nop
jmp 0x100050a7c
lea rsi, [0x100177368]
mov rdi, qword [0x100177368]
cmp rdi, rsi
je 0x100050ab6
cmp rdi, rbx
je 0x100050aaf
mov rcx, qword [rdi + 8]
cmp rcx, rbx
je 0x100050aa7
call qword [sym.imp.ADVAPI32.dll_UnregisterTraceGuids]
mov qword [rdi + 8], rbx
mov rdi, qword [rdi]
cmp rdi, rbx
jne 0x100050a94
mov qword [0x100177368], rsi
mov ebx, dword [r13 + 0x11c]
lea rcx, [rsp + 0x120]
call fcn.1000e80ec
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.100130830
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret