Function at 0x401290
Capabilities:
Check mutex on windows
Create process on windows
Find taskbar
Link many functions at runtime
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x41007c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x26c], 0
push str._StartProgram32_
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x260], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4012d6
xor eax, eax
jmp 0x401cec
mov eax, dword [ebp + 0x10]
push eax
call fcn.00402ff7
add esp, 4
mov dword [ebp - 8], eax
push 0x104
lea ecx, [ebp - 0x378]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x378]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x378]
push eax
lea ecx, [ebp - 0x394]
call fcn.00401d30
push str.StartInfo.ini
lea ecx, [ebp - 0x394]
call fcn.00401e80
mov byte [ebp - 0x258], 0
push 0x103
push 0
lea ecx, [ebp - 0x257]
push ecx
call fcn.00407680
add esp, 0xc
call fcn.00401210
test eax, eax
je 0x401458
lea ecx, [ebp - 0x394]
call fcn.00401ea0
push eax
push 0x104
lea edx, [ebp - 0x258]
push edx
push 0x40e18a
push str.EXEPath
push str.EXEStart
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x258]
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x450]
add ecx, 1
mov dword [ebp - 0x454], ecx
mov edx, dword [ebp - 0x450]
mov al, byte [edx]
mov byte [ebp - 0x455], al
add dword [ebp - 0x450], 1
cmp byte [ebp - 0x455], 0
jne 0x40139a
mov ecx, dword [ebp - 0x450]
sub ecx, dword [ebp - 0x454]
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x45c]
mov byte [ebp + edx - 0x258], 0
lea eax, [ebp - 0x378]
push eax
lea ecx, [ebp - 0x3b0]
call fcn.00401d30
push 0x40e210
lea ecx, [ebp - 0x3b0]
call fcn.00401e80
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x3b0]
call fcn.00401e80
push 5
push 0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x3b0]
call fcn.00401ea0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x438], 0
lea ecx, [ebp - 0x3b0]
call fcn.00401e40
lea ecx, [ebp - 0x394]
call fcn.00401e40
mov eax, dword [ebp - 0x438]
jmp 0x401cec
lea eax, [ebp - 0x378]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401d30
lea ecx, [ebp - 0x150]
call fcn.00401d00
call fcn.00401110
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jne 0x4015d7
lea ecx, [ebp - 0x394]
call fcn.00401ea0
push eax
push 0x104
lea ecx, [ebp - 0x258]
push ecx
push 0x40e18b
push str.WindowsxpPath
push str.Windowsxp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x258]
mov dword [ebp - 0x460], edx
mov eax, dword [ebp - 0x460]
add eax, 1
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x460]
mov dl, byte [ecx]
mov byte [ebp - 0x465], dl
add dword [ebp - 0x460], 1
cmp byte [ebp - 0x465], 0
jne 0x4014cc
mov eax, dword [ebp - 0x460]
sub eax, dword [ebp - 0x464]
mov dword [ebp - 0x46c], eax
mov ecx, dword [ebp - 0x46c]
mov byte [ebp + ecx - 0x258], 0
push 0x40e238
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x3d0]
push eax
call fcn.00402840
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x3d0]
call fcn.00401e80
lea edx, [ebp - 0x3d0]
push edx
lea ecx, [ebp - 0x150]
call fcn.00401e60
push 8
push 0
lea ecx, [ebp - 0x150]
call fcn.00401ea0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x4015a9
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x3d0]
call fcn.00401e40
lea ecx, [ebp - 0x150]
call fcn.00401e40
lea ecx, [ebp - 0x28]
call fcn.00401e40
lea ecx, [ebp - 0x394]
call fcn.00401e40
mov eax, dword [ebp - 0x43c]
jmp 0x401cec
push 0x40e23c
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3b4], eax
call dword [ebp - 0x3b4]
lea ecx, [ebp - 0x3d0]
call fcn.00401e40
jmp 0x401892
cmp dword [ebp - 4], 4
jne 0x401734
lea ecx, [ebp - 0x394]
call fcn.00401ea0
push eax
push 0x104
lea ecx, [ebp - 0x258]
push ecx
push 0x40e1b3
push 0x40e250
push 0x40e260
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x258]
mov dword [ebp - 0x470], edx
mov eax, dword [ebp - 0x470]
add eax, 1
mov dword [ebp - 0x474], eax
mov ecx, dword [ebp - 0x470]
mov dl, byte [ecx]
mov byte [ebp - 0x475], dl
add dword [ebp - 0x470], 1
cmp byte [ebp - 0x475], 0
jne 0x401629
mov eax, dword [ebp - 0x470]
sub eax, dword [ebp - 0x474]
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x47c]
mov byte [ebp + ecx - 0x258], 0
push 0x40e26c
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x3f0]
push eax
call fcn.00402840
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x3f0]
call fcn.00401e80
lea edx, [ebp - 0x3f0]
push edx
lea ecx, [ebp - 0x150]
call fcn.00401e60
push 8
push 0
lea ecx, [ebp - 0x150]
call fcn.00401ea0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x401706
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x3f0]
call fcn.00401e40
lea ecx, [ebp - 0x150]
call fcn.00401e40
lea ecx, [ebp - 0x28]
call fcn.00401e40
lea ecx, [ebp - 0x394]
call fcn.00401e40
mov eax, dword [ebp - 0x440]
jmp 0x401cec
push 0x40e270
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3d4], eax
call dword [ebp - 0x3d4]
lea ecx, [ebp - 0x3f0]
call fcn.00401e40
jmp 0x401892
cmp dword [ebp - 4], 5
je 0x401744
cmp dword [ebp - 4], 6
jne 0x401892
lea ecx, [ebp - 0x394]
call fcn.00401ea0
push eax
push 0x104
lea ecx, [ebp - 0x258]
push ecx
push 0x40e1d5
push str.Windows32Path
push str.Windows7
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x258]
mov dword [ebp - 0x480], edx
mov eax, dword [ebp - 0x480]
add eax, 1
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x480]
mov dl, byte [ecx]
mov byte [ebp - 0x485], dl
add dword [ebp - 0x480], 1
cmp byte [ebp - 0x485], 0
jne 0x40178c
mov eax, dword [ebp - 0x480]
sub eax, dword [ebp - 0x484]
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x48c]
mov byte [ebp + ecx - 0x258], 0
push 0x40e2a0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.00402840
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x410]
call fcn.00401e80
lea edx, [ebp - 0x410]
push edx
lea ecx, [ebp - 0x150]
call fcn.00401e60
push 8
push 0
lea ecx, [ebp - 0x150]
call fcn.00401ea0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x401869
mov dword [ebp - 0x444], 0
lea ecx, [ebp - 0x410]
call fcn.00401e40
lea ecx, [ebp - 0x150]
call fcn.00401e40
lea ecx, [ebp - 0x28]
call fcn.00401e40
lea ecx, [ebp - 0x394]
call fcn.00401e40
mov eax, dword [ebp - 0x444]
jmp 0x401cec
push str.DllRegisterServer
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3f4], eax
call dword [ebp - 0x3f4]
lea ecx, [ebp - 0x410]
call fcn.00401e40
push 0x40e2b8
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
push str.HideDeskband
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x264], eax
push str.DllUnregisterServer
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x25c], 0
cmp dword [ebp - 8], 1
jne 0x401c5d
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x41c], 0
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x4019ef
push 0
push str.ReBarWindow32
push 0
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x4019ef
lea ecx, [ebp - 0x394]
call fcn.00401ea0
push eax
push 0x104
lea edx, [ebp - 0x258]
push edx
push 0x40e1d6
push str.windclass
push 0x40e318
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x258]
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x490]
add ecx, 1
mov dword [ebp - 0x494], ecx
mov edx, dword [ebp - 0x490]
mov al, byte [edx]
mov byte [ebp - 0x495], al
add dword [ebp - 0x490], 1
cmp byte [ebp - 0x495], 0
jne 0x401993
mov ecx, dword [ebp - 0x490]
sub ecx, dword [ebp - 0x494]
mov dword [ebp - 0x49c], ecx
mov edx, dword [ebp - 0x49c]
mov byte [ebp + edx - 0x258], 0
push 0
lea eax, [ebp - 0x258]
push eax
push 0
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x401a2b
mov dword [ebp - 0x448], 0
lea ecx, [ebp - 0x150]
call fcn.00401e40
lea ecx, [ebp - 0x28]
call fcn.00401e40
lea ecx, [ebp - 0x394]
call fcn.00401e40
mov eax, dword [ebp - 0x448]
jmp 0x401cec
mov dword [ebp - 0x414], 0
call dword [ebp - 0x268]
movzx edx, al
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x1f4
jge 0x401a69
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401a6b
jmp 0x401a74
cmp dword [ebp - 0x25c], 0
je 0x401a35
cmp dword [ebp - 4], 4
je 0x401a8a
cmp dword [ebp - 4], 5
je 0x401a8a
cmp dword [ebp - 4], 6
jne 0x401c5b
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x414], 0
lea ecx, [ebp - 0x394]
call fcn.00401ea0
push eax
push 0x104
lea ecx, [ebp - 0x258]
push ecx
push 0x40e1d7
push str.windowsname
push str.ShowDeskband
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x258]
mov dword [ebp - 0x4a0], edx
mov eax, dword [ebp - 0x4a0]
add eax, 1
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a0]
mov dl, byte [ecx]
mov byte [ebp - 0x4a5], dl
add dword [ebp - 0x4a0], 1
cmp byte [ebp - 0x4a5], 0
jne 0x401af0
mov eax, dword [ebp - 0x4a0]
sub eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x4ac], eax
mov ecx, dword [ebp - 0x4ac]
mov byte [ebp + ecx - 0x258], 0
lea edx, [ebp - 0x258]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x42c], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x430], eax
push 0
push str.CtrlNotifySink
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x424], eax
push 0x40e354
push 0
push 0
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x401c26
mov dword [ebp - 0x434], 0
push 0
push 1
push 0x201
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xa000a
push 0
push 0x202
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x258]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x434]
mov edx, dword [ebp - 0x434]
add edx, 1
mov dword [ebp - 0x434], edx
cmp ecx, 0x3e8
jge 0x401c1b
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401c1d
jmp 0x401c26
cmp dword [ebp - 0x42c], 0
jne 0x401bb0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x414]
add ecx, 1
mov dword [ebp - 0x414], ecx
cmp eax, 0x1f4
jge 0x401c4c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401c4e
jmp 0x401c5b
cmp dword [ebp - 0x428], 0
je 0x401aa8
jmp 0x401cb1
cmp dword [ebp - 8], 2
jne 0x401c6b
call dword [ebp - 0x264]
jmp 0x401cb1
cmp dword [ebp - 8], 3
jne 0x401cb1
cmp dword [ebp - 4], 2
jne 0x401c85
call dword [ebp - 0x264]
call dword [ebp - 0x134]
jmp 0x401cb1
cmp dword [ebp - 4], 4
jne 0x401c99
call dword [ebp - 0x264]
call dword [ebp - 0x134]
jmp 0x401cb1
cmp dword [ebp - 4], 5
je 0x401ca5
cmp dword [ebp - 4], 6
jne 0x401cb1
call dword [ebp - 0x264]
call dword [ebp - 0x134]
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x44c], 0
lea ecx, [ebp - 0x150]
call fcn.00401e40
lea ecx, [ebp - 0x28]
call fcn.00401e40
lea ecx, [ebp - 0x394]
call fcn.00401e40
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00402b34
mov esp, ebp
pop ebp
ret 0x10