Function at 0x40ef6e
Capabilities:
Accept command line arguments

Disassembly:
push 0x1f0
mov eax, 0x52feb6
call fcn.004f416f
xor eax, eax
push 0xfe
mov word [ebp - 0x114], ax
xor ebx, ebx
lea eax, [ebp - 0x112]
push ebx
push eax
call fcn.004e9070
lea eax, [ebp - 0x114]
push eax
call fcn.00422b7b
add esp, 0x10
lea eax, [ebp - 0x140]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x140], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x160], esi
xor edi, edi
inc edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x140], edi
jle 0x40f037
push str.__shutdown
push dword [esi + 4]
call fcn.004e8773
pop ecx
pop ecx
test eax, eax
jne 0x40f00c
call fcn.0040ed8c
push esi
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x40f295
push str.__shim
push dword [esi + 4]
call fcn.004e8773
pop ecx
pop ecx
test eax, eax
jne 0x40f037
call fcn.0040ee32
push esi
mov edi, eax
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x40f295
lea eax, [ebp - 0x13c]
push str.Global13E7B478_6F12_4F5B_831A_07727CA4B8AA
push eax
mov byte [ebp - 4], 2
call fcn.0042fce9
pop ecx
pop ecx
push ebx
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
test eax, eax
jne 0x40f070
call fcn.00430020
jmp 0x40effb
call fcn.00430020
mov dword [ebp - 4], edi
jmp 0x40f089
mov byte [ebp - 0x131], bl
mov dword [ebp - 0x138], ebx
push ebx
mov byte [ebp - 4], 5
push str.D7ADC21B_8FA5_469C_BA39_CD04824EDF7E
lea edi, [ebp - 0x131]
lea esi, [ebp - 0x13c]
mov dword [ebp - method.GFE::Windows::Event.virtual_0], vtable.GFE::Windows::Event.0
call fcn.0042fd90
mov byte [ebp - 4], 6
cmp byte [ebp - 0x131], bl
jne 0x40f0ef
push str.Another_instance_is_already_running.
lea esi, [ebp - 0x130]
call fcn.0040319e
mov byte [ebp - 4], 7
push 0x138
mov ecx, str.srcmain.cpp
lea eax, [ebp - 0x130]
call fcn.00401c97
lea eax, [ebp - 0x15c]
push str.Global956CBF22_6735_44BC_9D27_7416B892BE27
push eax
call fcn.0040f408
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x150]
push eax
push ebx
push 0xf023f
push ebx
push ebx
push ebx
push str.SOFTWARENVIDIA_CorporationNvBackend
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 8
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x40f148
jle 0x40f137
and eax, 0xffff
or eax, 0x80070000
mov edx, eax
push 0x155
mov eax, str.srcmain.cpp
call fcn.0040ebfe
push dword [ebp - 0x150]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00421bae
mov edi, eax
cmp edi, ebx
je 0x40f1a1
lea eax, [ebp - 0x1f8]
push eax
call fcn.004036d7
mov esi, eax
push str.updtInit_failed_with
push esi
mov byte [ebp - 4], 9
call fcn.00406897
pop ecx
pop ecx
push edi
push esi
call fcn.00407fdc
lea eax, [ebp - 0x130]
push eax
mov eax, esi
call fcn.00403741
mov byte [ebp - 4], 0xa
push 0x15c
jmp 0x40f0df
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40f1b6
call fcn.0042fd6d
push 0x18
mov dword [ebp - method.GFE::Thread.virtual_0], vtable.GFE::Thread.0
call fcn.004e7983
mov esi, eax
pop ecx
mov dword [ebp - 0x154], esi
mov byte [ebp - 4], 0xb
cmp esi, ebx
je 0x40f1f1
call fcn.00425b78
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov word [esi + 0xc], 0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
jmp 0x40f1f3
xor esi, esi
mov dword [ebp - 0x144], esi
mov dword [ebp - method.GFE::Thread.virtual_0], 0x53c840
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xc
call fcn.004301bd
mov eax, dword [0x579c68]
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x40f253
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x40f245
and eax, 0xffff
or eax, 0x80070000
mov edx, eax
push 0x42
mov eax, 0x54312c
jmp 0x40f143
call fcn.00421d4b
lea ecx, [ebp - 0x148]
call fcn.00430199
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 6
call fcn.00430020
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.00430020
push dword [ebp - 0x14c]
jmp 0x40effc
call fcn.004f41cb
ret 0x10