Function at 0x40ec80
Capabilities:
Enumerate gui resources

Disassembly:
push edi
push esi
mov esi, str.5dff3500a6652a5b0fbb00537313e25313e2633313e25343fffffff78ef53c855e570c583c1070b8fc470c585dff2e9869218665350000020086757e983535395dff5e354a8586350004000086000001008604a6000000a48e1e57f45dff0e530f4486000031888641570c585dffb78160d2866535353535f5a0a6695dffb3e255be866535753535354886200086356c985dff6cf998758605006676875747d69486651507a51444b6651696e6a593762357759674f537c675d64517937735658736d496937615a4f597e65415b647a726d2679664755576a7774603a54623464344149307f4d63734032514171695451466a695076394979596e4d253a76747336385563617f227344466c476f656f20000002f8e000061e686353530a635355dff7a9765a386006333e2733353f29627166616350203e203e203e2731313f256d6f62786340292f6b63656740256b696c602c2c4d44584b482026333e2733353f24796b426567556c6070714029243638702b34363e6967502b303e203130245e4023777f646e69675820203e253f216c6c696a7f6d4000000078e3535353535bd135dff706277c4864596e6967786004756e686d5ffffff089e21b8a5f5850eff15a59516b5b5424244980d10b840b83d10c185b8b4c0b8663d104285b8850e5742d7b38fd7304f570e837c10d0fc1cca0c136d10b843b8ff1394c3479c588184b83d100285b8050d10c447750c588704b80d10c324b80125b825fe57947c10d0fc1c02c220c716c3ca0c13ff1362a47bf08227b84125b8c025b80325b8465e982d1306000000f88ecf
push ebx
sub esp, 0x4b0
mov eax, dword [str.5dff3500a6652a5b0fbb00537313e25313e2633313e25343fffffff78ef53c855e570c583c1070b8fc470c585dff2e9869218665350000020086757e983535395dff5e354a8586350004000086000001008604a6000000a48e1e57f45dff0e530f4486000031888641570c585dffb78160d2866535353535f5a0a6695dffb3e255be866535753535354886200086356c985dff6cf998758605006676875747d69486651507a51444b6651696e6a593762357759674f537c675d64517937735658736d496937615a4f597e65415b647a726d2679664755576a7774603a54623464344149307f4d63734032514171695451466a695076394979596e4d253a76747336385563617f227344466c476f656f20000002f8e000061e686353530a635355dff7a9765a386006333e2733353f29627166616350203e203e203e2731313f256d6f62786340292f6b63656740256b696c602c2c4d44584b482026333e2733353f24796b426567556c6070714029243638702b34363e6967502b303e203130245e4023777f646e69675820203e253f216c6c696a7f6d4000000078e3535353535bd135dff706277c4864596e6967786004756e686d5ffffff089e21b8a5f5850eff15a59516b5b5424244980d10b840b83d10c185b8b4c0b8663d104285b8850e5742d7b38fd7304f570e837c10d0fc1cca0c136d10b843b8ff1394c3479c588184b83d100285b8050d10c447750c588704b80d10c324b80125b825fe57947c10d0fc1c02c220c716c3ca0c13ff1362a47bf08227b84125b8c025b80325b8465e982d1306000000f88ecf]
lea ebx, [esp + 0x19]
lea edi, [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x19], eax
mov eax, dword [0x4104fb]
sub ecx, edi
sub esi, ecx
add ecx, 0x497
mov dword [esp + 0x4ac], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], 1
mov dword [esp], 0x24b
call sub.msvcrt.dll_calloc
test eax, eax
je 0x40edae
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.msvcrt.dll__strrev]
movzx eax, byte [esp + 0x19]
test al, al
je 0x40ed20
mov edi, esi
jmp 0x40ed11
mov dword [esp], ebx
add ebx, 2
mov dword [esp + 8], edi
add edi, 1
mov dword [esp + 4], str._02X
call fcn.0040ec50
movzx eax, byte [ebx]
test al, al
je 0x40ed20
cmp al, 0x20
jne 0x40ecf0
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
jne 0x40ed11
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x40000
call dword [sym.imp.KERNEL32.dll_HeapCreate]
sub esp, 0xc
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x40ed98
mov dword [esp + 8], 0x24b
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
sub esp, 8
add esp, 0x4b0
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.HeapAlloc_error
call fcn.0040ec20
add esp, 0x4b0
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.malloc_error
call fcn.0040ec20
jmp 0x40ed8a