Function at 0x55a500
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2545
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x65a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], esi
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
call fcn.004dbaa0
cmp eax, 0x203
jl 0x55a5af
cmp byte [0x6670ac], 0
jne 0x55a582
push str.Comctl32.dll
mov byte [0x6670ac], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x55a582
push str.TaskDialogIndirect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x667010], eax
jmp 0x55a587
mov eax, dword [0x667010]
test eax, eax
je 0x55a5af
push 0x28
call fcn.00494bd4
add esp, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
push ecx
push esi
mov ecx, eax
call fcn.0047b310
mov dword [ebx], eax
jmp 0x55a70e
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0xc]
cmp eax, 3
jne 0x55a5be
mov esi, eax
jmp 0x55a620
cmp eax, 2
jne 0x55a61e
push 0
call fcn.004ef100
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea edi, [eax - 8]
mov eax, dword [edi]
test eax, 0x30000000
jne 0x55a5e4
mov eax, 1
lock xadd dword [edi], eax
push 0x61f11c
push dword [ebp - 0x18]
call fcn.00411e10
mov ecx, dword [edi]
mov esi, eax
add esp, 8
neg esi
sbb esi, esi
and esi, 3
inc esi
test ecx, 0x30000000
jne 0x55a620
or eax, 0xffffffff
lock xadd dword [edi], eax
test eax, eax
jne 0x55a620
push edi
call fcn.00494c04
add esp, 4
jmp 0x55a620
xor esi, esi
push 0x1c
call fcn.00494bd4
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov eax, dword [eax + 0x18]
test eax, eax
je 0x55a645
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
jmp 0x55a64c
mov dword [ebp - 0x18], 0
mov ecx, edi
call fcn.0050a590
mov byte [ebp - 4], 3
lea ecx, [edi + 8]
mov edx, dword [ebp - 0x18]
mov dword [edi], vtable.juce::WindowsMessageBoxBase.0
call fcn.00483d90
mov eax, dword [ebp + 8]
mov dword [ebp + 8], 0
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [edi], vtable.juce::PreVistaMessageBox.0
mov byte [ebp - 0xd], 0
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xd]
push eax
push 0x55a750
call dword [sym.imp.USER32.dll_EnumWindows]
xor ecx, ecx
mov eax, 0x40000
cmp byte [ebp - 0xd], cl
cmovne ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, 1
je 0x55a6ca
sub eax, 1
je 0x55a6c3
sub eax, 1
je 0x55a6bc
mov eax, 0x12000
jmp 0x55a6cf
mov eax, 0x12040
jmp 0x55a6cf
mov eax, 0x12030
jmp 0x55a6cf
mov eax, 0x12020
mov edx, dword [ebp - 0x14]
or ecx, eax
or ecx, esi
mov dword [edi + 0x10], ecx
mov eax, dword [edx + 4]
mov dword [edi + 0x14], eax
lea esi, [eax - 8]
mov eax, dword [esi]
mov ecx, 1
test eax, 0x30000000
jne 0x55a6f6
mov eax, ecx
lock xadd dword [esi], eax
mov eax, dword [edx + 8]
mov dword [edi + 0x18], eax
lea edx, [eax - 8]
mov eax, dword [edx]
test eax, 0x30000000
jne 0x55a70c
lock xadd dword [edx], ecx
mov dword [ebx], edi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x55a71b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret