Function at 0x1000504f0
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 [0x100175150]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x198], rdx
lea r13, [0x100175d80]
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.1000e7c38
nop
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov qword [0x100176a08], rbx
mov qword [0x1001769f8], rbx
mov byte [0x100176a10], r14b
mov byte [0x100176a11], bl
mov word [0x100176a12], bx
mov dword [0x100176a14], ebx
lea rax, [0x100006898]
mov qword [0x100176a18], rax
lea r14, [0x1001769f8]
mov qword [0x100176368], r14
lea r15, [0x100176a18]
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, [0x10004d228]
call qword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
mov r14, qword [r14]
cmp r14, rbx
jne 0x100050616
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 0x1000506cd
movzx eax, cx
mov qword [r10 + rax*8 + 0x28], rbx
add cx, dx
jmp 0x1000506ba
mov r9, r14
lea r8, [0x100007838]
mov rdx, r10
lea rcx, [rsp + 0x120]
call fcn.1000e8e14
lea r15, [r13 + 8]
lea rax, [0x100175160]
mov qword [r15 + 0xc8], rax
mov qword [0x100177048], r15
mov dword [r15], 0xf8
mov dword [r15 + 0xb0], 0x301
mov r8, qword [rsp + 0x198]
lea rdx, [0x100175ca0]
mov rcx, r15
call qword [sym.imp.ATL.DLL_AtlModuleInit]
cmp eax, ebx
jl 0x10005073a
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 0x100050790
lea rax, [rsp + 0x198]
movzx ecx, word [rax]
cmp cx, bx
je 0x10005078a
add rax, 2
cmp word [r14], cx
jne 0x100050772
add r14, 2
jmp 0x100050793
add r14, 2
jmp 0x100050764
mov r14, rbx
mov r15d, 1
cmp r14, rbx
je 0x1000508eb
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 0x1000507f9
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, r15w
jmp 0x1000507e5
mov r9, r14
lea r8, [0x100007880]
lea rcx, [rsp + 0x120]
call fcn.1000e8e14
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 0x1000508b4
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 0x100050893
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, r15w
jmp 0x10005087f
lea r8, [0x1000078d0]
lea rcx, [rsp + 0x120]
call fcn.1000e8e14
mov dword [r13 + 0x11c], 0x32
jmp 0x1000508f8
cmp word [r14], bx
je 0x1000508e3
lea rax, [rsp + 0x198]
movzx ecx, word [rax]
cmp cx, bx
je 0x1000508dd
add rax, 2
cmp word [r14], cx
jne 0x1000508c2
add r14, 2
jmp 0x100050799
add r14, 2
jmp 0x1000508b4
mov r14, rbx
jmp 0x100050799
cmp bl, bl
jne 0x1000508f8
mov rcx, r13
call fcn.10004d668
nop
jmp 0x10005091c
lea rsi, [0x100176368]
mov rdi, qword [0x100176368]
cmp rdi, rsi
je 0x100050956
cmp rdi, rbx
je 0x10005094f
mov rcx, qword [rdi + 8]
cmp rcx, rbx
je 0x100050947
call qword [sym.imp.ADVAPI32.dll_UnregisterTraceGuids]
mov qword [rdi + 8], rbx
mov rdi, qword [rdi]
cmp rdi, rbx
jne 0x100050934
mov qword [0x100176368], rsi
mov ebx, dword [r13 + 0x11c]
lea rcx, [rsp + 0x120]
call fcn.1000e7d24
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1001303c0
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