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

Disassembly:
push 0xffffffffffffffff
push 0x408dfe
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 [0x40cc20]
mov ecx, dword [esi + 0xb0]
push eax
push ecx
xor ebx, ebx
push str.uid:_s_rf:_X
push 0x40cc30
mov dword [esp + 0xb4], ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40cc30
call fcn.00405360
cmp byte [esp + 0xb0], bl
je 0x402f19
push 0x40cc38
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
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 0x40cc10
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 0x402ec2
mov eax, dword [0x40cc10]
mov ecx, dword [esi + 0xb0]
push eax
push ecx
push str.uid:_s_cps::_X
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40cc30
call fcn.00405360
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0x10]
call fcn.0040828c
lea ecx, [esp + 0xac]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0040828c
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 + 0xb0]
push eax
push edx
push str.uid:_s_cpf::_X
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40cc30
call fcn.00405360
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], bl
call fcn.0040828c
lea ecx, [esp + 0xac]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0040828c
xor al, al
jmp 0x402ea8
cmp dword [0x40cc20], ebx
jne 0x402e8f
push 0x40cc38
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0xb4]
mov byte [esp + 0xa4], 2
cmp eax, ebx
je 0x402f63
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 0x402f74
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 0x40cc20
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 0x402ff2
mov edx, dword [0x40cc20]
mov eax, dword [esi + 0xb0]
push edx
push eax
push str.uid:_s_cps:_X
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40cc30
call fcn.00405360
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0xc]
jmp 0x402e8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0xb0]
mov edi, eax
push edi
push ecx
push str.uid:_s_cpf:_X
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40cc30
call fcn.00405360
cmp edi, 0xc1
jne 0x403064
mov edx, dword [esp + 0xac]
mov eax, dword [esi + 0xb0]
push edi
push edx
push eax
push str.uid:_s_rn_fl___s__faild___d__del
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, esi
push 0x40cc30
call fcn.00405360
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.0040828c
lea ecx, [esp + 0xac]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0040828c
xor al, al
jmp 0x402ea8