Function at 0x407dc0
Capabilities:
Create process on windows
Enumerate gui resources
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x49274b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3b4
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x4c3008
lea ecx, [esp + 0x14]
call fcn.004841a8
push ecx
lea eax, [esp + 0x14]
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x3d4], ebx
call fcn.004841a8
mov ecx, esi
call fcn.00407d50
cmp eax, ebx
jne 0x407e2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x3cc], 0xffffffff
call fcn.00484433
xor eax, eax
jmp 0x40805c
push ebx
push 2
mov dword [esp + 0x80], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x407e60
lea ecx, [esp + 0x10]
mov dword [esp + 0x3cc], eax
call fcn.00484433
xor eax, eax
jmp 0x40805c
lea ecx, [esp + 0x78]
push ecx
push ebp
call sub.KERNEL32.dll_Process32First
mov esi, eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], 1
mov word [esp + 0x64], bx
call fcn.0048490c
cmp esi, ebx
je 0x407f9f
lea edx, [esp + 0x9c]
push edx
call fcn.00481672
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004822dc
mov eax, dword [eax]
lea ecx, [esp + 0x9c]
push ecx
push eax
call fcn.0046f2f7
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.00484433
test bl, bl
je 0x407f73
mov edx, dword [esp + 0x80]
push edx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x407fe9
mov ecx, 0x88
xor eax, eax
lea edi, [esp + 0x1a4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1a0]
mov dword [esp + 0x1a0], 0x224
push eax
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x407fe9
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea ecx, [esp + 0x2c0]
push ecx
call fcn.00481672
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c4]
push edx
push eax
call fcn.0046f2f7
add esp, 0xc
test eax, eax
je 0x407f90
lea ecx, [esp + 0x78]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x407ea4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x407fa5
mov edx, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x14], edx
jmp 0x407fa5
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
cmp dword [esp + 0x14], ebx
jne 0x408001
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
mov edx, dword [esp + 0x10]
push eax
push ecx
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
je 0x407fe9
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
push eax
mov dword [esp + 0x18], edi
call esi
mov ecx, dword [esp + 0x24]
push ecx
call esi
cmp edi, ebx
jne 0x408001
lea ecx, [esp + 0x10]
mov dword [esp + 0x3cc], 0xffffffff
call fcn.00484433
xor eax, eax
jmp 0x40805c
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
mov dword [esp + 0x20], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x1c], edx
xor esi, esi
push str.DecodeDemo
push 0
call edi
test eax, eax
jne 0x408032
push 0x64
call ebx
inc esi
cmp esi, 0x32
jl 0x40801b
lea eax, [esp + 0x1c]
push eax
push 0x408080
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
mov dword [esp + 0x3cc], 0xffffffff
call fcn.00484433
mov eax, esi
mov ecx, dword [esp + 0x3c4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c0
ret