Function at 0x46a772
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.00411ad0
lea esi, [ebx + 0xf4]
call fcn.00411ad0
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.0040f420
mov eax, dword [ebp + 0x10]
lea esi, [ebx + 0x24]
push eax
call fcn.0040f420
lea eax, [ebx + 0xc4]
push 0x4858e8
call fcn.00401c70
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.00407150
lea ecx, [esp + 0x30]
call fcn.00407150
lea ecx, [esp + 0x40]
call fcn.00407150
mov eax, dword [ebx + 0x10]
test eax, eax
jge 0x46a821
push eax
call fcn.00416cfc
add esp, 4
mov dword [ebx + 0x10], eax
mov byte [ebx + 0xc], 0
cmp dword [ebx + 0x10], 4
jne 0x46a834
push edi
call fcn.00465f66
mov dword [ebx + 0x10], 1
push edi
call fcn.0043a8df
test al, al
je 0x46a894
push esi
call fcn.0043a8df
test al, al
je 0x46a894
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push ebx
call fcn.0044e97a
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.0043a6a3
lea ecx, [esp + 0x40]
call fcn.004020b0
lea ecx, [esp + 0x30]
call fcn.004020b0
lea ecx, [esp + 0x20]
call fcn.004020b0
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.00401630
cmp word [eax], 0x5b
jne 0x46ace2
mov eax, dword [ebx + 0x18]
lea edi, [eax - 1]
lea esi, [ebx + 0x14]
call fcn.00401630
cmp word [eax], 0x5d
jne 0x46ace2
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.00465e28
test al, al
je 0x46ace2
lea eax, [esp + 0x20]
push str.LAST
push eax
call fcn.00447ac8
add esp, 8
test al, al
jne 0x46abc8
lea ecx, [esp + 0x20]
push str.ACTIVE
push ecx
call fcn.00447ac8
add esp, 8
test al, al
jne 0x46ac11
lea edx, [esp + 0x20]
push 0x485bb4
push edx
call fcn.00447ac8
add esp, 8
test al, al
jne 0x46ac4e
lea eax, [esp + 0x20]
push str.REGEXPTITLE
push eax
call fcn.00447ac8
add esp, 8
test al, al
je 0x46a9b2
mov eax, dword [ebx + 8]
test al, 1
jne 0x46ac90
or eax, 2
lea esi, [ebx + 0x34]
mov dword [ebx + 8], eax
call section..text
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
call fcn.00465c38
cmp dword [eax], 0
je 0x46a8d2
lea ecx, [esp + 0x40]
call fcn.004020b0
lea ecx, [esp + 0x30]
call fcn.004020b0
lea ecx, [esp + 0x20]
call fcn.004020b0
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.00447ac8
add esp, 8
test al, al
je 0x46a9e1
or dword [ebx + 8], 8
lea ecx, [esp + 0x30]
push ecx
lea esi, [ebx + 0xc4]
call fcn.0040f420
jmp 0x46a8d2
lea edx, [esp + 0x20]
push str.REGEXPCLASS
push edx
call fcn.00447ac8
add esp, 8
test al, al
je 0x46aa12
or dword [ebx + 8], 0x10
lea esi, [ebx + 0x7c]
call section..text
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
push ecx
jmp 0x46a97a
lea edx, [esp + 0x20]
push str.XYWH
push edx
call fcn.00447ac8
add esp, 8
test al, al
je 0x46aa47
mov eax, dword [esp + 0x30]
or dword [ebx + 8], 0x80
push eax
call fcn.00414951
add esp, 4
mov dword [ebx + 0xdc], eax
jmp 0x46a8d2
lea ecx, [esp + 0x20]
push 0x485aa8
push ecx
call fcn.00447ac8
add esp, 8
test al, al
je 0x46aa7c
mov edx, dword [esp + 0x30]
or dword [ebx + 8], 0x100
push edx
call fcn.00414951
add esp, 4
mov dword [ebx + 0xe0], eax
jmp 0x46a8d2
lea eax, [esp + 0x20]
push 0x485aac
push eax
call fcn.00447ac8
add esp, 8
test al, al
je 0x46aab1
mov ecx, dword [esp + 0x30]
or dword [ebx + 8], 0x200
push ecx
call fcn.00414951
add esp, 4
mov dword [ebx + 0xe4], eax
jmp 0x46a8d2
lea edx, [esp + 0x20]
push 0x485ab0
push edx
call fcn.00447ac8
add esp, 8
test al, al
je 0x46aae6
mov eax, dword [esp + 0x30]
or dword [ebx + 8], 0x400
push eax
call fcn.00414951
add esp, 4
mov dword [ebx + 0xe8], eax
jmp 0x46a8d2
lea ecx, [esp + 0x20]
push 0x485ab4
push ecx
call fcn.00447ac8
add esp, 8
test al, al
je 0x46ab18
mov edx, dword [esp + 0x30]
or dword [ebx + 8], 0x20
push edx
call fcn.00414951
add esp, 4
mov dword [ebx + 0xd4], eax
jmp 0x46a8d2
lea eax, [esp + 0x20]
push 0x485b9c
push eax
call fcn.00447ac8
add esp, 8
test al, al
je 0x46ab4d
lea ecx, [esp + 0x30]
push 0x4858e8
push ecx
call fcn.00447ac8
add esp, 8
test al, al
je 0x46aba1
or dword [ebx + 8], 0x40
jmp 0x46a8d2
lea edx, [esp + 0x20]
push str.TITLE
push edx
call fcn.00447ac8
add esp, 8
test al, al
je 0x46ab87
mov eax, dword [ebx + 8]
test al, 2
jne 0x46acb9
or eax, 1
mov dword [ebx + 8], eax
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x44]
call fcn.0040f420
jmp 0x46a8d2
lea ecx, [esp + 0x20]
push 0x4858e8
push ecx
call fcn.0044ea2d
add esp, 8
test al, al
je 0x46a8d2
lea ecx, [esp + 0x40]
call fcn.004020b0
lea ecx, [esp + 0x30]
call fcn.004020b0
lea ecx, [esp + 0x20]
call fcn.004020b0
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.00447ac8
add esp, 8
test al, al
je 0x46aba1
mov ebx, dword [ebx]
test ebx, ebx
je 0x46abeb
mov eax, dword [ebx]
jmp 0x46a859
lea ecx, [esp + 0x40]
call fcn.004020b0
lea ecx, [esp + 0x30]
call fcn.004020b0
lea ecx, [esp + 0x20]
call fcn.004020b0
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.00447ac8
add esp, 8
test al, al
je 0x46aba1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push ebx
call fcn.0044e97a
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 0x46a866
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004377e9
mov esi, dword [esp + 0x14]
add esp, 8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46abeb
push esi
push ebx
call fcn.0044e97a
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 0x46a866
lea ecx, [esp + 0x40]
call fcn.004020b0
lea ecx, [esp + 0x30]
call fcn.004020b0
lea ecx, [esp + 0x20]
call fcn.004020b0
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x40]
call fcn.004020b0
lea ecx, [esp + 0x30]
call fcn.004020b0
lea ecx, [esp + 0x20]
call fcn.004020b0
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea edx, [esp + 0x40]
push edx
call fcn.0043a8df
test al, al
jne 0x46acfd
lea eax, [esp + 0x40]
push eax
lea esi, [ebx + 0x14]
call fcn.0040f420
cmp dword [ebx + 8], 0
jne 0x46ad0a
mov dword [ebx + 8], 1
or dword [ebx + 8], 4
cmp byte [ebx + 0xc], 0
jne 0x46ad1c
lea esi, [ebx + 0x24]
call fcn.00411ef0
test byte [ebx + 8], 1
je 0x46ad30
cmp byte [ebx + 0xc], 0
jne 0x46ad30
lea esi, [ebx + 0x14]
call fcn.00411ef0
cmp byte [ebp + 0x1c], 0
push ebx
push 0x45e964
je 0x46ad4b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x46ad51
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp + 0x14]
lea esi, [ebx + 0xf4]
push esi
push edi
call fcn.004477e4
call fcn.00411ad0
cmp dword [ebx + 0xec], 1
jl 0x46ad7d
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
push ebx
call fcn.0044e97a
mov ebx, dword [ebx + 0xec]
lea ecx, [esp + 0x40]
call fcn.004020b0
lea ecx, [esp + 0x30]
call fcn.004020b0
lea ecx, [esp + 0x20]
call fcn.004020b0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x20