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

Disassembly:
push 0xffffffffffffffff
push 0x40a526
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00402cb0
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x288], esi
call fcn.00404310
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x290]
push 0x2e
push esi
mov byte [esp + 0x290], 1
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x4091b9
mov ebp, dword [esp + 0x294]
cmp byte [ebp], 0
je 0x4091b9
mov edi, dword [esp + 0x298]
cmp byte [edi], 0
je 0x4091b9
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push 0x40d565
lea eax, [esp + 0x184]
push 0x40dea0
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x180]
push ecx
push 0
push 0
push 0
push edi
push ebp
push esi
lea ecx, [esp + 0x40]
call fcn.00402d80
test eax, eax
mov dword [esp + 0x10], eax
jle 0x4091b9
lea ecx, [esp + 0x28]
call fcn.00401630
test eax, eax
je 0x4091b9
xor eax, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00401630
test eax, eax
jle 0x4091b9
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push edx
call fcn.00401610
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0x40d240
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
push ecx
call fcn.004024d0
add esp, 0x14
test eax, eax
je 0x409148
push 0
lea edx, [esp + 0x40]
push 9
lea eax, [esp + 0x88]
push edx
push eax
call fcn.00402c40
add esp, 0x10
test eax, eax
je 0x409148
cmp byte [esp + 0x42], 0x58
jne 0x409148
lea ecx, [esp + 0x80]
push 0x2e
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
test eax, eax
je 0x409132
movsx edx, byte [eax - 1]
lea esi, [eax - 1]
push edx
call dword [sym.imp.MSVCRT.dll_isdigit]
add esp, 4
test eax, eax
je 0x409132
push esi
call ebp
push eax
lea eax, [esp + 0x44]
push 0x40de88
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x18]
push 0
push 0
push 0xf003f
push 0
push 0
push 0x40d565
push 0x80000002
call fcn.00404400
test eax, eax
jne 0x409142
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004045c0
lea ecx, [esp + 0x18]
call fcn.004043e0
inc dword [esp + 0x10]
jmp 0x409175
lea eax, [esp + 0x80]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
inc dword [esp + 0x10]
jmp 0x409175
push 1
push 0
push 0
lea ecx, [esp + 0x8c]
push 0x40e178
push ecx
call fcn.004024d0
add esp, 0x14
test eax, eax
jne 0x409175
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x28]
inc esi
mov dword [esp + 0x14], esi
call fcn.00401630
cmp esi, eax
jl 0x409027
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4091b9
call fcn.00409200
test eax, eax
je 0x4091b9
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
call fcn.00408520
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0
call fcn.00404350
lea ecx, [esp + 0x24]
mov dword [esp + 0x288], 0xffffffff
call fcn.00402d20
mov ecx, dword [esp + 0x280]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x27c
ret