Function at 0x140012ce0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.ole32.dll_CoInitialize]
lea rbp, str.SUCCEEDED_hRes_
test eax, eax
jns 0x140012d34
xor r9d, r9d
lea rdx, str..igfxsrvc.cpp
mov r8d, 0x83
lea ecx, [r9 + 2]
mov qword [rsp + 0x20], rbp
call fcn.14001e440
cmp eax, 1
jne 0x140012d34
int3
lea rsi, [0x140000000]
lea rbx, [0x14006b2a0]
mov rax, qword [rsi + 0x53b10]
mov qword [rsi + 0x6e408], rax
mov rax, qword [rsi + 0x53b18]
mov qword [rsi + 0x6e410], rax
cmp rbx, 0xffffffffffffffff
je 0x140012d84
cmp qword [0x14006b2a0], 0
mov qword [0x14006e4d8], rbx
je 0x140012d84
mov cl, 1
call qword [rbx + 0x40]
add rbx, 0x48
cmp qword [rbx], 0
jne 0x140012d75
mov rbx, qword [0x14006e650]
mov rcx, qword [0x14006e658]
cmp rbx, rcx
jae 0x140012db4
mov rax, qword [rbx]
test rax, rax
je 0x140012dab
mov cl, 1
call qword [rax + 0x40]
mov rcx, qword [0x14006e658]
add rbx, 8
cmp rbx, rcx
jb 0x140012d97
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov dword [0x14006e4e0], eax
movzx eax, word [rsi + 0x56d1c]
mov word [rcx], ax
movzx eax, byte [rsi + 0x56d1e]
xor esi, esi
mov byte [rcx + 2], al
mov rcx, rdi
call fcn.140009720
mov rbx, rax
test rax, rax
je 0x140012e31
lea rdx, str.UnregServer
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140012f01
lea rdx, str.RegServer
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140012e79
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140009720
mov rbx, rax
test rax, rax
jne 0x140012df0
lea rcx, [0x14006e490]
call fcn.14000a020
mov rbx, qword [0x14006e4d8]
mov edi, esi
test rbx, rbx
je 0x140012fd7
cmp qword [rbx], rsi
je 0x140012fd7
test edi, edi
jne 0x140012ff0
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x38], rsi
test rax, rax
jne 0x140012f7b
mov edi, esi
jmp 0x140012fc6
xor r9d, r9d
lea rcx, [0x14006e490]
lea edx, [r9 + 0x64]
lea r8d, [r9 + 1]
call fcn.140012480
mov rbx, qword [0x14006e4d8]
test rbx, rbx
je 0x140012ece
cmp qword [rbx], rsi
je 0x140012ece
mov ecx, 1
call qword [rbx + VariantCopy]
test eax, eax
js 0x140012efa
call qword [rbx + 0x38]
mov rcx, qword [rbx]
mov r8d, 1
mov rdx, rax
call fcn.14000ba10
test eax, eax
js 0x140012efa
add rbx, 0x48
cmp qword [rbx], rsi
jne 0x140012ea1
xor r8d, r8d
lea rcx, [0x14006e640]
lea edx, [r8 + 1]
call fcn.14000c480
test eax, eax
js 0x140012efa
mov rdx, qword [0x14006e3e8]
test rdx, rdx
je 0x140012efa
mov rcx, qword [0x14006e698]
call rdx
mov esi, eax
jmp 0x14001309e
xor r9d, r9d
lea rcx, [0x14006e490]
xor r8d, r8d
lea edx, [r9 + 0x64]
call fcn.140012480
mov rbx, qword [0x14006e4d8]
test rbx, rbx
je 0x140012f4f
cmp qword [rbx], rsi
je 0x140012f4f
call qword [rbx + 0x38]
mov rcx, qword [rbx]
xor r8d, r8d
mov rdx, rax
call fcn.14000ba10
test eax, eax
js 0x140012f74
xor ecx, ecx
call qword [rbx + VariantCopy]
test eax, eax
js 0x140012f74
add rbx, 0x48
cmp qword [rbx], rsi
jne 0x140012f28
mov rax, qword [0x14006e3f0]
test rax, rax
je 0x140012f61
call rax
test eax, eax
js 0x140012f74
xor r8d, r8d
lea rcx, [0x14006e640]
lea edx, [r8 + 1]
call fcn.14000c5d0
mov esi, eax
jmp 0x14001309e
mov rcx, qword [rbx + 0x18]
lea r8, [rsp + 0x38]
lea rdx, [0x140053e78]
call rax
mov edi, eax
test eax, eax
js 0x140012fb6
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 1
lea rax, [rbx + 0x28]
lea r8d, [r9 + 3]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
mov edi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140012fc6
mov rax, qword [rcx]
call qword [rax + 0x10]
add rbx, 0x48
cmp qword [rbx], rsi
jne 0x140012e58
test edi, edi
jne 0x140012ff0
mov edx, 4
lea rcx, [0x14006e640]
lea r8d, [rdx - 3]
call fcn.14001a500
mov edi, eax
test eax, eax
jns 0x140013016
xor r9d, r9d
lea rdx, str..igfxsrvc.cpp
mov r8d, 0xaa
lea ecx, [r9 + 2]
mov qword [rsp + 0x20], rbp
call fcn.14001e440
cmp eax, 1
jne 0x140013016
int3
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x140013052
nop dword [rax]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140013030
mov rbx, qword [0x14006e4d8]
mov eax, esi
test rbx, rbx
je 0x140013087
cmp qword [rbx], rax
je 0x140013087
test eax, eax
jne 0x140013093
mov ecx, dword [rbx + 0x28]
test ecx, ecx
jne 0x140013074
mov eax, esi
jmp 0x14001307a
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
add rbx, 0x48
cmp qword [rbx], rsi
jne 0x140013065
test eax, eax
jne 0x140013093
lea rcx, [0x14006e640]
call fcn.14001a5d0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14006e490]
call fcn.14000c6e0
call qword [sym.imp.ole32.dll_CoUninitialize]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov eax, esi
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret