Function at 0x46bd90
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9c50
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
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 ebx, ecx
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x46bdc6
mov edi, dword [edi + 8]
jmp 0x46bdc8
xor edi, edi
mov dword [ebp - 0x10], edi
test edi, edi
je 0x46bddd
mov ecx, edi
call fcn.005bbec0
mov esi, eax
jmp 0x46be5f
mov dword [ebp - 4], 0
mov edi, dword [0x666e10]
test edi, edi
jne 0x46be0d
push 0xd8
call fcn.00494bd4
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, eax
call fcn.005b6b70
mov edi, eax
mov dword [0x666e10], edi
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x70]
test esi, esi
je 0x46be1d
mov esi, dword [esi + 8]
jmp 0x46be1f
xor esi, esi
test esi, esi
jne 0x46be5c
mov esi, dword [edi + 0x6c]
test esi, esi
jne 0x46be53
push 0xcc
call fcn.00494bd4
add esp, 4
mov ecx, eax
call fcn.005cb410
mov ecx, dword [edi + 0x6c]
mov esi, eax
mov dword [edi + 0x6c], esi
test ecx, ecx
je 0x46be53
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi + 0x6c]
push esi
lea ecx, [edi + 0x70]
call fcn.00482750
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x14]
lea eax, [esi + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebx + 0xc]
mov eax, dword [eax + 4]
push 2
mov dword [ebp - 0x34], eax
call fcn.004ef100
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea ecx, [eax - 8]
mov eax, dword [ecx]
mov esi, 1
test eax, 0x30000000
jne 0x46be9e
mov eax, esi
lock xadd dword [ecx], eax
push 1
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 2
call fcn.004ef100
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea ecx, [eax - 8]
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x46bec6
mov eax, esi
lock xadd dword [ecx], eax
push 0
lea ecx, [ebx + 0xc]
call fcn.004ef100
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea ecx, [eax - 8]
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x46bee7
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
lea ecx, [eax - 8]
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x46beff
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
lea ecx, [eax - 8]
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x46bf15
lock xadd dword [ecx], esi
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push edi
push dword [ebp - 0x28]
mov byte [ebp - 4], 6
push dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
mov eax, dword [ecx]
or esi, 0xffffffff
test eax, 0x30000000
jne 0x46bf62
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x46bf62
push ecx
call fcn.00494c04
add esp, 4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x46bf84
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x46bf84
push ecx
call fcn.00494c04
add esp, 4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff8
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x46bfa6
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x46bfa6
push ecx
call fcn.00494c04
add esp, 4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff8
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x46bfc8
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x46bfc8
push ecx
call fcn.00494c04
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff8
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x46bfec
lock xadd dword [ecx], esi
test esi, esi
jne 0x46bfec
push ecx
call fcn.00494c04
add esp, 4
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0
push eax
push 0x55a750
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
call fcn.005bf470
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x38]
push 1
push eax
push 1
mov dword [ebx + 0x1c], 0
call fcn.005bd520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret