Function at 0x41ed50
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x451c32
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4663e0]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663e0]
xor eax, esp
push eax
lea eax, [esp + 0x2cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2dc]
mov esi, ecx
mov eax, dword [esi + 4]
push eax
push str.Process
push str.__s____d_
xor ebx, ebx
push 0x4676a0
xor eax, eax
mov dword [esp + 0x28], ebx
call fcn.0042cad0
add dword [0x4676c0], 1
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
push esi
mov ecx, 0x458e94
call fcn.00412330
mov dword [esp + 0x2d4], ebx
cmp dword [esp + 0x70], ebx
je 0x41f0b2
lea ecx, [esp + 0x78]
push ecx
push esi
mov ecx, 0x458ad8
call fcn.00412330
lea edx, [esp + 0x40]
push edx
push esi
mov ecx, 0x4591a0
mov byte [esp + 0x2dc], 1
call fcn.00412330
lea eax, [esp + 0x24]
push eax
mov bl, 2
push esi
mov ecx, 0x459188
mov byte [esp + 0x2dc], bl
call fcn.00412330
mov ecx, eax
mov byte [esp + 0x2d4], 3
mov eax, dword [ecx + 0x14]
push 0x457d28
mov edi, 3
call fcn.004052b0
test eax, eax
sete byte [esp + 0x20]
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x3c], 8
jb 0x41ee5e
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00439059
add esp, 4
lea edx, [esp + 0x24]
push edx
push esi
mov ecx, 0x459194
call fcn.00412330
mov ecx, eax
mov byte [esp + 0x2d4], 4
mov eax, dword [ecx + 0x14]
push 0x457d28
mov edi, 3
call fcn.004052b0
test eax, eax
mov edi, 8
sete byte [esp + 0x1c]
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x3c], edi
jb 0x41eeb0
mov eax, dword [esp + 0x28]
push eax
call fcn.00439059
add esp, 4
cmp dword [esp + 0x74], edi
mov ebx, dword [esp + 0x60]
jae 0x41eebe
lea ebx, [esp + 0x60]
mov ecx, 0xbc9
call fcn.00434620
cmp dword [esp + 0x54], 0
jne 0x41ef31
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x41eedd
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x98]
push 0x104
push ecx
call fcn.00439323
add esp, 0xc
lea edx, [esp + 0x94]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x94]
lea edx, [eax + 2]
jmp 0x41ef10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ef10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x98]
push eax
lea esi, [esp + 0x48]
call fcn.00404160
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x41ef42
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x41ef50
lea eax, [esp + 0x60]
push ecx
push eax
push str.Executing__s__s
push 0x4676a0
xor eax, eax
call fcn.0042cad0
add esp, 0x10
cmp byte [esp + 0x1c], 0
mov ecx, 0x457d28
jne 0x41ef77
mov ecx, 0x457d30
cmp byte [esp + 0x20], 0
mov eax, 0x457d28
jne 0x41ef88
mov eax, 0x457d30
push ecx
push eax
push str.Flags:_Wait_s_Hidden_s
push 0x4676a0
xor eax, eax
call fcn.0042cad0
add esp, 0x10
cmp byte [ebp + 0x3c], 0
jne 0x41f033
cmp dword [esp + 0x58], edi
mov ebx, dword [esp + 0x44]
jae 0x41efb6
lea ebx, [esp + 0x44]
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x41efc7
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x41efd5
lea eax, [esp + 0x60]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call fcn.004313d0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41f033
cmp byte [ebp + 0x3d], 0
jne 0x41f019
push 0x7f01
push 1
push 0x80
push 0x7da
xor edx, edx
mov ecx, 0xd
call fcn.00432a80
add esp, 0x10
push esi
push str.Execute_failed_0x_X
push 0x4676a0
mov eax, 2
call fcn.0042cad0
mov dword [ebp + 0x38], esi
jmp 0x41f06a
cmp dword [esp + 0x18], 0
je 0x41f06d
cmp byte [ebp + 0x3d], 0
jne 0x41f04a
push 0xd
call fcn.00432a50
add esp, 4
mov eax, dword [esp + 0x18]
push eax
push str.Process_returned_0x_X
push 0x4676a0
mov eax, 2
call fcn.0042cad0
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x38], ecx
add esp, 0xc
cmp dword [esp + 0x58], edi
jb 0x41f080
mov edx, dword [esp + 0x44]
push edx
call fcn.00439059
add esp, 4
xor eax, eax
cmp dword [esp + 0x90], edi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
jb 0x41f1f7
mov eax, dword [esp + 0x7c]
push eax
call fcn.00439059
add esp, 4
jmp 0x41f1f7
lea ecx, [esp + 0x40]
push ecx
push esi
mov ecx, str.process
call fcn.00412330
mov byte [esp + 0x2d4], 5
mov eax, dword [esp + 0x44]
mov esi, 8
cmp dword [esp + 0x58], esi
jae 0x41f0dd
lea eax, [esp + 0x44]
push eax
push str.Stopping_process__s
push 0x4676a0
xor eax, eax
call fcn.0042cad0
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp dword [esp + 0x58], esi
jae 0x41f100
lea eax, [esp + 0x44]
push eax
lea edi, [esp + 0x98]
call fcn.00431260
add esp, 4
test eax, eax
je 0x41f1ce
push str.Sending_quit_message
push 0x4676a0
xor eax, eax
call fcn.0042cad0
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [esp + 0x58], esi
jae 0x41f13a
lea eax, [esp + 0x44]
lea edx, [esp + 0x78]
push edx
push 0x431130
mov dword [esp + 0x80], 0x12
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], eax
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x41f183
lea eax, [esp + 0x44]
push eax
call fcn.004312e0
add esp, 4
test eax, eax
je 0x41f1e2
push str.Process_still_active__terminating
push 0x4676a0
mov eax, 1
call fcn.0042cad0
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [esp + 0x58], esi
jae 0x41f1b5
lea eax, [esp + 0x44]
push eax
call fcn.00431320
add esp, 4
test eax, eax
je 0x41f1e2
push str.Process_wont_terminate
mov eax, 2
jmp 0x41f1d5
push str.Process_is_not_running
xor eax, eax
push 0x4676a0
call fcn.0042cad0
add esp, 8
cmp dword [esp + 0x58], esi
jb 0x41f1f5
mov eax, dword [esp + 0x44]
push eax
call fcn.00439059
add esp, 4
mov edi, esi
sub dword [0x4676c0], 1
cmp dword [esp + 0x74], edi
jb 0x41f211
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00439059
add esp, 4
mov ecx, dword [esp + 0x2cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.0043782a
add esp, 0x2c4
ret 4