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

Disassembly:
push 0x2c0
mov eax, 0x440621
call fcn.00426528
mov eax, dword [ebp + 8]
mov dword [ebp - 0x25c], eax
push 0x104
lea eax, [ebp - 0x22c]
xor esi, esi
push eax
push esi
mov dword [ebp - 0x258], 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.0041b807
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.0041b10d
mov ebx, eax
push ebx
mov dword [ebp - 0x230], edx
call fcn.004117b2
pop ecx
mov esi, eax
push ebx
push esi
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x258], esi
call fcn.0041af16
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0
call fcn.0041b2fd
or dword [ebp - 4], 0xffffffff
push 6
pop ecx
lea eax, [ebx - 0x18]
push eax
push dword [ebp - 0x258]
lea esi, [ebx + esi - 0x18]
lea edi, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x23c]
call fcn.00405d0a
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 0x407ef9
call fcn.0041901a
push eax
lea ecx, [ebp - 0x25c]
call fcn.00401eb1
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 3
call fcn.00402ff8
pop ecx
push 0
push 0
push str.Bad_Signature
call fcn.00418ce7
push dword [ebp - 0x258]
call fcn.004117bd
pop ecx
mov ecx, dword [ebp - 0x25c]
add ecx, 0xfffffff0
call fcn.00401ef4
xor eax, eax
call fcn.00426584
ret
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x25c]
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 0x447e98
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.0041b807
push ebx
mov ebx, dword [ebp - 0x258]
add edi, ebx
push edi
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.0041af58
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.0041b2fd
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.004117bd
pop ecx
push 0x44
pop edi
push edi
lea eax, [ebp - 0x2cc]
push esi
push eax
call fcn.00425b80
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x29c], ax
mov dword [ebp - 0x2cc], edi
xor eax, eax
lea edi, [ebp - 0x26c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2cc]
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 - 0x2a0], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x407ffb
push esi
push esi
push str.ERR_203:_Create_a_process_failed_
call fcn.00418ce7
jmp 0x407ef1
push 0xffffffffffffffff
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x26c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x268]
call esi
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, ebx
jmp 0x407ef3