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

Disassembly:
push 0xffffffffffffffff
push 0x40653e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [0x4099f0]
mov ecx, dword [esi + 0xac]
push eax
push ecx
xor ebx, ebx
push str.uid:_s_rf:_X
push 0x409a00
mov dword [esp + 0xb4], ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x409a00
call fcn.00404c60
cmp byte [esp + 0xb0], bl
je 0x402999
push 0x409a04
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0xac]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0xa8], 1
call sub.MFC42.DLL_CString::operator
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0x14]
push 0x4099e0
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push edx
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402942
mov eax, dword [0x4099e0]
mov ecx, dword [esi + 0xac]
push eax
push ecx
push str.uid:_s_cps::_X
push 0x409a00
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x409a00
call fcn.00404c60
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0x10]
call fcn.00405af6
lea ecx, [esp + 0xac]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00405af6
mov al, 1
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0xac]
push eax
push edx
push str.uid:_s_cpf::_X
push 0x409a00
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x409a00
call fcn.00404c60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], bl
call fcn.00405af6
lea ecx, [esp + 0xac]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00405af6
xor al, al
jmp 0x402928
cmp dword [0x4099f0], ebx
jne 0x40290f
push 0x409a04
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xb4]
mov byte [esp + 0xa4], 2
cmp eax, ebx
je 0x4029e3
push eax
mov eax, dword [esp + 0xb0]
push eax
lea ecx, [esp + 0x14]
push str._s__s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x4029f4
lea edx, [esp + 0xac]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x58]
push 0x4099f0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
push ecx
push ebx
push ebx
push ebx
mov dword [esp + 0x6c], 0x44
mov eax, dword [eax - 8]
push ebx
push ebx
push ebx
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402a72
mov edx, dword [0x4099f0]
mov eax, dword [esi + 0xac]
push edx
push eax
push str.uid:_s_cps:_X
push 0x409a00
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x409a00
call fcn.00404c60
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0xc]
jmp 0x40290a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0xac]
mov edi, eax
push edi
push ecx
push str.uid:_s_cpf:_X
push 0x409a00
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x409a00
call fcn.00404c60
cmp edi, 0xc1
jne 0x402ae4
mov edx, dword [esp + 0xac]
mov eax, dword [esi + 0xac]
push edi
push edx
push eax
push str.uid:_s_rn_fl___s__faild___d__del
push 0x409a00
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, esi
push 0x409a00
call fcn.00404c60
mov ecx, dword [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc]
mov byte [esp + 0xa4], bl
call fcn.00405af6
lea ecx, [esp + 0xac]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00405af6
xor al, al
jmp 0x402928