Function at 0x4368f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov byte [esp + 0xb], bl
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x4369e0
push ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x40], 1
lea ecx, [esp + 0x14]
call fcn.00437b30
add esp, 4
cmp eax, 1
sete byte [esp + 0xf]
test eax, eax
jne 0x43696a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43695e
cmp eax, 8
mov eax, 0x20000000
jne 0x436b17
mov eax, 0xa0000000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
cmp eax, 4
ja case.0x436976.1
jmp dword [eax*4 + 0x436b20]
mov ebx, dword [ecx]
cmp byte [ebx + 0x17], 0
jne 0x43699b
mov ecx, dword [ebx + 0xc]
push 1
call fcn.00407167
mov ebx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x14]
jmp 0x4369e5
test byte [ebx + 0x15], 1
je 0x4369a8
mov ecx, ebx
call fcn.00407007
cmp byte [ebx + 0x17], 3
jne 0x4369bf
cmp byte [ebx + 0x15], 0
jl 0x4369bf
mov ecx, ebx
call fcn.00483e60
and byte [ebx + 0x15], 0x7f
mov ecx, dword [ebx + 8]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x4369e5
mov ecx, dword [ecx]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x4369e5
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, 0x4cee20
test eax, eax
mov dword [esp + 0x1c], 0x4cee20
mov edx, 0x4cee20
cmovne edx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
test edi, edi
mov edx, eax
cmovne edx, edi
test esi, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
cmovne eax, esi
movzx esi, word [ecx]
cmp esi, 0x41
je 0x436a20
cmp esi, 0x61
jne 0x436a92
cmp word [ecx + 2], 0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jne 0x436a9a
cmp word [esi], 0
jne 0x436a9a
cmp word [edi], 0
jne 0x436a9a
cmp word [eax], 0
jne 0x436a9a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
test ebx, ebx
je 0x436b12
mov ecx, dword [0x4e4798]
cmp byte [ecx + 0x93], 0
jne 0x436aa1
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436a8e
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0xe
push ebx
call dword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
test eax, eax
js 0x436aa1
cmp dword [esp + 0x14], 0
je 0x436aa1
xor ebx, ebx
jmp 0x436aa1
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp byte [esp + 0xf], 0
je 0x436ae3
test ebx, ebx
je 0x436b12
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x184c]
test ecx, ecx
je 0x436ad1
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 1
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0
call fcn.00475500
inc dword [esi + 0x182c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
mov eax, dword [0x4e4798]
push edi
push esi
push ecx
add eax, 0x58
mov byte [edx + 0x1829], 1
push eax
mov ecx, edx
call fcn.00486e00
test eax, eax
je 0x436b12
mov esi, dword [esp + 0x18]
push esi
push 0x486350
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret