Function at 0x42cec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485f58
mov eax, dword fs:[0]
push eax
sub esp, 0x914
mov eax, dword [0x4c0e0c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x914]
mov dword [ebp - 0x920], edi
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AFilePath::constructor_void_]
lea ecx, [ebp - 0x914]
mov dword [ebp - 4], 0
call dword [sym.imp.FSUTIL.dll_public:_class_AFilePath____thiscall_AFilePath::GetExecutableDir_void_]
push eax
lea ecx, [ebp - 0x914]
call dword [sym.imp.FSUTIL.dll_public:_class_AFilePath____thiscall_AFilePath::operator_class_AFilePath_const__]
push str.app.exe
lea ecx, [ebp - 0x914]
call dword [sym.imp.FSUTIL.dll_public:_class_AFilePath____thiscall_AFilePath::operator_char_const__]
lea ecx, [ebp - 0x914]
call dword [sym.imp.FSUTIL.dll_public:_int___thiscall_AFilePath::exists_void_const]
test eax, eax
jne 0x42cf6f
lea eax, [ebp - 0x110]
push eax
push 0x92
call sub.PMResource.dll_PMGetStr
push 0
lea eax, [ebp - 0x110]
push 0
push eax
call sub.PMResource.dll_int___cdecl_PMMessageBox_char_const___unsigned_int__unsigned_int_
add esp, 0x14
xor ebx, ebx
jmp 0x42d124
lea eax, [ebp - 0x91c]
push eax
call fcn.0042d150
add esp, 4
mov byte [ebp - 4], 1
call sub.mfc140.dll_Ordinal_2251
mov ecx, eax
test ecx, ecx
je 0x42cf94
mov eax, dword [ecx]
call dword [eax + 0x7c]
jmp 0x42cf96
xor eax, eax
mov eax, dword [eax + 0x20]
push 0
push dword [ebp - 0x91c]
mov dword [ebp - 0x918], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebx, eax
test ebx, ebx
je 0x42d067
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
push 0x496cfc
call esi
push str.System
movzx edi, ax
call esi
movzx esi, ax
mov ecx, esi
shl ecx, 0x10
or ecx, edi
push ecx
push dword [ebp - 0x918]
push 0x3e0
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
test si, si
je 0x42cffd
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
test di, di
je 0x42d005
push edi
call eax
mov edi, dword [ebp - 0x920]
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_5861]
add eax, 0x14
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [edi]
push str._open___s___
push eax
call fcn.0041e030
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [ebp - 0x918]
push esi
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push edi
push 0x3e8
push ebx
call esi
push 0
push edi
push 0x3e1
push ebx
call esi
mov ebx, eax
jmp 0x42d118
lea eax, [ebp - 0x918]
push eax
lea ecx, [ebp - 0x914]
call dword [sym.imp.FSUTIL.dll_public:_class_AString___thiscall_AFilePath::GetFullPath_void_]
lea esi, [ebp - 0x910]
mov edx, dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi], al
lea esi, [esi + 1]
test al, al
jne 0x42d082
lea ecx, [ebp - 0x918]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
mov eax, 0x22
mov ecx, edi
mov word [ebp - 0x510], ax
call dword [sym.imp.mfc140.dll_Ordinal_1661]
mov edx, eax
mov esi, eax
mov al, byte [edx]
inc edx
test al, al
jne 0x42d0b4
lea edi, [ebp - 0x510]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42d0c4
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x510]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x42d0e1
mov ax, word [0x491fa0]
push 1
push 0
mov word [edi], ax
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0x910]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ebx, ebx
cmp eax, 0x20
setg bl
lea ecx, [ebp - 0x91c]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
lea ecx, [ebp - 0x914]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AFilePath::destructor_void_]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047ff18
mov esp, ebp
pop ebp
ret