Function at 0xb5eb6c
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0xd08954]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xd0aff8], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0xb5ebd2
mov ecx, dword [ebx + 0x1d0]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x28]
cmp esi, fcn.00b5c1c0
jne 0xbe3eea
call fcn.00b5c1c0
test al, al
jne 0xb5ebd2
mov ecx, dword [ebx + 0x1d0]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x24]
cmp esi, fcn.00b5c1a0
jne 0xbe3ef9
call fcn.00b5c1a0
test al, al
jne 0xbe3f08
or edi, 0xffffffff
mov ecx, dword [ebx + 0x1d0]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
cmp esi, fcn.00b5acf0
jne 0xbe3f72
call fcn.00b5acf0
push 0xffffffffffffffec
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowLongW]
and eax, 8
push 0
pop ecx
setne cl
mov dword [ebp - 0xc], eax
sub ecx, 2
cmp edi, ecx
jne 0xb5ec27
cmp dword [ebp + 8], 0
jne 0xb5ec27
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00bc0ea0
mov esp, ebp
pop ebp
ret 4
cmp edi, 1
je 0xbe3f81
xor esi, esi
mov dword [ebp - 8], esi
test edi, edi
je 0xbe3fa8
mov ecx, dword [ebx + 0x1d0]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
cmp esi, fcn.00b5acf0
jne 0xbe402f
call fcn.00b5acf0
mov edx, edi
mov ecx, eax
call fcn.00bbf290
push edi
push 0xba8200
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_EnumWindows]
jmp 0xb5ec14
mov ecx, esi
call dword [0xd0cffc]
call esi
jmp 0xb5eba9
mov ecx, esi
call dword [0xd0cffc]
call esi
jmp 0xb5ebca
mov ecx, ebx
call fcn.00c66391
test eax, eax
jne 0xbe3f6b
cmp byte [ebx + 0x1b0], al
jne 0xbe3f6b
mov eax, dword [ebx + 0x1d0]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0xd0cffc]
call esi
test al, al
jne 0xbe3f6b
mov eax, dword [ebx + 0x1b8]
cmp eax, dword [ebx + 0x130]
je 0xbe3f6b
mov eax, dword [ebx + 0x1d0]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0xd0cffc]
call esi
movzx edi, al
neg edi
sbb edi, edi
and edi, 3
sub edi, 2
jmp 0xb5ebd5
xor edi, edi
jmp 0xb5ebd5
mov ecx, esi
call dword [0xd0cffc]
call esi
jmp 0xb5ebf2
mov ecx, dword [ebx + 0x1d0]
push 2
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0xd0cffc]
call esi
mov ecx, eax
call fcn.00c729dd
mov eax, dword [ebp - 0xc]
jmp 0xb5ec30
test eax, eax
jne 0xb5ec3d
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetForegroundWindow]
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowThreadProcessId]
test eax, eax
je 0xb5ec3d
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
cmp dword [ebp - 8], eax
je 0xb5ec3d
mov ecx, dword [ebx + 0x1d0]
push 0x213
push esi
push esi
mov eax, dword [ecx]
push esi
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
push ecx
mov ecx, esi
call dword [0xd0cffc]
call esi
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SetWindowPos]
mov ecx, dword [ebx + 0x1d0]
xor eax, eax
push 0x213
push eax
push eax
push eax
push eax
mov eax, dword [ecx]
push 0xfffffffffffffffe
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0xd0cffc]
call esi
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SetWindowPos]
jmp 0xb5ec63
mov ecx, esi
call dword [0xd0cffc]
call esi
jmp 0xb5ec5a