Function at 0x4036e0
Capabilities:
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x40709e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push edi
mov eax, dword [0x40ad68]
mov ecx, dword [0x40ad08]
push eax
push ecx
xor ebx, ebx
push str.uid:_s_run_file::_X
push 0x40ab68
mov dword [esp + 0xb0], ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
cmp byte [esp + 0xac], bl
je 0x40386e
push 0x40ae74
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0xa8]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0xa4], 1
call sub.MFC42.DLL_CString::operator
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x10]
mov edx, dword [esp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0x10]
push 0x40ad58
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push edx
mov dword [esp + 0x38], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403814
mov eax, dword [0x40ad58]
mov ecx, dword [0x40ad08]
push eax
push ecx
push str.uid:_s_create_process_succeed::_X
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
mov byte [esp + 0xa0], bl
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x98]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x40ad08]
push eax
push edx
push str.uid:_s_create_process_failed::_X
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
lea ecx, [esp + 0xc]
mov byte [esp + 0xa0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x4037fb
cmp dword [0x40ad68], ebx
jne 0x4037e2
push 0x40ae74
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0xb0]
mov byte [esp + 0xa0], 2
cmp eax, ebx
je 0x4038b8
push eax
mov eax, dword [esp + 0xac]
push eax
lea ecx, [esp + 0x10]
push str._s__s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x4038c9
lea edx, [esp + 0xa8]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x54]
push 0x40ad68
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x58]
push ecx
push ebx
push ebx
push ebx
mov dword [esp + 0x68], 0x44
mov eax, dword [eax - 8]
push ebx
push ebx
push ebx
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403949
mov edx, dword [0x40ad68]
mov eax, dword [0x40ad08]
push edx
push eax
push str.uid:_s_create_process_succeed::_X
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
mov byte [esp + 0xa0], bl
lea ecx, [esp + 8]
jmp 0x4037dd
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x40ad08]
mov esi, eax
push esi
push ecx
push str.uid:_s_create_process_failed::_X
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
cmp esi, 0xc1
pop esi
jne 0x4039c6
mov edx, dword [esp + 0xa8]
mov eax, dword [0x40ad08]
push 0xc1
push edx
push eax
push str.uid:_s_rn_fl___s__faild___d__del
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
mov ecx, dword [esp + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 8]
mov byte [esp + 0xa0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x4037fb