Function at 0x40275c
Capabilities:
Create process on windows
Set file attributes

Disassembly:
push ebx
push esi
add esp, 0xfffff9f8
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00402708
cmp al, 1
jne 0x402a18
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrlenA
call sub.user32.dll_GetForegroundWindow
push 0x80
push esi
call sub.kernel32.dll_SetFileAttributesA
push 4
lea eax, [esp + 4]
push eax
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_RtlMoveMemory
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrlenA
call sub.user32.dll_GetForegroundWindow
push 0
call sub.user32.dll_IsWindowVisible
push 0x402a24
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcmpA
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrlenA
push 0
call sub.user32.dll_IsWindowEnabled
push 0x402a24
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcmpiA
push 0
call sub.kernel32.dll_CloseHandle
call sub.user32.dll_GetForegroundWindow
push 0x402a28
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrlenA
push 0x402a24
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcmpiA
push 0
call sub.kernel32.dll_CloseHandle
push 0
call sub.user32.dll_IsWindowEnabled
push 4
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_RtlZeroMemory
call sub.user32.dll_GetForegroundWindow
push esp
push 0x402a2c
lea eax, [esp + 0xc]
push eax
call sub.user32.dll_wvsprintfA
push 0x402a28
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcmpiA
call sub.user32.dll_GetForegroundWindow
push 1
call sub.kernel32.dll_Sleep
push 1
call sub.kernel32.dll_Sleep
push esp
push 0x402a2c
lea eax, [esp + 0xc]
push eax
call sub.user32.dll_wvsprintfA
push 1
call sub.kernel32.dll_Sleep
push 0
call sub.user32.dll_IsWindowEnabled
push 0x402a24
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcmpiA
push esp
push 0x402a2c
lea eax, [esp + 0xc]
push eax
call sub.user32.dll_wvsprintfA
push 4
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_RtlZeroMemory
call sub.user32.dll_GetForegroundWindow
push 4
lea eax, [esp + 4]
push eax
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_RtlMoveMemory
push 0x402a24
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcmpA
push 0x402a30
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_lstrcpyA
call sub.kernel32.dll_GetTickCount
mov dword [esp], eax
push esp
push 0x402a2c
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 0x402a38
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 0x104]
call fcn.00402730
cmp al, 1
jne 0x402a18
push 0x402a40
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcpyA
push 0x402a4c
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0x402a54
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 0x402a60
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 0x402a78
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 0x402a88
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.00402ac8
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