Function at 0x180010e20
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x180033018]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov rbx, qword [rbp + 0x188]
mov ecx, 0x20
mov r14, qword [rbp + 0x180]
mov qword [rbp - 0x18], rbx
mov dword [rsp + 0x78], r9d
mov qword [rbp - 0x20], r8
call fcn.180024008
mov rdi, rax
xor r15d, r15d
or rax, 0xffffffffffffffff
mov r13d, 0x400
test rdi, rdi
je 0x180010ea5
mov dword [rdi + 8], eax
lea rax, [0x180025b78]
mov qword [rdi], rax
mov dword [rdi + 0xc], r13d
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r15
jmp 0x180010ea8
mov rdi, r15
test rdi, rdi
jne 0x180010eb5
lea eax, [rdi + 2]
jmp 0x1800118b1
mov ecx, 0x58
mov qword [rbp - 0x68], r15
lea rax, [0x180025810]
mov dword [rbp - 0x60], ecx
lea r12, [0x180025818]
mov dword [rbp - 0x30], ecx
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], r12
lea ebx, [rcx - 0x57]
mov qword [rbp - 0x70], r15
lea esi, [rcx - 0x52]
mov qword [rbp - 0x78], rax
mov r9d, ebx
mov dword [rbp - 0x58], r13d
mov edx, esi
mov qword [rbp - 0x50], r12
mov rcx, rdi
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x28], r13d
call fcn.18001d328
mov rcx, rdi
test eax, eax
je 0x180010f2a
mov r9d, ebx
lea r8, [rbp - 0x50]
lea edx, [rbx + 0xb]
call fcn.18001d328
test eax, eax
jne 0x180010f42
mov rcx, rdi
mov rax, qword [rdi]
mov edx, ebx
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov esi, 2
jmp 0x180011895
mov eax, 0xffff
lea r8, [rsp + 0x58]
mov r9, r14
mov word [rsp + 0x58], ax
lea rcx, [rbp - 0x80]
call fcn.18001d694
test eax, eax
jne 0x180010f6a
cmp dword [r14], r15d
jne 0x18001101e
lea rdx, str.GuidProfile
lea rcx, [rbp - 0x80]
call fcn.18001de38
test rax, rax
je 0x180010f8a
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov ecx, dword [rax + 0x28]
jmp 0x180010f8d
mov ecx, r15d
cmp ecx, ebx
jne 0x18001101e
lea r9, [rbp + 0x108]
mov qword [rsp + 0x20], r14
lea rdx, str.GuidProfile
lea rcx, [rbp - 0x80]
call fcn.18001dc20
test eax, eax
jne 0x180010fd0
mov edx, ebx
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
cmp dword [r14], r15d
jne 0x180011029
call qword [case.0x180004b4f.0]
jmp 0x180011895
lea rdx, str.Enable
mov dword [rsp + 0x6c], r15d
lea rcx, [rbp - 0x80]
call fcn.18001de38
test rax, rax
je 0x180010ff5
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov eax, dword [rax + 0x28]
jmp 0x180010ff8
mov eax, r15d
cmp eax, ebx
ja 0x18001101e
test eax, eax
je 0x180011039
lea r9, [rsp + 0x6c]
mov qword [rsp + 0x20], r14
lea rdx, str.Enable
lea rcx, [rbp - 0x80]
call fcn.18001da90
test eax, eax
jne 0x180011039
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov esi, 5
jmp 0x180011895
lea rax, [0x180025c40]
mov dword [rbp + 0x10], r15d
lea rsi, str.Icon
mov qword [rbp - 0x10], rax
mov rdx, rsi
mov qword [rbp + 8], r15
lea rcx, [rbp - 0x80]
mov qword [rbp - 8], r15
mov qword [rbp], r15
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], r15
call fcn.18001de38
test rax, rax
je 0x18001107f
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov eax, dword [rax + 0x28]
jmp 0x180011082
mov eax, r15d
cmp eax, ebx
ja 0x180011240
test eax, eax
je 0x1800110d9
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.18001dafc
test eax, eax
je 0x180011240
lea rax, [rsp + 0x60]
mov r9, r14
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.18001dcbc
test eax, eax
je 0x180011240
lea rsi, str.IconIndex
mov dword [rsp + 0x68], r15d
mov rdx, rsi
mov qword [rsp + 0x70], r15
lea rcx, [rbp - 0x80]
mov r12, r15
call fcn.18001de38
test rax, rax
je 0x180011109
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov eax, dword [rax + 0x28]
jmp 0x18001110c
mov eax, r15d
cmp eax, ebx
ja 0x180011240
test eax, eax
je 0x18001118d
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.18001dafc
test eax, eax
je 0x180011240
mov r12, qword [rsp + 0x70]
test r12, r12
je 0x18001118d
lea rdx, [rsp + 0x68]
mov rcx, r12
call fcn.180021de0
test eax, eax
jne 0x18001118d
lea r9, [rsp + 0x68]
mov rdx, r12
mov ecx, r13d
call fcn.1800130a8
test eax, eax
jne 0x18001118d
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.18001de38
test rax, rax
je 0x180011240
mov eax, dword [rax + 8]
mov dword [r14], eax
jmp 0x180011240
lea rdx, str.Description
mov qword [rsp + 0x60], r15
lea rcx, [rbp - 0x80]
call fcn.18001de38
test rax, rax
je 0x1800111b2
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov eax, dword [rax + 0x28]
jmp 0x1800111b5
mov eax, r15d
cmp eax, ebx
ja 0x180011240
test eax, eax
je 0x1800111e7
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], r14
lea rdx, str.Description
lea rcx, [rbp - 0x80]
call fcn.18001dafc
test eax, eax
je 0x180011240
lea rdx, str.Display_Description
mov qword [rsp + 0x70], r15
lea rcx, [rbp - 0x80]
mov r13, r15
call fcn.18001de38
test rax, rax
je 0x18001120f
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov eax, dword [rax + 0x28]
jmp 0x180011212
mov eax, r15d
cmp eax, ebx
ja 0x180011240
test eax, eax
je 0x180011260
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], r14
lea rdx, str.Display_Description
lea rcx, [rbp - 0x80]
call fcn.18001dafc
test eax, eax
jne 0x18001125b
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov esi, 5
jmp 0x180011885
mov r13, qword [rsp + 0x70]
lea rax, [0x180025c40]
mov dword [rbp + 0xf0], r15d
mov esi, 2
mov qword [rbp + 0xd0], rax
mov ecx, esi
mov qword [rbp + 0xe8], r15
lea r8, [rsp + 0x50]
mov qword [rbp + 0xd8], r15
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xf8], r15
mov qword [rbp + 0x100], r15
call fcn.180013130
test eax, eax
je 0x180011342
mov rbx, qword [rsp + 0x50]
lea rcx, [rbp - 0x50]
mov rdx, rbx
call fcn.18001de38
test rax, rax
je 0x1800112d2
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov eax, dword [rax + 0x28]
jmp 0x1800112d5
mov eax, r15d
cmp eax, 1
ja 0x180011324
test eax, eax
je 0x180011342
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.18001dafc
test eax, eax
je 0x180011324
lea rax, [rsp + 0x50]
mov r9, r14
lea r8, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.18001dcbc
test eax, eax
jne 0x180011342
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov esi, 5
jmp 0x180011879
lea rax, [0x180025c40]
mov dword [rbp + 0xb8], r15d
lea r8, [rsp + 0x50]
mov qword [rbp + 0x98], rax
mov ecx, 3
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], r15
call fcn.180013130
test eax, eax
je 0x180011422
mov rbx, qword [rsp + 0x50]
lea rcx, [rbp - 0x50]
mov rdx, rbx
call fcn.18001de38
test rax, rax
je 0x1800113b2
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov eax, dword [rax + 0x28]
jmp 0x1800113b5
mov eax, r15d
cmp eax, 1
ja 0x180011404
test eax, eax
je 0x180011422
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.18001dafc
test eax, eax
je 0x180011404
lea rax, [rsp + 0x50]
mov r9, r14
lea r8, [rbp + 0x98]
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.18001dcbc
test eax, eax
jne 0x180011422
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov esi, 5
jmp 0x18001186d
lea rax, [0x180025c40]
mov dword [rbp + 0x80], r15d
lea r8, [rsp + 0x50]
mov qword [rbp + 0x60], rax
mov ecx, 4
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], r15
call fcn.180013130
test eax, eax
je 0x1800114f3
mov rbx, qword [rsp + 0x50]
lea rcx, [rbp - 0x50]
mov rdx, rbx
call fcn.18001de38
test rax, rax
je 0x180011486
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov eax, dword [rax + 0x28]
jmp 0x180011489
mov eax, r15d
cmp eax, 1
ja 0x1800114d5
test eax, eax
je 0x1800114f3
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.18001dafc
test eax, eax
je 0x1800114d5
lea rax, [rsp + 0x50]
mov r9, r14
lea r8, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.18001dcbc
test eax, eax
jne 0x1800114f3
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov esi, 5
jmp 0x180011864
lea rax, [0x180025c40]
mov dword [rbp + 0x48], r15d
mov ebx, 5
mov qword [rbp + 0x28], rax
mov ecx, ebx
mov qword [rbp + 0x40], r15
lea r8, [rsp + 0x50]
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r15
call fcn.180013130
test eax, eax
je 0x1800115b3
mov r15, qword [rsp + 0x50]
lea rcx, [rbp - 0x50]
mov rdx, r15
call fcn.18001de38
test rax, rax
je 0x18001154e
mov ecx, dword [rax + 8]
mov dword [r14], ecx
mov eax, dword [rax + 0x28]
cmp eax, 1
ja 0x18001159a
test eax, eax
je 0x1800115b3
and dword [rsp + 0x28], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.18001dafc
test eax, eax
je 0x18001159a
lea rax, [rsp + 0x50]
mov r9, r14
lea r8, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.18001dcbc
test eax, eax
jne 0x1800115b3
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
jmp 0x180011859
mov eax, dword [rsp + 0x6c]
mov r15, qword [rbp + 0x20]
movzx r14d, word [rsp + 0x58]
mov ebx, dword [rsp + 0x78]
movzx r9d, r14w
mov rdx, qword [rbp - 0x20]
mov r8d, ebx
mov qword [rsp + 0x48], r12
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.180011964
test eax, eax
jne 0x180011620
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov ebx, 1
jmp 0x180011859
test ebx, ebx
je 0x180011807
xor ebx, ebx
test r15, r15
jne 0x1800116d7
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov rcx, rax
lea rdx, [rsp + 0x78]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov r13, rax
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
nop dword [rax + rax]
test eax, eax
je 0x180011712
lea r15d, [rax + 1]
mov rax, rsi
mov ecx, r15d
mul rcx
lea rcx, [rbx - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.180024008
mov rbx, rax
test rax, rax
jne 0x1800116b4
mov rax, qword [rdi]
lea edx, [rbx + 1]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov ebx, esi
jmp 0x180011859
mov rcx, qword [r13 + 8]
lea r9, [rbp - 0x20]
mov r8, rax
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
nop dword [rax + rax]
mov r13, qword [rsp + 0x70]
mov r15, qword [rbp + 0x20]
mov ecx, dword [rsp + 0x68]
lea r8, [rbp + 0x108]
mov dword [rsp + 0x28], ecx
test r15, r15
mov rax, rbx
mov r9, r12
cmovne rax, r15
movzx edx, r14w
mov qword [rsp + 0x20], rax
call fcn.180011b8c
test eax, eax
jne 0x180011730
test rbx, rbx
je 0x180011712
mov rcx, rbx
call fcn.180023ffc
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov ebx, 7
jmp 0x180011859
test rbx, rbx
je 0x18001173d
mov rcx, rbx
call fcn.180023ffc
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
nop dword [rax + rax]
test eax, eax
jne 0x180011712
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSCTF.dll_TF_CreateInputProcessorProfiles]
nop dword [rax + rax]
test eax, eax
je 0x180011774
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
jmp 0x180011712
mov rcx, qword [rsp + 0x60]
lea r9, [rbp + 0x108]
mov edx, dword [rsp + 0x6c]
movzx r8d, r14w
mov dword [rsp + 0x20], edx
lea rdx, [0x1800294c0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x98]
call qword [case.0x180004b4f.0]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x180004b4f.0]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
test ebx, ebx
jne 0x180011712
mov r9, r13
lea r8, [rbp + 0x108]
movzx edx, r14w
call fcn.1800123c4
test eax, eax
je 0x180011712
mov r9, qword [rbp - 0x18]
lea r8, [rbp + 0x108]
movzx edx, r14w
call fcn.180011cc0
test eax, eax
jne 0x180011940
jmp 0x180011712
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
nop dword [rax + rax]
test eax, eax
jne 0x180011840
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSCTF.dll_TF_CreateInputProcessorProfiles]
nop dword [rax + rax]
test eax, eax
je 0x1800118dc
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
mov ebx, 8
mov esi, ebx
lea rcx, [rbp + 0x28]
call fcn.180021478
lea rcx, [rbp + 0x60]
call fcn.180021478
lea rcx, [rbp + 0x98]
call fcn.180021478
lea rcx, [rbp + 0xd0]
call fcn.180021478
lea rcx, [rbp - 0x10]
call fcn.180021478
lea r12, [0x180025818]
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x50], r12
call fcn.180012fe8
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x80], r12
call fcn.180012fe8
mov eax, esi
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.180024570
mov rbx, qword [rsp + 0x260]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x60]
lea r9, [rbp + 0x108]
movzx r8d, r14w
lea rdx, [0x1800294c0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x180004b4f.0]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x180004b4f.0]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
test ebx, ebx
jne 0x180011840
lea r8, [rbp + 0x108]
movzx edx, r14w
call fcn.180011df8
test eax, eax
je 0x180011840
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180004b4f.0]
xor esi, esi
jmp 0x18001185b