Function at 0x14000c71c
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x148]
sub rsp, 0x230
mov rax, qword [0x140059d90]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.ole32.dll_CoInitialize]
xor edi, edi
lea rcx, [0x1400460f3]
mov qword [rbp - 8], SafeArrayAccessData
mov qword [rbp - 0x10], rdi
mov byte [rbp - 0x20], dil
call fcn.140020e10
lea rdx, [0x1400460f3]
lea rcx, [rbp - 0x20]
mov r8, rax
call fcn.1400033ac
lea rbx, [0x14005c2d0]
lea r13d, [rdi + 1]
cmp rbx, 0xffffffffffffffff
je 0x14000c7c4
cmp qword [0x14005c2d0], rdi
mov qword [0x14005c368], rbx
je 0x14000c7c4
mov cl, r13b
call qword [rbx + 0x40]
add rbx, 0x48
cmp qword [rbx], rdi
jne 0x14000c7b5
mov rbx, qword [0x14005c8c0]
mov rax, qword [0x14005c8c8]
jmp 0x14000c7ed
mov rdx, qword [rbx]
test rdx, rdx
je 0x14000c7e9
mov cl, r13b
call qword [rdx + 0x40]
mov rax, qword [0x14005c8c8]
add rbx, 8
cmp rbx, rax
jb 0x14000c7d4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [0x14005c370], eax
jmp 0x14000c834
lea rdx, str.UnregServer
mov rcx, rbx
call fcn.140022c00
test eax, eax
je 0x14000ca10
lea rdx, str.RegServer
mov rcx, rbx
call fcn.140022c00
test eax, eax
je 0x14000c9e6
mov rcx, rbx
lea rdx, [0x140046b78]
call 0x14000698c
mov rbx, rax
test rax, rax
jne 0x14000c803
lea r9, str.GlobalIGFXTRAY
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
je 0x14000ca70
mov ebx, VarDecFix
cmp eax, ebx
je 0x14000ca70
lea rcx, str.igfxtraymutext
call fcn.140020e10
lea rdx, str.igfxtraymutext
lea rcx, [rbp - 0x20]
mov r8, rax
call fcn.1400033ac
cmp qword [rbp - 8], 0x10
lea rdx, [rbp - 0x20]
cmovae rdx, qword [rbp - 0x20]
lea r8d, [rbx + 0x4d]
lea rcx, [rbp + 0x10]
call fcn.140022898
cmp qword [rbp - 8], 0x10
lea r8, [rbp - 0x20]
cmovae r8, qword [rbp - 0x20]
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x14000ca70
cmp eax, ebx
je 0x14000ca67
mov rbx, qword [0x14005c368]
mov eax, edi
test rbx, rbx
je 0x14000c91a
cmp qword [rbx], rdi
je 0x14000c91a
test eax, eax
jne 0x14000c92e
lea edx, [rax + 4]
mov r8d, r13d
mov rcx, rbx
call fcn.140005b3c
add rbx, 0x48
cmp qword [rbx], rdi
jne 0x14000c8fb
test eax, eax
jne 0x14000c92e
lea rcx, [0x14005c8b0]
mov r8d, r13d
mov edx, 4
call fcn.140006814
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x48]
call fcn.1400213f0
lea r11, [0x14000c630]
lea rbx, str.igfxtrayClass
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], r11
mov qword [rbp - 0x60], rbx
mov qword [rsp + 0x78], r12
call qword [sym.imp.USER32.dll_RegisterClassA]
lea rcx, str.igfxtrayWindow
call fcn.140020e10
lea rdx, str.igfxtrayWindow
lea rcx, [rbp - 0x20]
mov r8, rax
call fcn.1400033ac
cmp qword [rbp - 8], 0x10
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
lea r8, [rbp - 0x20]
cmovae r8, qword [rbp - 0x20]
mov rdx, rbx
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [0x14005c420]
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.USER32.dll_PostMessageA]
mov rcx, rbx
call fcn.1400069bc
jmp 0x14000ca45
xor r9d, r9d
lea rcx, [0x14005c320]
mov r8d, r13d
lea edx, [r9 + 0x64]
call fcn.14000bd84
lea rcx, [0x14005c320]
xor r8d, r8d
mov edx, r13d
call fcn.14000a9dc
jmp 0x14000ca37
xor r9d, r9d
lea rcx, [0x14005c320]
xor r8d, r8d
lea edx, [r9 + 0x64]
call fcn.14000bd84
lea rcx, [0x14005c320]
xor r8d, r8d
xor edx, edx
call fcn.14000aaa0
mov edi, eax
jmp 0x14000ca70
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rbp - 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x14000ca3b
lea rcx, [0x14005c320]
call fcn.1400072ec
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp qword [rbp - 8], 0x10
jb 0x14000ca86
mov rcx, qword [rbp - 0x20]
call fcn.140020508
mov eax, edi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140021570
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret