Function at 0x421180
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fe1ae
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x215ac
call fcn.004f0c30
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x215a8], eax
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x215c0]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
mov ebx, ecx
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.004ef798
push 0
call fcn.004ef79e
add esp, 4
call fcn.004ef7a4
test eax, eax
jne 0x42120d
push eax
push eax
push 0x50540c
call fcn.004ef492
jmp 0x421525
push 7
call fcn.004f07a2
mov edx, dword [ebx + 0xa4]
mov eax, dword [edx + 8]
lea esi, [ebx + 0xa4]
push 0x4d4d4d
push 0x31
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xebe9e8
push 0x33
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xebe9e8
push 0x34
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xebe9e8
push 0x35
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xebe9e8
push 0x36
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xefdbcf
push 0x37
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xb3b3b3
push 0x39
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xffe8d7
push 0x16
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xffe8d7
push 0x17
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xffe8d7
push 0x18
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xffe8d7
push 0x19
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xffe8d7
push 0x1a
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xf5f5f5
push 0x12
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xf5f5f5
push 0x1b
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xdcdcdc
push 0x1c
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0xdcdcdc
push 0x1d
mov ecx, esi
call eax
test esi, esi
je 0x421328
mov dword [0x53a750], esi
lea ecx, [esp + 0x18]
push ecx
call fcn.00409860
add esp, 4
mov dword [esp + 0x215c8], 0
push eax
lea edx, [esp + 0x18]
push edx
mov edi, str.ResourcesQuickSearchimagesmenu_check.png
call fcn.00407070
mov byte [esp + 0x215d0], 1
mov eax, dword [eax]
push eax
call fcn.00452e90
add esp, 0xc
mov byte [esp + 0x215c8], 0
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov dword [esp + 0x215c8], 0xffffffff
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov eax, dword [0x4ff37c]
cmp dword [eax], 3
jne 0x421450
mov ecx, dword [0x4ff378]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0xa
push 0
push eax
call dword [0x4ff3b0]
mov ecx, dword [0x4ff378]
mov edx, dword [ecx]
add esp, 0xc
mov edi, eax
mov eax, dword [edx + 4]
push str._Mini
push eax
call dword [0x4ff3b4]
add esp, 8
test eax, eax
jne 0x421450
test edi, edi
je 0x421450
lea esi, [ebx + 0xd8]
mov ecx, esi
call fcn.00466040
call fcn.00466010
test eax, eax
jne 0x421409
push eax
push edi
push 0x13a1
push ecx
mov eax, esi
call fcn.00466370
add esp, 4
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x421525
push 1
lea ecx, [esp + 0x28]
push ecx
call fcn.00437fd0
mov dword [esp + 0x215c8], 2
lea edx, [esp + 0x24]
mov eax, edx
mov ecx, edx
mov dword [esp + 0x10ad8], edi
mov dword [ebx + 0x20], edx
mov dword [0x53a434], eax
call fcn.00438120
mov dword [esp + 0x215c8], 0xffffffff
lea ecx, [esp + 0x24]
jmp 0x421520
mov esi, ebx
call fcn.00421550
test eax, eax
je 0x4214ab
mov eax, dword [ebx + 0xc8]
xor esi, esi
cmp eax, esi
je 0x421474
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xc8], esi
lea ecx, [esp + 0x14]
push ecx
push 0x41e8c0
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x14], esi
je 0x421525
push esi
call fcn.0042b800
mov edx, dword [esp + 0x18]
push eax
push 0x108d
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x421525
call fcn.004ef55e
mov eax, dword [eax + 8]
push 0
push 0x20
push 0x20
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebx + 0xcc], eax
call fcn.0042b750
test eax, eax
je 0x4214dd
xor eax, eax
call fcn.0041e950
push 0
lea eax, [esp + 0x10af0]
push eax
call fcn.00437fd0
mov dword [esp + 0x215c8], 3
lea ecx, [esp + 0x10aec]
mov edx, ecx
mov dword [ebx + 0x20], ecx
mov dword [0x53a434], edx
call fcn.00438120
mov dword [esp + 0x215c8], 0xffffffff
lea ecx, [esp + 0x10aec]
call fcn.00438080
xor eax, eax
mov ecx, dword [esp + 0x215c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x215a8]
xor ecx, esp
call fcn.004efe2a
mov esp, ebp
pop ebp
ret