Function at 0x43bfd8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
push edi
call fcn.0043d540
mov eax, dword [edi]
xor esi, esi
cmp dword [eax], esi
jbe 0x43c207
mov eax, dword [edi + 4]
cmp dword [eax], esi
jbe 0x43c207
push ebx
push edi
push 0x43bf2a
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x3c
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0045d10c
mov eax, dword [edi + 4]
or dword [ebp - 0x2c], 0xffffffff
or dword [ebp - 0x24], 0xffffffff
add esp, 0xc
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov ebx, esi
mov dword [ebp + 0x10], esi
cmp dword [eax], esi
jbe 0x43c1f7
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x43c1e8
push ebx
push dword [edi + 0xc]
call fcn.004331a7
mov ecx, dword [edi]
mov esi, eax
mov eax, dword [ebp - 4]
imul eax, eax, 0x514
add eax, dword [ecx + 0xc]
lea ebx, [eax + 0x508]
test byte [ebx], 0x10
mov dword [ebp + 8], eax
je 0x43c114
mov ecx, dword [eax + 0x50c]
test ecx, ecx
je 0x43c09b
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x510]
test eax, eax
je 0x43c0ac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x43c0c2
push 0
push esi
push 0x1008
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
push ebx
push dword [edi]
push dword [edi + 4]
call fcn.0043d7e2
cmp ebx, dword [edi + 0x10]
jne 0x43c1e8
push 0
push 0
push 0x1004
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x43c10b
cmp esi, eax
jl 0x43c0f9
lea esi, [eax - 1]
push 2
push 2
push esi
push dword [edi + 0xc]
call fcn.0042f55f
jmp 0x43c1e8
or dword [edi + 0x10], 0xffffffff
jmp 0x43c1e8
test byte [ebx], 2
je 0x43c12c
push esi
push esi
push 0x1015
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [ebx], 0xfffffffd
test byte [ebx], 1
je 0x43c1e2
xor esi, esi
cmp dword [edi + 8], esi
je 0x43c1a2
push dword [ebx]
call fcn.0043c510
cmp dword [edi + eax*4 + 0x14], 0xffffffff
jne 0x43c1a2
push 1
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push esi
push esi
add eax, 4
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
test eax, eax
jne 0x43c17c
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x30303030
mov dword [ebp + 0xc], eax
call fcn.0044a6b6
push dword [ebx]
call fcn.0043c510
push dword [ebp + 0xc]
mov esi, eax
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp + 0xc]
mov dword [edi + esi*4 + 0x14], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0x108
cmp byte [eax], 0
jne 0x43c1bc
push 0x400
push eax
push dword [ebx]
call fcn.0043d6a8
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
push esi
push 0x1007
push dword [edi + 0xc]
mov dword [ebp - 0x38], esi
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [ebx], 0xfffffffe
or dword [ebx], 0x10
mov ebx, dword [ebp + 0x10]
mov eax, dword [edi + 4]
inc ebx
mov dword [ebp + 0x10], ebx
cmp ebx, dword [eax]
jb 0x43c047
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi]
mov eax, dword [eax]
pop ebx
jmp 0x43c209
xor eax, eax
pop edi
pop esi
leave
ret 0xc