Function at 0x41d490
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4515c6
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x468744]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2b8], eax
mov esi, ecx
mov eax, dword [esi + 4]
push eax
push str.Process
push str.__s____d_
xor edi, edi
push 0x4699d4
xor eax, eax
mov dword [ebp - 0x2bc], edi
call fcn.0042d020
inc dword [0x4699f4]
add esp, 0x10
lea ecx, [ebp - 0x4c]
push ecx
mov edx, 0x45909c
mov ecx, esi
call fcn.00410fc0
mov dword [ebp - 4], edi
mov ecx, esi
cmp dword [ebp - 0x3c], edi
je 0x41d7ef
lea edx, [ebp - 0x68]
push edx
mov edx, 0x458cd8
call fcn.00410fc0
lea eax, [ebp - 0x30]
push eax
mov edx, 0x4593c0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00410fc0
lea ecx, [ebp - 0x84]
push ecx
mov edx, 0x459390
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00410fc0
mov ecx, eax
mov byte [ebp - 4], 3
mov eax, dword [ecx + 0x10]
push 0x457eac
mov edi, 3
call fcn.00404ab0
test eax, eax
sete byte [ebp - 0x2c0]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x70], 8
jb 0x41d585
mov edx, dword [ebp - 0x84]
push edx
call fcn.00439b10
add esp, 4
lea eax, [ebp - 0x84]
push eax
mov edx, 0x45939c
mov ecx, esi
call fcn.00410fc0
mov ecx, eax
mov byte [ebp - 4], 4
mov eax, dword [ecx + 0x10]
push 0x457eac
mov edi, 3
call fcn.00404ab0
test eax, eax
sete bl
mov esi, 8
mov byte [ebp - 4], 2
mov byte [ebp - 0x2c4], bl
cmp dword [ebp - 0x70], esi
jb 0x41d5d8
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00439b10
add esp, 4
mov edi, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x41d5e3
lea edi, [ebp - 0x4c]
mov ecx, 0xbc9
call fcn.00435690
cmp dword [ebp - 0x20], 0
jne 0x41d653
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x41d5fe
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x294]
push 0x104
push edx
call fcn.0043a483
add esp, 0xc
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x294]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d630
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x294]
lea esi, [ebp - 0x30]
call fcn.00406580
mov esi, 8
mov ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x41d65e
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x41d669
lea eax, [ebp - 0x4c]
push ecx
push eax
push str.Executing__s__s
push 0x4699d4
xor eax, eax
call fcn.0042d020
add esp, 0x10
mov ecx, 0x457eac
test bl, bl
jne 0x41d68d
mov ecx, 0x457eb4
cmp byte [ebp - 0x2c0], 0
mov eax, 0x457eac
jne 0x41d6a0
mov eax, 0x457eb4
push ecx
push eax
push str.Flags:_Wait_s_Hidden_s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov edi, dword [ebp - 0x2b8]
add esp, 0x10
cmp byte [edi + 0x40], 0
jne 0x41d75c
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d6d1
lea eax, [ebp - 0x30]
mov edi, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x41d6dc
lea edi, [ebp - 0x68]
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x41d6e7
lea ecx, [ebp - 0x4c]
push 0
lea edx, [ebp - 0x2bc]
push edx
mov edx, dword [ebp - 0x2c0]
push edx
mov edx, dword [ebp - 0x2c4]
push edx
mov ebx, eax
call fcn.004316e0
mov edi, dword [ebp - 0x2b8]
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d757
cmp byte [edi + 0x41], 0
jne 0x41d738
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xd]
call fcn.00433a00
add esp, 0x10
push esi
push str.Execute_failed_0x_X
push 0x4699d4
mov eax, 2
call fcn.0042d020
mov dword [edi + 0x3c], esi
mov esi, 8
jmp 0x41d7ad
mov esi, 8
cmp dword [ebp - 0x2bc], 0
je 0x41d7b0
cmp byte [edi + 0x41], 0
jne 0x41d789
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xd]
call fcn.00433a00
add esp, 0x10
mov eax, dword [ebp - 0x2bc]
push eax
push str.Process_returned_0x_X
push 0x4699d4
mov eax, 2
call fcn.0042d020
mov ecx, dword [ebp - 0x2bc]
mov dword [edi + 0x3c], ecx
add esp, 0xc
cmp dword [ebp - 0x1c], esi
jb 0x41d7c1
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp dword [ebp - 0x54], esi
jb 0x41d988
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00439b10
add esp, 4
jmp 0x41d988
lea edx, [ebp - 0x30]
push edx
mov edx, str.process
call fcn.00410fc0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
mov esi, 8
cmp dword [ebp - 0x1c], esi
jae 0x41d811
lea eax, [ebp - 0x30]
push eax
push str.Stopping_process__s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov eax, dword [ebp - 0x30]
add esp, 0xc
xor bl, bl
cmp dword [ebp - 0x1c], esi
jae 0x41d833
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2b4]
call fcn.00431590
add esp, 4
cmp eax, edi
jne 0x41d870
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d851
lea eax, [ebp - 0x30]
push eax
push str.Process__s_is_not_active
push 0x4699d4
xor eax, eax
call fcn.0042d020
add esp, 0xc
jmp 0x41d972
test bl, bl
jne 0x41d972
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d883
lea eax, [ebp - 0x30]
push eax
push str.Sending_quit_message_to_process__s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov eax, dword [ebp - 0x2b8]
add esp, 0xc
cmp byte [eax + 0x40], 0
jne 0x41d9bd
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d8b3
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x5c]
push ecx
push 0x431480
mov dword [ebp - 0x5c], 0x12
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x50], eax
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d8e8
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2b4]
call fcn.00431590
add esp, 4
test eax, eax
je 0x41d950
push str.Process_still_active__terminating
push 0x4699d4
mov eax, 1
call fcn.0042d020
mov ecx, dword [ebp - 0x30]
add esp, 8
cmp dword [ebp - 0x1c], esi
jae 0x41d91d
lea ecx, [ebp - 0x30]
call fcn.00431630
mov esi, eax
cmp esi, edi
je 0x41d94b
push esi
push str.Process_wont_terminate__returned_error0x_08X
push 0x4699d4
mov eax, 2
call fcn.0042d020
mov edx, dword [ebp - 0x2b8]
add esp, 0xc
mov dword [edx + 0x3c], esi
mov bl, 1
mov esi, 8
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d95b
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2b4]
call fcn.00431590
add esp, 4
test eax, eax
jne 0x41d870
cmp dword [ebp - 0x1c], esi
jb 0x41d983
mov eax, dword [ebp - 0x30]
push eax
call fcn.00439b10
add esp, 4
mov esi, 8
dec dword [0x4699f4]
cmp dword [ebp - 0x38], esi
jb 0x41d99f
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00439b10
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438786
mov esp, ebp
pop ebp
ret 4
mov bl, 1
jmp 0x41d950