Function at 0x4c9a30
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc91e5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
add ecx, 8
push 0
call fcn.004c1ea0
test al, al
jne 0x4c9c58
mov esi, dword [0xe457ac]
test esi, esi
je 0x4c9c58
lea ecx, [ebp - 0x44]
call fcn.004c9e30
mov edi, eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 4]
push 0xdf3a3c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004b3fa0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
lea ecx, [eax - 8]
cmp ecx, 0xe3ce50
je 0x4c9abf
lock inc dword [ecx]
mov eax, dword [ebp - 0x34]
lea ecx, [eax - 8]
or ebx, 0xffffffff
cmp ecx, 0xe3ce50
je 0x4c9ae1
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
cmp eax, ebx
jne 0x4c9ae1
push ecx
call fcn.00d491c8
add esp, 4
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.004b4010
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
lea edi, [eax - 8]
cmp edi, 0xe3ce50
je 0x4c9b01
lock inc dword [edi]
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff8
cmp ecx, 0xe3ce50
je 0x4c9b24
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x4c9b24
push ecx
call fcn.00d491c8
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [0xe45848]
test eax, eax
je 0x4c9c17
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], esi
cmp edi, 0xe3ce50
je 0x4c9b46
lock inc dword [edi]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
push 0x4cbf80
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
js 0x4c9be5
mov esi, eax
nop word [eax + eax]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], 0xc403
call fcn.004b03d0
lea ecx, [ebp - 0x14]
lea eax, [eax*4 + 4]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004b59f0
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
push 0x1f40
push 3
lea eax, [ebp - 0x30]
push eax
push dword [0xe4579c]
mov eax, dword [ebp - 0x20]
push 0x4a
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
sub esi, 1
jns 0x4c9b90
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x20]
mov dword [ebp - 0x18], 0
call fcn.00d9e0ad
add esi, 0xfffffff8
add esp, 4
cmp esi, 0xe3ce50
je 0x4c9c17
mov eax, ebx
lock xadd dword [esi], eax
dec eax
cmp eax, 0xffffffff
jne 0x4c9c17
push esi
call fcn.00d491c8
add esp, 4
cmp edi, 0xe3ce50
je 0x4c9c34
mov eax, ebx
lock xadd dword [edi], eax
dec eax
cmp eax, 0xffffffff
jne 0x4c9c34
push edi
call fcn.00d491c8
add esp, 4
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff8
cmp eax, 0xe3ce50
je 0x4c9c54
lock xadd dword [eax], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x4c9c54
push eax
call fcn.00d491c8
add esp, 4
mov al, 1
jmp 0x4c9c5a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret