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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x41f608]
push ebx
push esi
push edi
mov dword [esp + 0x12c], eax
mov dword [esp + 0xc], ecx
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..e94
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x10], 0
push 0
push 2
push 2
push 0
push 0
push 0x1f01ff
lea eax, [esp + 0x38]
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x40606d
mov ecx, dword [ebp + 8]
push esi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00405a70
test al, al
push esi
jne 0x4060a9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xbb8
call edi
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x1e
mov dword [esp + 0x10], eax
jl 0x405fd7
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x408]
mov eax, dword [ebp + 0x14]
push edx
push eax
push str.1351
push 0x41c5b8
lea edx, [ecx + 0x200]
push edx
call fcn.00405f00
xor al, al
mov ecx, dword [esp + 0x12c]
call fcn.0040e486
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x408]
mov edx, dword [ebp + 0x14]
push eax
push edx
push str.1651
push 0x41c5b8
lea eax, [ecx + 0x200]
push eax
call fcn.00405f00
xor al, al
mov ecx, dword [esp + 0x12c]
call fcn.0040e486
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x1388
call edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x38]
push eax
call ebx
cmp eax, 0xffffffff
je 0x406114
push eax
call esi
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00404a40
test al, al
jne 0x40612d
mov edx, dword [esi + 0x408]
mov eax, dword [ebp + 0x14]
push edx
push eax
push str.1481
lea ecx, [esi + 0x200]
push 0x41c5b8
push ecx
mov ecx, esi
jmp 0x406051
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x408]
mov eax, dword [ebp + 0x14]
push edx
push eax
push str.1789
jmp 0x406045
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
push esi
lea edx, [esp + 0x24]
push edx
call fcn.00403e50
test al, al
jne 0x40615c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x408]
mov edx, dword [ebp + 0x14]
push eax
push edx
push str.1438
jmp 0x406081
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xbb8
call edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call ebx
cmp eax, 0xffffffff
je 0x4061f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x40621a
xor ecx, ecx
push 0xa
lea edx, [esp + 0x18]
mov dword [esp + 0x19], ecx
push edx
add eax, 0x2328
mov dword [esp + 0x21], ecx
push eax
mov byte [esp + 0x20], 0
mov byte [esp + 0x29], cl
call fcn.0040edb3
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x408]
mov edx, dword [ebp + 0x14]
add esp, 0xc
push eax
push edx
lea eax, [esp + 0x1c]
push eax
push 0x41c5b8
lea edx, [ecx + 0x200]
push edx
jmp 0x40608d
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x408]
mov eax, dword [ebp + 0x14]
push edx
push eax
push str.1789
push 0x41c5b8
lea edx, [ecx + 0x200]
push edx
jmp 0x40608d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x408]
mov edx, dword [ebp + 0x14]
push eax
push edx
push str.1999
push 0x41c5b8
lea eax, [ecx + 0x200]
push eax
call fcn.00405f00
mov ecx, dword [esp + 0x12c]
mov al, 1
jmp loc.004de6b8