Function at 0x4994d0
Capabilities:
Accept command line arguments
Check mutex on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9f50
mov eax, dword fs:[0]
push eax
mov eax, 0x2544
call fcn.00445e40
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254c], ecx
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x24], 0xff
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0x254c]
call fcn.0042d841
push 0
call fcn.0042e6a6
add esp, 4
push 0
push 0x4e3920
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push str.Local_AppWizard_Generated_Applications
mov ecx, dword [ebp - 0x254c]
call fcn.0042ec1b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push str.Settings_0
mov ecx, 0x4e3ef0
call fcn.00483090
mov ecx, dword [ebp - 0x254c]
mov dword [ecx + 0xa8], 0
mov edx, dword [ebp - 0x254c]
mov dword [edx + 0xac], 0
mov eax, dword [ebp - 0x254c]
add eax, 0xa8
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [ebp - 0x254c]
mov dword [ecx + 0xac], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, dword [ebp - 0x254c]
mov dword [edx + 0xa4], eax
push str.6e722db8_b319_4933_9932_314a077920be
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x2530], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4995fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4995fb
mov dword [ebp - 0x2550], 0
jmp 0x499605
mov dword [ebp - 0x2550], 1
mov al, byte [ebp - 0x2550]
mov byte [ebp - 0x2531], al
movzx ecx, byte [ebp - 0x2531]
test ecx, ecx
je 0x4996fa
mov dword [ebp - 0x2538], 0
lea edx, [ebp - 0x2538]
push edx
push 0x499420
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x2538], 0
je 0x4996f3
mov eax, dword [ebp - 0x2538]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 0x2538]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x499676
push 9
mov edx, dword [ebp - 0x2538]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x254c]
cmp dword [eax + 0xa8], 1
jle 0x4996da
mov dword [ebp - 0x2544], 0x18a5
mov ecx, dword [ebp - 0x254c]
mov edx, dword [ecx + 0xa4]
push edx
call fcn.0043fc6b
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0x2540], eax
mov ecx, dword [ebp - 0x254c]
mov edx, dword [ecx + 0xa4]
mov dword [ebp - 0x253c], edx
lea eax, [ebp - 0x2544]
push eax
push 0
push 0x4a
mov ecx, dword [ebp - 0x2538]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4996f3
push 0
push 0x8012
push 0x8011
mov edx, dword [ebp - 0x2538]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x4997bc
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
call fcn.00406630
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x254c]
add ecx, 0xb0
push ecx
call sub.gdiplus.dll_GdiplusStartup
push 0
lea ecx, [ebp - 0x252c]
call fcn.00496950
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x254c]
lea eax, [ebp - 0x252c]
mov dword [edx + 0x20], eax
mov byte [ebp - 0x504], 0
mov byte [ebp - 0x503], 0
mov ecx, dword [ebp - 0x254c]
cmp dword [ecx + 0xa8], 1
jle 0x499767
mov byte [ebp - 0x504], 1
push str._noscan
mov edx, dword [ebp - 0x254c]
mov eax, dword [edx + 0xa4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x49978a
mov byte [ebp - 0x503], 1
push 0
lea ecx, [ebp - 0x252c]
call fcn.00492360
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2548], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x252c]
call fcn.004966f0
mov eax, dword [ebp - 0x2548]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret