Function at 0x402e30
Capabilities:
Create process on windows
Delete file
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x40909e
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 [0x40dc30]
mov ecx, dword [esi + 0xb0]
push eax
push ecx
xor ebx, ebx
push str.uid:_s_rf:_X
push 0x40dc40
mov dword [esp + 0xb4], ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40dc40
call fcn.00405510
cmp byte [esp + 0xb0], bl
je 0x402f9e
push 0x40dc48
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 0x40dc20
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 0x402f62
mov eax, dword [0x40dc20]
mov ecx, dword [esi + 0xb0]
push eax
push ecx
push str.uid:_s_cps::_X
push 0x40dc40
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40dc40
call fcn.00405510
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0x10]
call fcn.004084dc
lea ecx, [esp + 0xac]
mov dword [esp + 0xa4], 0xffffffff
call fcn.004084dc
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 0x40dc40
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40dc40
call fcn.00405510
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0x10]
jmp 0x403140
cmp dword [0x40dc30], ebx
jne 0x402f2f
push 0x40dc48
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 0x402fe4
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 0x402ff5
lea edx, [esp + 0xac]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator
push ebx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x5c]
push 0x80
push 3
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xb8]
push ebx
push ebx
push 0x80000000
push eax
mov dword [esp + 0x74], 0x44
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40303d
mov dword [0x40d034], 0xffffffe0
jmp 0x403135
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [0x40d034], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x58]
push 0x40dc30
push edx
mov eax, dword [ecx - 8]
push ebx
push ebx
push ebx
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 0x4030b9
mov eax, dword [0x40dc30]
mov ecx, dword [esi + 0xb0]
push eax
push ecx
push str.uid:_s_cps:_X
push 0x40dc40
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40dc40
call fcn.00405510
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0xc]
jmp 0x402f2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0xb0]
mov edi, eax
push edi
push edx
push str.uid:_s_cpf:_X
push 0x40dc40
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40dc40
call fcn.00405510
cmp edi, 0xc1
jne 0x403135
mov eax, dword [esp + 0xac]
mov ecx, dword [esi + 0xb0]
push edi
push eax
push ecx
push str.uid:_s_rn_fl___s__faild___d__del
push 0x40dc40
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, esi
push 0x40dc40
call fcn.00405510
mov edx, dword [esp + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [0x40d034], 0xffffff3f
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0xc]
call fcn.004084dc
lea ecx, [esp + 0xac]
mov dword [esp + 0xa4], 0xffffffff
call fcn.004084dc
xor al, al
jmp 0x402f48