Function at 0x40e900
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x448877
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x4563c4]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4563c4]
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 0x4575e0
xor eax, eax
mov esi, ecx
call fcn.00419140
add dword [0x457600], 1
add esp, 0xc
push 0x44dc44
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.004057e0
xor ebx, ebx
mov dword [esp + 0x4bc], ebx
cmp dword [esp + 0x6c], ebx
je 0x40eb81
push 0x44d8ac
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.004057e0
push 0x44de60
lea edx, [esp + 0x24]
push edx
push esi
mov byte [esp + 0x4c8], 1
call fcn.004057e0
mov ecx, eax
mov byte [esp + 0x4bc], 2
mov eax, dword [ecx + 0x14]
push 0x44d450
lea edi, [ebx + 3]
call fcn.00403c20
test eax, eax
sete byte [esp + 0x18]
mov byte [esp + 0x4bc], 1
cmp dword [esp + 0x38], 8
jb 0x40e9ec
mov eax, dword [esp + 0x24]
push eax
call fcn.00422b32
add esp, 4
push 0x44de6c
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.004057e0
mov ecx, eax
mov byte [esp + 0x4bc], 3
mov eax, dword [ecx + 0x14]
push 0x44d450
mov edi, 3
call fcn.00403c20
test eax, eax
sete bl
mov edi, 8
mov byte [esp + 0x4bc], 1
cmp dword [esp + 0x38], edi
mov byte [esp + 0x1c], bl
jb 0x40ea41
mov edx, dword [esp + 0x24]
push edx
call fcn.00422b32
add esp, 4
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40ea4f
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x2a8]
push 0x104
push eax
call fcn.004231e5
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 0x40ea81
lea ecx, [esp + 0x40]
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40ea8f
lea eax, [esp + 0x5c]
push ecx
push eax
push str.Executing__s__s
push 0x4575e0
xor eax, eax
call fcn.00419140
add esp, 0x10
test bl, bl
mov ecx, 0x44d450
jne 0x40eab3
mov ecx, 0x44d458
cmp byte [esp + 0x18], 0
mov eax, 0x44d450
jne 0x40eac4
mov eax, 0x44d458
push ecx
push eax
push str.Flags:_Wait_s_Hidden_s
push 0x4575e0
xor eax, eax
call fcn.00419140
add esp, 0x10
cmp byte [ebp + 0x244], 0
jne 0x40eb3e
cmp dword [esp + 0x54], edi
mov ecx, dword [esp + 0x40]
jae 0x40eaf1
lea ecx, [esp + 0x40]
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x40eaff
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.00420e40
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40eb3e
push esi
push str.Execute_failed_0x_X
push 0x4575e0
mov eax, 2
call fcn.00419140
mov dword [ebp + 0x38], esi
jmp 0x40eb62
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40eb65
push eax
push str.Process_returned_0x_X
push 0x4575e0
mov eax, 2
call fcn.00419140
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x38], eax
add esp, 0xc
cmp dword [esp + 0x54], edi
jb 0x40ec9a
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00422b32
add esp, 4
jmp 0x40ec9a
push str.process
lea edx, [esp + 0x40]
push edx
push esi
call fcn.004057e0
mov byte [esp + 0x4bc], 4
mov eax, dword [esp + 0x40]
mov esi, 8
cmp dword [esp + 0x54], esi
jae 0x40ebac
lea eax, [esp + 0x40]
push eax
lea edi, [esp + 0x78]
call fcn.00420cd0
add esp, 4
test eax, eax
je 0x40ec85
cmp dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
jae 0x40ebcf
lea eax, [esp + 0x40]
push eax
push str.Sending_quit_message_to_process__s
push 0x4575e0
xor eax, eax
call fcn.00419140
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x54], esi
jae 0x40ebf2
lea eax, [esp + 0x40]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0x420bb0
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 0x40ec2f
lea eax, [esp + 0x40]
push eax
call fcn.00420d50
add esp, 4
test eax, eax
je 0x40ec85
push str.Process_still_active__terminating
push 0x4575e0
mov eax, 1
call fcn.00419140
mov eax, dword [esp + 0x48]
add esp, 8
cmp dword [esp + 0x54], esi
jae 0x40ec61
lea eax, [esp + 0x40]
push eax
call fcn.00420d90
add esp, 4
test eax, eax
je 0x40ec85
push str.Process_wont_terminate
push 0x4575e0
mov eax, 2
call fcn.00419140
add esp, 8
cmp dword [esp + 0x54], esi
jb 0x40ec98
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00422b32
add esp, 4
mov edi, esi
sub dword [0x457600], 1
cmp dword [esp + 0x70], edi
jb 0x40ecb4
mov edx, dword [esp + 0x5c]
push edx
call fcn.00422b32
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.00422b23
add esp, 0x4ac
ret 4