Function at 0x46ae3f
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
call fcn.00411940
lea esi, [ebx + 0xf4]
call fcn.00411940
mov edx, dword [ebp + 0xc]
mov al, byte [ebp + 0x24]
mov cl, byte [ebp + 0x20]
lea edi, [ebx + 0x14]
push edx
mov esi, edi
mov byte [ebx + 4], al
mov byte [ebx + 5], cl
call fcn.0040ece0
mov eax, dword [ebp + 0x10]
lea esi, [ebx + 0x24]
push eax
call fcn.0040ece0
lea eax, [ebx + 0xc4]
push 0x4858e8
call fcn.00406af0
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebx + 0x10], ecx
lea ecx, [esp + 0x20]
mov dword [ebx + 0xd4], 1
mov byte [ebx + 0xc], 1
mov dword [ebx + 8], eax
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xec], eax
call fcn.00405410
lea ecx, [esp + 0x30]
call fcn.00405410
lea ecx, [esp + 0x40]
call fcn.00405410
mov eax, dword [ebx + 0x10]
test eax, eax
jge 0x46aeee
push eax
call fcn.00414af2
add esp, 4
mov dword [ebx + 0x10], eax
mov byte [ebx + 0xc], 0
cmp dword [ebx + 0x10], 4
jne 0x46af01
push edi
call fcn.0046674f
mov dword [ebx + 0x10], 1
push edi
call fcn.0043a552
test al, al
je 0x46af61
push esi
call fcn.0043a552
test al, al
je 0x46af61
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push ebx
call fcn.0044f44f
mov edx, dword [ebx]
mov eax, dword [edx]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], eax
push edx
call fcn.0043625a
lea ecx, [esp + 0x40]
call fcn.004059c0
lea ecx, [esp + 0x30]
call fcn.004059c0
lea ecx, [esp + 0x20]
call fcn.004059c0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
xor edi, edi
lea esi, [ebx + 0x14]
call fcn.00406f50
cmp word [eax], 0x5b
jne 0x46b3af
mov eax, dword [ebx + 0x18]
lea edi, [eax - 1]
lea esi, [ebx + 0x14]
call fcn.00406f50
cmp word [eax], 0x5d
jne 0x46b3af
mov edi, dword [ebx + 0x18]
mov dword [esp + 0xc], 1
sub edi, 2
lea esp, [esp]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [ebx + 0x14]
push eax
call fcn.00466611
test al, al
je 0x46b3af
lea eax, [esp + 0x20]
push str.LAST
push eax
call fcn.00448c21
add esp, 8
test al, al
jne 0x46b295
lea ecx, [esp + 0x20]
push str.ACTIVE
push ecx
call fcn.00448c21
add esp, 8
test al, al
jne 0x46b2de
lea edx, [esp + 0x20]
push 0x485bb4
push edx
call fcn.00448c21
add esp, 8
test al, al
jne 0x46b31b
lea eax, [esp + 0x20]
push str.REGEXPTITLE
push eax
call fcn.00448c21
add esp, 8
test al, al
je 0x46b07f
mov eax, dword [ebx + 8]
test al, 1
jne 0x46b35d
or eax, 2
lea esi, [ebx + 0x34]
mov dword [ebx + 8], eax
call fcn.0040e6c0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
call fcn.00466421
cmp dword [eax], 0
je 0x46af9f
lea ecx, [esp + 0x40]
call fcn.004059c0
lea ecx, [esp + 0x30]
call fcn.004059c0
lea ecx, [esp + 0x20]
call fcn.004059c0
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea eax, [esp + 0x20]
push str.CLASS
push eax
call fcn.00448c21
add esp, 8
test al, al
je 0x46b0ae
or dword [ebx + 8], 8
lea ecx, [esp + 0x30]
push ecx
lea esi, [ebx + 0xc4]
call fcn.0040ece0
jmp 0x46af9f
lea edx, [esp + 0x20]
push str.REGEXPCLASS
push edx
call fcn.00448c21
add esp, 8
test al, al
je 0x46b0df
or dword [ebx + 8], 0x10
lea esi, [ebx + 0x7c]
call fcn.0040e6c0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
push ecx
jmp 0x46b047
lea edx, [esp + 0x20]
push str.XYWH
push edx
call fcn.00448c21
add esp, 8
test al, al
je 0x46b114
mov eax, dword [esp + 0x30]
or dword [ebx + 8], 0x80
push eax
call fcn.004147c1
add esp, 4
mov dword [ebx + 0xdc], eax
jmp 0x46af9f
lea ecx, [esp + 0x20]
push 0x485aa8
push ecx
call fcn.00448c21
add esp, 8
test al, al
je 0x46b149
mov edx, dword [esp + 0x30]
or dword [ebx + 8], 0x100
push edx
call fcn.004147c1
add esp, 4
mov dword [ebx + 0xe0], eax
jmp 0x46af9f
lea eax, [esp + 0x20]
push 0x485aac
push eax
call fcn.00448c21
add esp, 8
test al, al
je 0x46b17e
mov ecx, dword [esp + 0x30]
or dword [ebx + 8], 0x200
push ecx
call fcn.004147c1
add esp, 4
mov dword [ebx + 0xe4], eax
jmp 0x46af9f
lea edx, [esp + 0x20]
push 0x485ab0
push edx
call fcn.00448c21
add esp, 8
test al, al
je 0x46b1b3
mov eax, dword [esp + 0x30]
or dword [ebx + 8], 0x400
push eax
call fcn.004147c1
add esp, 4
mov dword [ebx + 0xe8], eax
jmp 0x46af9f
lea ecx, [esp + 0x20]
push 0x485ab4
push ecx
call fcn.00448c21
add esp, 8
test al, al
je 0x46b1e5
mov edx, dword [esp + 0x30]
or dword [ebx + 8], 0x20
push edx
call fcn.004147c1
add esp, 4
mov dword [ebx + 0xd4], eax
jmp 0x46af9f
lea eax, [esp + 0x20]
push 0x485b9c
push eax
call fcn.00448c21
add esp, 8
test al, al
je 0x46b21a
lea ecx, [esp + 0x30]
push 0x4858e8
push ecx
call fcn.00448c21
add esp, 8
test al, al
je 0x46b26e
or dword [ebx + 8], 0x40
jmp 0x46af9f
lea edx, [esp + 0x20]
push str.TITLE
push edx
call fcn.00448c21
add esp, 8
test al, al
je 0x46b254
mov eax, dword [ebx + 8]
test al, 2
jne 0x46b386
or eax, 1
mov dword [ebx + 8], eax
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x44]
call fcn.0040ece0
jmp 0x46af9f
lea ecx, [esp + 0x20]
push 0x4858e8
push ecx
call fcn.0044f502
add esp, 8
test al, al
je 0x46af9f
lea ecx, [esp + 0x40]
call fcn.004059c0
lea ecx, [esp + 0x30]
call fcn.004059c0
lea ecx, [esp + 0x20]
call fcn.004059c0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea edx, [esp + 0x30]
push 0x4858e8
push edx
call fcn.00448c21
add esp, 8
test al, al
je 0x46b26e
mov ebx, dword [ebx]
test ebx, ebx
je 0x46b2b8
mov eax, dword [ebx]
jmp 0x46af26
lea ecx, [esp + 0x40]
call fcn.004059c0
lea ecx, [esp + 0x30]
call fcn.004059c0
lea ecx, [esp + 0x20]
call fcn.004059c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea eax, [esp + 0x30]
push 0x4858e8
push eax
call fcn.00448c21
add esp, 8
test al, al
je 0x46b26e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push ebx
call fcn.0044f44f
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], edx
push ecx
jmp 0x46af33
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.00437d47
mov esi, dword [esp + 0x14]
add esp, 8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46b2b8
push esi
push ebx
call fcn.0044f44f
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], edx
push ecx
jmp 0x46af33
lea ecx, [esp + 0x40]
call fcn.004059c0
lea ecx, [esp + 0x30]
call fcn.004059c0
lea ecx, [esp + 0x20]
call fcn.004059c0
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x40]
call fcn.004059c0
lea ecx, [esp + 0x30]
call fcn.004059c0
lea ecx, [esp + 0x20]
call fcn.004059c0
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea edx, [esp + 0x40]
push edx
call fcn.0043a552
test al, al
jne 0x46b3ca
lea eax, [esp + 0x40]
push eax
lea esi, [ebx + 0x14]
call fcn.0040ece0
cmp dword [ebx + 8], 0
jne 0x46b3d7
mov dword [ebx + 8], 1
or dword [ebx + 8], 4
cmp byte [ebx + 0xc], 0
jne 0x46b3ea
lea eax, [ebx + 0x24]
push eax
call fcn.00453167
test byte [ebx + 8], 1
je 0x46b3ff
cmp byte [ebx + 0xc], 0
jne 0x46b3ff
lea eax, [ebx + 0x14]
push eax
call fcn.00453167
cmp byte [ebp + 0x1c], 0
push ebx
push 0x45f2b2
je 0x46b41a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x46b420
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp + 0x14]
lea esi, [ebx + 0xf4]
push esi
push edi
call fcn.00448929
call fcn.00411940
cmp dword [ebx + 0xec], 1
jl 0x46b44c
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
push ebx
call fcn.0044f44f
mov ebx, dword [ebx + 0xec]
lea ecx, [esp + 0x40]
call fcn.004059c0
lea ecx, [esp + 0x30]
call fcn.004059c0
lea ecx, [esp + 0x20]
call fcn.004059c0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x20