Function at 0x40d744
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 0x40d74f
push esi
push edi
push 0x3b60
push 0x4254b8
call sub.KERNEL32.dll_RtlZeroMemory
mov dword [0x45f4dc], 0
push str.EA9780_1
call fcn.00401ef9
add esp, 4
cmp eax, 0
je 0x40d7c0
mov dword [0x4254b8], 3
mov dword [0x4254bc], 0x2634
mov dword [0x4254c4], 0
push str.EA_9780_xUSB
push 0x4254cc
call fcn.0041aecd
add esp, 8
mov dword [0x45f4dc], 1
push 1
push str.SYSTEMCurrentControlSetServicesSerenumEnum
call fcn.0040d35a
add esp, 8
push 2
push str.SYSTEMCurrentControlSetServicesusbserEnum
call fcn.0040d35a
add esp, 8
push 4
push str.SYSTEMCurrentControlSetServicesBTHMODEMEnum
call fcn.0040d35a
add esp, 8
mov dword [ebp - 8], 0
mov edi, dword [ebp - 8]
shl edi, 7
cmp byte [edi + 0x424768], 0
je 0x40d8ac
mov eax, 0x98
mul dword [0x45f4dc]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x4254b8], 5
mov eax, 0x98
mul dword [0x45f4dc]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
mov dword [edi + 0x4254bc], 0x4200
mov eax, 0x98
mul dword [0x45f4dc]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x4254c8], edi
mov eax, 0x98
mul dword [0x45f4dc]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x4254c4], 0
mov edi, dword [ebp - 8]
shl edi, 7
lea edi, [edi + 0x424768]
push edi
mov eax, 0x98
mul dword [0x45f4dc]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x20]
lea edi, [edi + 0x4254cc]
push edi
call fcn.0041aecd
add esp, 8
inc dword [0x45f4dc]
inc dword [ebp - 8]
cmp dword [ebp - 8], 8
jl 0x40d7f4
mov dword [0x4245c4], 0
push 0
push 0x40cefc
call sub.USER32.DLL_EnumWindows
mov edi, dword [0x4245c4]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 0
jmp 0x40d9ef
mov dword [ebp - 4], 0
jmp 0x40d91b
mov edi, dword [ebp - 8]
shl edi, 7
lea edi, [edi + 0x433208]
push edi
mov edi, dword [ebp - 4]
shl edi, 7
lea edi, [edi + 0x429128]
push edi
call sub.CRTDLL.DLL_strcmp
add esp, 8
cmp eax, 0
jne 0x40d918
jmp 0x40d923
inc dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 4], edi
jl 0x40d8ed
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 4], edi
jl 0x40d9ec
mov edi, dword [ebp - 8]
shl edi, 7
lea edi, [edi + 0x433208]
push edi
mov edi, dword [0x4245c4]
shl edi, 7
lea edi, [edi + 0x429128]
push edi
call fcn.0041aecd
add esp, 8
mov edi, dword [ebp - 8]
shl edi, 7
lea edi, [edi + 0x433208]
push edi
push 0x436884
mov eax, 0x98
mov edi, dword [0x45f4dc]
add edi, 1
add edi, dword [0x4245c4]
mul edi
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x10]
lea edi, [edi + 0x4254cc]
push edi
call fcn.0041ae51
add esp, 0xc
mov eax, 0x98
mov edi, dword [0x45f4dc]
add edi, 1
add edi, dword [0x4245c4]
mul edi
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
mov dword [edi + 0x4254b8], 7
mov edi, dword [0x4245c4]
mov esi, edi
add esi, 1
mov dword [0x4245c4], esi
mov eax, 0x98
mov esi, dword [0x45f4dc]
add esi, 1
add esi, edi
mul esi
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x4254bc], edi
inc dword [ebp - 8]
mov edi, dword [0x431840]
cmp dword [ebp - 8], edi
jl 0x40d8e4
pop edi
pop esi
leave
ret