Function at 0x406ee0
Capabilities:
Create process on windows
Create process suspended
Delete file
Get common file path

Disassembly:
push 0x2c8
mov eax, 0x43f0dc
call fcn.0042542e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
push 0x104
lea eax, [ebp - 0x22c]
xor esi, esi
push eax
push esi
mov dword [ebp - 0x25c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], esi
call fcn.0041aa1a
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.0041a320
mov ebx, eax
push ebx
mov dword [ebp - 0x230], edx
call fcn.00410c6e
pop ecx
mov esi, eax
push ebx
push esi
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x25c], esi
call fcn.0041a129
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0
call fcn.0041a510
or dword [ebp - 4], 0xffffffff
push 6
pop ecx
lea eax, [ebx - 0x18]
push eax
push dword [ebp - 0x25c]
lea esi, [ebx + esi - 0x18]
lea edi, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x23c]
call fcn.004058bd
pop ecx
pop ecx
push 4
pop ecx
lea edi, [ebp - 0x23c]
lea esi, [ebp - 0x24c]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x407008
call fcn.0041822d
push eax
lea ecx, [ebp - 0x258]
call fcn.00401bc3
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 3
call fcn.00402d47
pop ecx
push 0
push 0
push str.Bad_Signature
call fcn.00417ed4
push dword [ebp - 0x25c]
call fcn.00410c63
pop ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0xfffffff0
call fcn.00401c0b
xor eax, eax
call fcn.0042548a
ret 4
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x258]
mov edi, dword [ebp - 0x254]
mov dword [ecx], eax
lea eax, [ebp - 0x124]
push eax
sub ebx, edi
push 0x104
sub ebx, 0x18
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x124]
push eax
xor esi, esi
push esi
push 0x4468b4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x1001
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 4
call fcn.0041aa1a
push ebx
mov ebx, dword [ebp - 0x25c]
add edi, ebx
push edi
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.0041a16b
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.0041a510
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.00410c63
pop ecx
push 0x44
pop edi
push edi
lea eax, [ebp - 0x2d4]
push esi
push eax
call fcn.00424b60
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x2a4], ax
mov dword [ebp - 0x2d4], edi
xor eax, eax
lea edi, [ebp - 0x270]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x2d4]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x124]
inc ebx
push eax
mov dword [ebp - 0x2a8], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
jne 0x40710a
push esi
push esi
push str.ERR_203:_Create_a_process_failed_
call fcn.00417ed4
jmp 0x406ffe
push 0xffffffffffffffff
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call fcn.0041822d
push eax
lea ecx, [ebp - 0x258]
call fcn.00401bc3
mov dword [ebp - 4], 7
push dword [ebp - 0x260]
lea eax, [ebp - 0x258]
push str._d__result
push eax
call fcn.00401dda
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push dword [ebp - 0x270]
call edi
push dword [ebp - 0x26c]
call edi
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x260], esi
jne 0x40718a
mov esi, ebx
mov ecx, dword [ebp - 0x258]
add ecx, 0xfffffff0
call fcn.00401c0b
mov eax, esi
jmp 0x407000