Function at 0x40ea00
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4483c7
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x4563d0]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4563d0]
xor eax, esp
push eax
lea eax, [esp + 0x4b4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c4]
push str.Process
push str.__s_
push 0x4575d0
xor eax, eax
mov esi, ecx
call fcn.00419220
add dword [0x4575f0], 1
add esp, 0xc
push 0x44dc2c
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.00405890
xor ebx, ebx
mov dword [esp + 0x4bc], ebx
cmp dword [esp + 0x6c], ebx
je 0x40ec83
push 0x44d894
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.00405890
push 0x44de48
lea edx, [esp + 0x24]
push edx
push esi
mov byte [esp + 0x4c8], 1
call fcn.00405890
mov ecx, eax
mov byte [esp + 0x4bc], 2
mov eax, dword [ecx + 0x14]
push 0x44d438
mov edi, 3
call fcn.00403d20
test eax, eax
sete byte [esp + 0x18]
mov byte [esp + 0x4bc], 1
cmp dword [esp + 0x38], 8
jb 0x40eaee
mov eax, dword [esp + 0x24]
push eax
call fcn.00422ece
add esp, 4
push 0x44de54
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.00405890
mov ecx, eax
mov byte [esp + 0x4bc], 3
mov eax, dword [ecx + 0x14]
push 0x44d438
mov edi, 3
call fcn.00403d20
test eax, eax
sete bl
mov edi, 8
mov byte [esp + 0x4bc], 1
cmp dword [esp + 0x38], edi
mov byte [esp + 0x1c], bl
jb 0x40eb43
mov edx, dword [esp + 0x24]
push edx
call fcn.00422ece
add esp, 4
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40eb51
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x2a8]
push 0x104
push eax
call fcn.00422e62
add esp, 0xc
lea ecx, [esp + 0x2a4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esp + 0x54], edi
mov ecx, dword [esp + 0x40]
jae 0x40eb83
lea ecx, [esp + 0x40]
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40eb91
lea eax, [esp + 0x5c]
push ecx
push eax
push str.Executing__s__s
push 0x4575d0
xor eax, eax
call fcn.00419220
add esp, 0x10
test bl, bl
mov ecx, 0x44d438
jne 0x40ebb5
mov ecx, 0x44d440
cmp byte [esp + 0x18], 0
mov eax, 0x44d438
jne 0x40ebc6
mov eax, 0x44d440
push ecx
push eax
push str.Flags:_Wait_s_Hidden_s
push 0x4575d0
xor eax, eax
call fcn.00419220
add esp, 0x10
cmp byte [ebp + 0x244], 0
jne 0x40ec40
cmp dword [esp + 0x54], edi
mov ecx, dword [esp + 0x40]
jae 0x40ebf3
lea ecx, [esp + 0x40]
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40ec01
lea eax, [esp + 0x5c]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
lea ebx, [esp + 0x2b4]
call fcn.00420ee0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ec40
push esi
push str.Execute_failed_0x_X
push 0x4575d0
mov eax, 2
call fcn.00419220
mov dword [ebp + 0x38], esi
jmp 0x40ec64
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40ec67
push eax
push str.Process_returned_0x_X
push 0x4575d0
mov eax, 2
call fcn.00419220
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x38], eax
add esp, 0xc
cmp dword [esp + 0x54], edi
jb 0x40ed9c
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00422ece
add esp, 4
jmp 0x40ed9c
push str.process
lea edx, [esp + 0x40]
push edx
push esi
call fcn.00405890
mov byte [esp + 0x4bc], 4
mov eax, dword [esp + 0x40]
mov esi, 8
cmp dword [esp + 0x54], esi
jae 0x40ecae
lea eax, [esp + 0x40]
push eax
lea edi, [esp + 0x78]
call fcn.00420d70
add esp, 4
test eax, eax
je 0x40ed87
cmp dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
jae 0x40ecd1
lea eax, [esp + 0x40]
push eax
push str.Sending_quit_message_to_process__s
push 0x4575d0
xor eax, eax
call fcn.00419220
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x54], esi
jae 0x40ecf4
lea eax, [esp + 0x40]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0x420c50
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
jae 0x40ed31
lea eax, [esp + 0x40]
push eax
call fcn.00420df0
add esp, 4
test eax, eax
je 0x40ed87
push str.Process_still_active__terminating
push 0x4575d0
mov eax, 1
call fcn.00419220
mov eax, dword [esp + 0x48]
add esp, 8
cmp dword [esp + 0x54], esi
jae 0x40ed63
lea eax, [esp + 0x40]
push eax
call fcn.00420e30
add esp, 4
test eax, eax
je 0x40ed87
push str.Process_wont_terminate
push 0x4575d0
mov eax, 2
call fcn.00419220
add esp, 8
cmp dword [esp + 0x54], esi
jb 0x40ed9a
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00422ece
add esp, 4
mov edi, esi
sub dword [0x4575f0], 1
cmp dword [esp + 0x70], edi
jb 0x40edb6
mov edx, dword [esp + 0x5c]
push edx
call fcn.00422ece
add esp, 4
mov ecx, dword [esp + 0x4b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.00422834
add esp, 0x4ac
ret 4