Function at 0x417e90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x67c
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov eax, dword [str.._a:]
mov cx, word [0x4e0630]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], cx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x17c]
mov dl, byte [0x4e0632]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x280]
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [ebp - 0x480]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x480]
mov al, byte [esi + 0x18]
push ecx
push 0x200
push 0
push 0
push 0
mov byte [ebp - 0x12], dl
mov edx, dword [esi + 0x1c]
push 0xff
push 0x51
push pe_nt_image_headers32
push edx
mov dword [ebp - 4], 0
mov byte [ebp - 0x14], al
call fcn.0048fc90
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x24
push 0x1f4
call edi
push 0
push 0x80
push 3
push 0
push 3
lea eax, [ebp - 0x18]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x417f72
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
push 0x3e8
call edi
jmp 0x417f78
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.0048f710
add esp, 4
cmp eax, 1
je 0x417f9c
push 0x1f4
call edi
mov edx, dword [esi + 0x1c]
push edx
call fcn.0048f710
add esp, 4
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea ecx, [ebp - 0x17c]
push 0x4df2f8
push ecx
call esi
movsx edx, byte [ebp - 0x14]
push edx
lea eax, [ebp - 0x280]
push str._c:_
push eax
call esi
lea ecx, [ebp - 0x280]
lea edx, [ebp - 0x17c]
push ecx
push edx
lea eax, [ebp - 0x688]
push str.XCOPY.EXE___s____s___E__H__Q__K
push eax
call esi
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x78]
add esp, 0x28
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x24], ecx
push edx
mov dword [ebp - 0x20], ecx
push eax
push ecx
push ecx
push 0x8000000
push ecx
push ecx
mov dword [ebp - 0x1c], ecx
push ecx
lea ecx, [ebp - 0x688]
push ecx
push 0
mov dword [ebp - 0x78], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x418041
lea edx, [ebp - 0x34]
push 0x4d8340
push edx
mov dword [ebp - 0x34], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4180d5
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4180d5
mov eax, dword [ebp - 0x28]
push eax
call ebx
mov ecx, dword [ebp - 0x24]
push ecx
call ebx
push 0
push 0x80
push 3
push 0
push 3
lea edx, [ebp - 0x18]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4180ae
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x30]
push 0x4d8340
push eax
mov dword [ebp - 0x30], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x24]
push edx
call esi
push 0
push 0
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop