Function at 0x4592df
Capabilities:
Accept command line arguments

Disassembly:
push 0x150
mov eax, 0x574428
call fcn.00523a34
xor eax, eax
push 0xfe
mov word [ebp - 0x114], ax
xor ebx, ebx
lea eax, [ebp - 0x112]
push ebx
push eax
call fcn.00517bf0
xor edi, edi
inc edi
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0048c5ce
add esp, 0x14
call fcn.00458de0
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 0x4593a8
push str.__shutdown
push dword [esi + 4]
call fcn.00517707
pop ecx
pop ecx
test eax, eax
jne 0x45937d
call fcn.004590fd
mov byte [ebp - 4], bl
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x4595eb
push str.__shim
push dword [esi + 4]
call fcn.00517707
pop ecx
pop ecx
test eax, eax
jne 0x4593a8
call fcn.004591a3
push esi
mov edi, eax
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x4595eb
lea eax, [ebp - 0x13c]
push str.Global13E7B478_6F12_4F5B_831A_07727CA4B8AA
push eax
mov byte [ebp - 4], 2
call fcn.0049d701
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 0x4593e1
call fcn.0049d8bc
jmp 0x45936c
call fcn.0049d8bc
mov dword [ebp - 4], edi
jmp 0x4593fa
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.0049d7a8
mov byte [ebp - 4], 6
cmp byte [ebp - 0x131], bl
jne 0x45945c
push str.Another_instance_is_already_running.
lea esi, [ebp - 0x130]
call fcn.00403350
push 0x1f6
mov ecx, str.srcmain.cpp
mov eax, esi
mov byte [ebp - 4], 7
call fcn.004025bc
lea eax, [ebp - 0x158]
push str.Global956CBF22_6735_44BC_9D27_7416B892BE27
push eax
call fcn.004597b0
pop ecx
pop ecx
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 8
call fcn.00458e4b
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 0x4594c4
jle 0x4594b3
and eax, 0xffff
or eax, 0x80070000
mov edx, eax
push 0x215
mov eax, str.srcmain.cpp
call fcn.0042cd9b
push dword [ebp - 0x150]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0043f176
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x4594ea
call fcn.0049d785
mov byte [ebp - 0x131], 1
cmp byte [ebp - 0x131], bl
je 0x459556
push ebx
push ebx
push ebx
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x459536
cmp eax, ebx
je 0x45952e
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 0x4594f1
mov byte [ebp - 0x131], bl
jmp 0x4594f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x45954a
and eax, 0xffff
or eax, 0x80070000
mov edx, eax
push 0x96
jmp 0x4594ba
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x459588
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x45957a
and eax, 0xffff
or eax, 0x80070000
mov edx, eax
push 0x42
mov eax, str.srcwindows_event.cpp
jmp 0x4594bf
call fcn.0043f1e5
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.0049d8bc
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.0049d8bc
mov byte [ebp - 4], bl
push dword [ebp - 0x14c]
jmp 0x459370
call fcn.00523a90
ret 0x10