Function at 0x40d8a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, 8
dec ecx
mov dword [esp + ecx*4], 0xfffa5a5a
jne 0x40d8af
push esi
push edi
push 0x3b60
push 0x4264b8
call sub.KERNEL32.dll_RtlZeroMemory
mov dword [0x4684f4], 0
push str.EA9780_1
call fcn.00401ef9
add esp, 4
cmp eax, 0
je 0x40d920
mov dword [0x4264b8], 3
mov dword [0x4264bc], 0x2634
mov dword [0x4264c4], 0
push str.EA_9780_xUSB
push 0x4264cc
call fcn.0041b031
add esp, 8
mov dword [0x4684f4], 1
push 1
push str.SYSTEMCurrentControlSetServicesSerenumEnum
call fcn.0040d4ba
add esp, 8
push 2
push str.SYSTEMCurrentControlSetServicesusbserEnum
call fcn.0040d4ba
add esp, 8
push 4
push str.SYSTEMCurrentControlSetServicesBTHMODEMEnum
call fcn.0040d4ba
add esp, 8
mov dword [ebp - 8], 0
mov edi, dword [ebp - 8]
shl edi, 7
cmp byte [edi + 0x425768], 0
je 0x40da0c
mov eax, 0x98
mul dword [0x4684f4]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x4264b8], 5
mov eax, 0x98
mul dword [0x4684f4]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
mov dword [edi + 0x4264bc], 0x4200
mov eax, 0x98
mul dword [0x4684f4]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x4264c8], edi
mov eax, 0x98
mul dword [0x4684f4]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x4264c4], 0
mov edi, dword [ebp - 8]
shl edi, 7
lea edi, [edi + 0x425768]
push edi
mov eax, 0x98
mul dword [0x4684f4]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x20]
lea edi, [edi + 0x4264cc]
push edi
call fcn.0041b031
add esp, 8
inc dword [0x4684f4]
inc dword [ebp - 8]
cmp dword [ebp - 8], 8
jl 0x40d954
mov dword [0x4255c4], 0
push 0
push 0x40d05c
call sub.USER32.DLL_EnumWindows
mov edi, dword [0x4255c4]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 0
jmp 0x40db4f
mov dword [ebp - 4], 0
jmp 0x40da7b
mov edi, dword [ebp - 8]
shl edi, 7
lea edi, [edi + 0x43c508]
push edi
mov edi, dword [ebp - 4]
shl edi, 7
lea edi, [edi + 0x42a128]
push edi
call sub.CRTDLL.DLL_strcmp
add esp, 8
cmp eax, 0
jne 0x40da78
jmp 0x40da83
inc dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 4], edi
jl 0x40da4d
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 4], edi
jl 0x40db4c
mov edi, dword [ebp - 8]
shl edi, 7
lea edi, [edi + 0x43c508]
push edi
mov edi, dword [0x4255c4]
shl edi, 7
lea edi, [edi + 0x42a128]
push edi
call fcn.0041b031
add esp, 8
mov edi, dword [ebp - 8]
shl edi, 7
lea edi, [edi + 0x43c508]
push edi
push 0x43f89c
mov eax, 0x98
mov edi, dword [0x4684f4]
add edi, 1
add edi, dword [0x4255c4]
mul edi
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x10]
lea edi, [edi + 0x4264cc]
push edi
call fcn.0041afb5
add esp, 0xc
mov eax, 0x98
mov edi, dword [0x4684f4]
add edi, 1
add edi, dword [0x4255c4]
mul edi
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
mov dword [edi + 0x4264b8], 7
mov edi, dword [0x4255c4]
mov esi, edi
add esi, 1
mov dword [0x4255c4], esi
mov eax, 0x98
mov esi, dword [0x4684f4]
add esi, 1
add esi, edi
mul esi
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x4264bc], edi
inc dword [ebp - 8]
mov edi, dword [0x43ab40]
cmp dword [ebp - 8], edi
jl 0x40da44
pop edi
pop esi
leave
ret