Function at 0x41d440
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4515f6
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x469738]
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 0x46a9d4
xor eax, eax
mov dword [ebp - 0x2bc], edi
call fcn.0042d150
inc dword [0x46a9f4]
add esp, 0x10
lea ecx, [ebp - 0x4c]
push ecx
mov edx, 0x459fbc
mov ecx, esi
call fcn.00410f80
mov dword [ebp - 4], edi
mov ecx, esi
cmp dword [ebp - 0x3c], edi
je 0x41d79f
lea edx, [ebp - 0x68]
push edx
mov edx, 0x459bf8
call fcn.00410f80
lea eax, [ebp - 0x30]
push eax
mov edx, 0x45a2e0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00410f80
lea ecx, [ebp - 0x84]
push ecx
mov edx, 0x45a2b0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00410f80
mov ecx, eax
mov byte [ebp - 4], 3
mov eax, dword [ecx + 0x10]
push 0x458de4
mov edi, 3
call fcn.00404ab0
test eax, eax
sete byte [ebp - 0x2c0]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x70], 8
jb 0x41d535
mov edx, dword [ebp - 0x84]
push edx
call fcn.004396db
add esp, 4
lea eax, [ebp - 0x84]
push eax
mov edx, 0x45a2bc
mov ecx, esi
call fcn.00410f80
mov ecx, eax
mov byte [ebp - 4], 4
mov eax, dword [ecx + 0x10]
push 0x458de4
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 0x41d588
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004396db
add esp, 4
mov edi, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x41d593
lea edi, [ebp - 0x4c]
mov ecx, 0xbc9
call fcn.00435930
cmp dword [ebp - 0x20], 0
jne 0x41d603
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x41d5ae
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x294]
push 0x104
push edx
call fcn.0043a043
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 0x41d5e0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x294]
lea esi, [ebp - 0x30]
call fcn.004065b0
mov esi, 8
mov ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x41d60e
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x41d619
lea eax, [ebp - 0x4c]
push ecx
push eax
push str.Executing__s__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0x10
mov ecx, 0x458de4
test bl, bl
jne 0x41d63d
mov ecx, 0x458dec
cmp byte [ebp - 0x2c0], 0
mov eax, 0x458de4
jne 0x41d650
mov eax, 0x458dec
push ecx
push eax
push str.Flags:_Wait_s_Hidden_s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov edi, dword [ebp - 0x2b8]
add esp, 0x10
cmp byte [edi + 0x40], 0
jne 0x41d70c
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d681
lea eax, [ebp - 0x30]
mov edi, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x41d68c
lea edi, [ebp - 0x68]
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x41d697
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.004318a0
mov edi, dword [ebp - 0x2b8]
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d707
cmp byte [edi + 0x41], 0
jne 0x41d6e8
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xd]
call fcn.00433c70
add esp, 0x10
push esi
push str.Execute_failed_0x_X
push 0x46a9d4
mov eax, 2
call fcn.0042d150
mov dword [edi + 0x3c], esi
mov esi, 8
jmp 0x41d75d
mov esi, 8
cmp dword [ebp - 0x2bc], 0
je 0x41d760
cmp byte [edi + 0x41], 0
jne 0x41d739
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xd]
call fcn.00433c70
add esp, 0x10
mov eax, dword [ebp - 0x2bc]
push eax
push str.Process_returned_0x_X
push 0x46a9d4
mov eax, 2
call fcn.0042d150
mov ecx, dword [ebp - 0x2bc]
mov dword [edi + 0x3c], ecx
add esp, 0xc
cmp dword [ebp - 0x1c], esi
jb 0x41d771
mov edx, dword [ebp - 0x30]
push edx
call fcn.004396db
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 0x41d938
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004396db
add esp, 4
jmp 0x41d938
lea edx, [ebp - 0x30]
push edx
mov edx, str.process
call fcn.00410f80
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
mov esi, 8
cmp dword [ebp - 0x1c], esi
jae 0x41d7c1
lea eax, [ebp - 0x30]
push eax
push str.Stopping_process__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, dword [ebp - 0x30]
add esp, 0xc
xor bl, bl
cmp dword [ebp - 0x1c], esi
jae 0x41d7e3
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2b4]
call fcn.00431750
add esp, 4
cmp eax, edi
jne 0x41d820
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d801
lea eax, [ebp - 0x30]
push eax
push str.Process__s_is_not_active
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
jmp 0x41d922
test bl, bl
jne 0x41d922
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d833
lea eax, [ebp - 0x30]
push eax
push str.Sending_quit_message_to_process__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, dword [ebp - 0x2b8]
add esp, 0xc
cmp byte [eax + 0x40], 0
jne 0x41d96d
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x41d863
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x5c]
push ecx
push 0x431640
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 0x41d898
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2b4]
call fcn.00431750
add esp, 4
test eax, eax
je 0x41d900
push str.Process_still_active__terminating
push 0x46a9d4
mov eax, 1
call fcn.0042d150
mov ecx, dword [ebp - 0x30]
add esp, 8
cmp dword [ebp - 0x1c], esi
jae 0x41d8cd
lea ecx, [ebp - 0x30]
call fcn.004317f0
mov esi, eax
cmp esi, edi
je 0x41d8fb
push esi
push str.Process_wont_terminate__returned_error0x_08X
push 0x46a9d4
mov eax, 2
call fcn.0042d150
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 0x41d90b
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2b4]
call fcn.00431750
add esp, 4
test eax, eax
jne 0x41d820
cmp dword [ebp - 0x1c], esi
jb 0x41d933
mov eax, dword [ebp - 0x30]
push eax
call fcn.004396db
add esp, 4
mov esi, 8
dec dword [0x46a9f4]
cmp dword [ebp - 0x38], esi
jb 0x41d94f
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004396db
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.00438351
mov esp, ebp
pop ebp
ret 4
mov bl, 1
jmp 0x41d900