Function at 0x4591c7
Capabilities:
Accept command line arguments

Disassembly:
push 0x150
mov eax, 0x574726
call fcn.00523ccd
xor eax, eax
push 0xfe
mov word [ebp - 0x114], ax
xor ebx, ebx
lea eax, [ebp - 0x112]
push ebx
push eax
call fcn.00517e90
xor edi, edi
inc edi
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0048c2c3
add esp, 0x14
call fcn.00458cc8
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 byte [ebp - 4], 1
cmp dword [ebp - 0x140], edi
jle 0x459290
push str.__shutdown
push dword [esi + 4]
call fcn.005179a8
pop ecx
pop ecx
test eax, eax
jne 0x459265
call fcn.00458fe5
mov byte [ebp - 4], bl
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x4594d3
push str.__shim
push dword [esi + 4]
call fcn.005179a8
pop ecx
pop ecx
test eax, eax
jne 0x459290
call fcn.0045908b
push esi
mov edi, eax
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x4594d3
lea eax, [ebp - 0x13c]
push str.Global13E7B478_6F12_4F5B_831A_07727CA4B8AA
push eax
mov byte [ebp - 4], 2
call fcn.0049d1f8
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 0x4592c9
call fcn.0049d3d2
jmp 0x459254
call fcn.0049d3d2
mov dword [ebp - 4], edi
jmp 0x4592e2
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.0049d29f
mov byte [ebp - 4], 6
cmp byte [ebp - 0x131], bl
jne 0x459344
push str.Another_instance_is_already_running.
lea esi, [ebp - 0x130]
call fcn.0040338f
push 0x1f6
mov ecx, str.srcmain.cpp
mov eax, esi
mov byte [ebp - 4], 7
call fcn.004025fb
lea eax, [ebp - 0x158]
push str.Global956CBF22_6735_44BC_9D27_7416B892BE27
push eax
call fcn.00459698
pop ecx
pop ecx
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 8
call fcn.00458d33
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], 9
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x4593ac
jle 0x45939b
and eax, 0xffff
or eax, 0x80070000
mov edx, eax
push 0x215
mov eax, str.srcmain.cpp
call fcn.0042ca65
push dword [ebp - 0x150]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0043f0a3
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x4593d2
call fcn.0049d27c
mov byte [ebp - 0x131], 1
cmp byte [ebp - 0x131], bl
je 0x45943e
push ebx
push ebx
push ebx
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x45941e
cmp eax, ebx
je 0x459416
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4593d9
mov byte [ebp - 0x131], bl
jmp 0x4593d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x459432
and eax, 0xffff
or eax, 0x80070000
mov edx, eax
push 0x96
jmp 0x4593a2
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x459470
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x459462
and eax, 0xffff
or eax, 0x80070000
mov edx, eax
push 0x42
mov eax, str.srcwindows_event.cpp
jmp 0x4593a7
call fcn.0043f112
push 1
push dword [ebp - 0x144]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [ebp - 0x144]
call dword [sym.imp.USER32.dll_DestroyWindow]
movzx eax, word [ebp - 0x148]
push ebx
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 6
call fcn.0049d3d2
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.0049d3d2
mov byte [ebp - 4], bl
push dword [ebp - 0x14c]
jmp 0x459258
call fcn.00523d29
ret 0x10