Function at 0x47b520
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606340
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
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 0x47b556
mov edi, dword [edi + 8]
jmp 0x47b558
xor edi, edi
test edi, edi
je 0x47b565
mov ecx, edi
call fcn.005ec300
jmp 0x47b598
mov dword [ebp - 4], 0
mov eax, dword [0x800f98]
test eax, eax
jne 0x47b591
push 0xe8
call fcn.004a7e6f
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
call fcn.005e6ad0
mov dword [0x800f98], eax
mov ecx, eax
call fcn.005f33f0
mov ecx, dword [ebx + 0x14]
add eax, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx]
mov eax, dword [eax]
mov dword [ebp - 0x28], ecx
lea ecx, [ebx + 0xc]
push 2
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
call fcn.00514a00
mov esi, 1
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x47b5d6
mov eax, esi
lock xadd dword [ecx], eax
push 1
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 1
call fcn.00514a00
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x47b5fd
mov eax, esi
lock xadd dword [ecx], eax
push 0
lea ecx, [ebx + 0xc]
call fcn.00514a00
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x47b61d
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x47b634
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x47b648
lock xadd dword [eax], esi
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push edi
mov byte [ebp - 4], 5
push dword [ebp - 0x24]
push dword [ebp - 0x28]
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 - 0x30]
mov esi, eax
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x10]
or edi, 0xffffffff
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x47b696
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x47b696
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x47b6b7
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x47b6b7
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x47b6d8
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x47b6d8
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x47b6f9
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x47b6f9
push ecx
call fcn.004a8172
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x47b71b
lock xadd dword [eax], edi
test edi, edi
jne 0x47b71b
push eax
call fcn.004a8172
add esp, 4
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0
push eax
push 0x583670
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [ebp - 0x24]
mov ecx, esi
call fcn.005f16b0
mov eax, dword [ebx + 0x1c]
mov ecx, esi
push 1
push eax
push 1
mov dword [ebx + 0x1c], 0
call fcn.005f1410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret