Function at 0x40d8e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f30c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x150], edi
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x40de1b
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x40de1b
mov dword [ebp - 0x3c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0x437090
push eax
call dword [ecx]
cmp eax, ebx
jl 0x40de03
cmp dword [ebp - 0x3c], ebx
je 0x40de03
mov dword [ebp - 0x30], ebx
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.0040e8b0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
push ecx
push 0x40d7c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push 0x437030
push 0x437020
push eax
call dword [edx + 0xc]
mov esi, eax
mov dword [ebp - 0x38], esi
cmp esi, ebx
jl 0x40d9ea
cmp dword [ebp - 0x34], ebx
je 0x40d9ea
mov edx, dword [ebp + 8]
push edx
call fcn.0040de70
add esp, 4
mov esi, eax
cmp esi, ebx
je 0x40d9de
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push 2
push esi
push eax
call dword [ecx + 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], ebx
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x40d9de
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x40d9de
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp esi, ebx
jl 0x40ddc5
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov ebx, 6
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, 0x50
jg 0x40ddc5
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x40ddc5
mov byte [ebp - 4], 2
lea esi, [edi + 4]
mov dword [ebp - 0xbc], esi
cmp dword [esi], 0
jne 0x40da3d
push 0x80004003
call fcn.004217f2
mov esi, dword [esi]
mov dword [ebp - 0xc0], esi
mov eax, dword [esi]
lea ecx, [ebp - 0xc8]
push ecx
push esi
call dword [eax + 0x1c]
mov dword [ebp - 0xc4], eax
test eax, eax
jge 0x40da68
push 0x442770
push esi
push eax
call fcn.00421800
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x58], edx
jmp 0x40dab5
mov dword [ebp - 4], 1
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x58]
lea eax, [edx - 1]
mov dword [ebp - 0x54], eax
test eax, eax
jl 0x40dda0
mov word [ebp - 0x78], 3
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], bl
mov byte [ebp - 4], 7
lea esi, [edi + 4]
mov dword [ebp - 0xdc], esi
cmp dword [esi], 0
jne 0x40db00
push 0x80004003
call fcn.004217f2
mov ecx, dword [esi]
mov dword [ebp - 0xe0], ecx
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0xac]
push edx
call fcn.0040c650
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040e840
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xac]
xor esi, esi
cmp eax, esi
je 0x40db43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x50], esi
je 0x40db70
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x7c]
call fcn.0040ec10
cmp eax, esi
jge 0x40db6d
cmp eax, 0x80004002
je 0x40db6d
push eax
call fcn.004217f2
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 0xb
cmp eax, esi
je 0x40dd0e
mov dword [ebp - 0x90], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x90]
push edx
push eax
call dword [ecx + 0x94]
mov dword [ebp - 0x94], esi
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 0x94]
cmp edx, dword [ebp - 0x30]
jne 0x40dd0b
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x28]
cmp eax, esi
je 0x40dbdd
cmp dword [eax + 8], ecx
je 0x40dbd5
mov eax, dword [eax]
cmp eax, esi
jne 0x40dbc8
jmp 0x40dbdd
cmp eax, esi
jne 0x40dd0b
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x98], esi
mov eax, dword [ebp - 0x7c]
cmp eax, esi
jne 0x40dbfb
push 0x80004003
call fcn.004217f2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
lea edx, [ebp - 0x98]
push edx
push 0x437070
push eax
call dword [ecx]
mov eax, dword [ebp - 0x98]
cmp eax, esi
je 0x40dca0
push eax
call fcn.0040e6c0
add esp, 4
lea esi, [edi + 0x30]
push 0
push esi
call fcn.0040de40
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x130], eax
push eax
push esi
call fcn.0040de40
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40dc52
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
jmp 0x40dca0
mov eax, dword [ebp - 0x98]
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x40dca0
mov dword [ebp - 4], 0xb
push 3
mov edx, dword [ebp - 0x90]
push edx
mov ecx, edi
call fcn.00403180
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x7c]
call fcn.0040b510
mov byte [ebp - 4], 5
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x40dcda
push eax
call fcn.004217f2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0040b510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040e910
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], bl
cmp eax, esi
je 0x40dd1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, esi
jge 0x40dd94
push eax
call fcn.004217f2
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
jmp 0x40dad0
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
jmp 0x40dad0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x40da06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40da06
or esi, 0xffffffff
mov dword [ebp - 4], esi
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x2c], 0x4351c4
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.0040ebe0
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc