Function at 0xa59428
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0xc96fc8], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0xa59483
mov ecx, dword [edi + 0x1ec]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x28]
cmp esi, fcn.00a598d0
jne 0xb22c5c
call fcn.00a598d0
test al, al
jne 0xa59483
mov ecx, dword [edi + 0x1ec]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x24]
cmp esi, fcn.00a598b0
jne 0xb22c6b
call fcn.00a598b0
test al, al
jne 0xb22c7a
or ebx, 0xffffffff
mov ecx, dword [edi + 0x1ec]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
cmp esi, fcn.00a598a0
jne 0xb22cf4
call fcn.00a598a0
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 - 8], eax
sub ecx, 2
cmp ebx, ecx
jne 0xa594cc
cmp dword [ebp + 8], 0
jne 0xa594cc
pop edi
pop esi
pop ebx
leave
ret 4
cmp ebx, 1
je 0xb22d03
xor esi, esi
mov dword [ebp - 4], esi
test ebx, ebx
je 0xb22d2a
mov ecx, dword [edi + 0x1ec]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
cmp esi, fcn.00a598a0
jne 0xb22db1
call fcn.00a598a0
mov edx, ebx
mov ecx, eax
call fcn.00ab2874
push ebx
push 0xa893b0
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_EnumWindows]
jmp 0xa594c5
mov ecx, esi
call dword [0xc99200]
call esi
jmp 0xa5945a
mov ecx, esi
call dword [0xc99200]
call esi
jmp 0xa5947b
mov ecx, edi
call fcn.00ba9585
test eax, eax
jne 0xb22ced
cmp byte [edi + 0x1c8], al
jne 0xb22ced
cmp byte [edi + 0x1c9], al
jne 0xb22ced
cmp byte [edi + 0x1ca], al
jne 0xb22ced
mov eax, dword [edi + 0x1ec]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0xc99200]
call esi
test al, al
jne 0xb22ced
mov eax, dword [edi + 0x1d0]
cmp eax, dword [edi + 0x140]
je 0xb22ced
mov eax, dword [edi + 0x1ec]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0xc99200]
call esi
movzx ebx, al
neg ebx
sbb ebx, ebx
and ebx, 3
sub ebx, 2
jmp 0xa59486
xor ebx, ebx
jmp 0xa59486
mov ecx, esi
call dword [0xc99200]
call esi
jmp 0xa594a3
mov ecx, dword [edi + 0x1ec]
push 2
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0xc99200]
call esi
mov ecx, eax
call fcn.00a3d7ff
mov eax, dword [ebp - 8]
jmp 0xa594d5
test eax, eax
jne 0xa594e2
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetForegroundWindow]
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowThreadProcessId]
test eax, eax
je 0xa594e2
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
je 0xa594e2
mov ecx, dword [edi + 0x1ec]
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 [0xc99200]
call esi
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SetWindowPos]
mov ecx, dword [edi + 0x1ec]
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 [0xc99200]
call esi
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SetWindowPos]
jmp 0xa59508
mov ecx, esi
call dword [0xc99200]
call esi
jmp 0xa594ff