Function at 0x2e042a25
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
push edi
call fcn.2e0428b3
mov eax, dword [edi]
xor esi, esi
cmp dword [eax], esi
jbe 0x2e042c5d
mov eax, dword [edi + 4]
cmp dword [eax], esi
jbe 0x2e042c5d
push edi
push 0x2e04173b
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x3c
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.2e06e640
mov eax, dword [edi + 4]
or dword [ebp - 0x28], 0xffffffff
or dword [ebp - 0x20], 0xffffffff
add esp, 0xc
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp + 0x10], esi
cmp dword [eax], esi
jbe 0x2e042c4e
push ebx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [eax + ecx*4]
mov dword [ebp + 8], esi
cmp esi, 0xffffffff
je 0x2e042c3c
push ecx
push dword [edi + 0xc]
call fcn.2e036c3d
imul esi, esi, 0x514
mov ebx, eax
mov eax, dword [edi]
add esi, dword [eax + 0xc]
mov eax, dword [esi + 0x508]
test al, 0x10
je 0x2e042b58
mov eax, dword [esi + 0x50c]
test eax, eax
je 0x2e042adf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x510]
test esi, esi
je 0x2e042af0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xffffffff
je 0x2e042b06
push 0
push ebx
push 0x1008
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push esi
push dword [edi]
push dword [edi + 4]
call fcn.2e03ea15
cmp esi, dword [edi + 0x10]
jne 0x2e042c3c
push 0
push 0
push 0x1004
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x2e042b4f
cmp ebx, eax
jl 0x2e042b3d
lea ebx, [eax - 1]
push 2
push 2
push ebx
push dword [edi + 0xc]
call fcn.2e036ce8
jmp 0x2e042c3c
or dword [edi + 0x10], 0xffffffff
jmp 0x2e042c3c
test al, 2
je 0x2e042b73
push ebx
push ebx
push 0x1015
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [esi + 0x508], 0xfffffffd
mov eax, dword [esi + 0x508]
test al, 1
je 0x2e042c35
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x2e042bef
push eax
call fcn.2e03edb4
cmp dword [edi + eax*4 + 0x14], 0xffffffff
jne 0x2e042bef
push 1
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
test eax, eax
jne 0x2e042bc5
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push 0x30303030
mov dword [ebp + 0xc], eax
call fcn.2e0448b0
push dword [esi + 0x508]
call fcn.2e03edb4
push dword [ebp + 0xc]
mov ebx, eax
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp + 0xc]
mov dword [edi + ebx*4 + 0x14], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
lea eax, [esi + 0x108]
cmp byte [eax], 0
jne 0x2e042c0b
push 0x400
push eax
push dword [esi + 0x508]
call fcn.2e041601
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push 0x1007
push dword [edi + 0xc]
mov dword [ebp - 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [esi + 0x508], 0xfffffffe
or dword [esi + 0x508], 0x10
inc dword [ebp + 0x10]
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax]
jb 0x2e042a92
pop ebx
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi]
mov eax, dword [eax]
jmp 0x2e042c5f
xor eax, eax
pop edi
pop esi
leave
ret 0xc