Function at 0x46cb18
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.00410380
lea esi, [ebx + 0xf4]
call fcn.00410380
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.0040dd10
mov eax, dword [ebp + 0x10]
lea esi, [ebx + 0x24]
push eax
call fcn.0040dd10
lea eax, [ebx + 0xc4]
push 0x4838e8
call fcn.004021d0
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.0040be80
lea ecx, [esp + 0x30]
call fcn.0040be80
lea ecx, [esp + 0x40]
call fcn.0040be80
mov eax, dword [ebx + 0x10]
test eax, eax
jge 0x46cbc7
push eax
call fcn.00413512
add esp, 4
mov dword [ebx + 0x10], eax
mov byte [ebx + 0xc], 0
cmp dword [ebx + 0x10], 4
jne 0x46cbda
push edi
call fcn.004682f6
mov dword [ebx + 0x10], 1
push edi
call fcn.0043865d
test al, al
je 0x46cc3a
push esi
call fcn.0043865d
test al, al
je 0x46cc3a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push ebx
call fcn.0044cf93
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.00438421
lea ecx, [esp + 0x40]
call fcn.00402610
lea ecx, [esp + 0x30]
call fcn.00402610
lea ecx, [esp + 0x20]
call fcn.00402610
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.00401ce0
cmp word [eax], 0x5b
jne 0x46d088
mov eax, dword [ebx + 0x18]
lea edi, [eax - 1]
lea esi, [ebx + 0x14]
call fcn.00401ce0
cmp word [eax], 0x5d
jne 0x46d088
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.004681b8
test al, al
je 0x46d088
lea eax, [esp + 0x20]
push str.LAST
push eax
call fcn.00445a62
add esp, 8
test al, al
jne 0x46cf6e
lea ecx, [esp + 0x20]
push str.ACTIVE
push ecx
call fcn.00445a62
add esp, 8
test al, al
jne 0x46cfb7
lea edx, [esp + 0x20]
push 0x483bb4
push edx
call fcn.00445a62
add esp, 8
test al, al
jne 0x46cff4
lea eax, [esp + 0x20]
push str.REGEXPTITLE
push eax
call fcn.00445a62
add esp, 8
test al, al
je 0x46cd58
mov eax, dword [ebx + 8]
test al, 1
jne 0x46d036
or eax, 2
lea esi, [ebx + 0x34]
mov dword [ebx + 8], eax
call fcn.00401060
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
call fcn.00467fc8
cmp dword [eax], 0
je 0x46cc78
lea ecx, [esp + 0x40]
call fcn.00402610
lea ecx, [esp + 0x30]
call fcn.00402610
lea ecx, [esp + 0x20]
call fcn.00402610
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.00445a62
add esp, 8
test al, al
je 0x46cd87
or dword [ebx + 8], 8
lea ecx, [esp + 0x30]
push ecx
lea esi, [ebx + 0xc4]
call fcn.0040dd10
jmp 0x46cc78
lea edx, [esp + 0x20]
push str.REGEXPCLASS
push edx
call fcn.00445a62
add esp, 8
test al, al
je 0x46cdb8
or dword [ebx + 8], 0x10
lea esi, [ebx + 0x7c]
call fcn.00401060
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
push ecx
jmp 0x46cd20
lea edx, [esp + 0x20]
push str.XYWH
push edx
call fcn.00445a62
add esp, 8
test al, al
je 0x46cded
mov eax, dword [esp + 0x30]
or dword [ebx + 8], 0x80
push eax
call fcn.004131e1
add esp, 4
mov dword [ebx + 0xdc], eax
jmp 0x46cc78
lea ecx, [esp + 0x20]
push 0x483aa8
push ecx
call fcn.00445a62
add esp, 8
test al, al
je 0x46ce22
mov edx, dword [esp + 0x30]
or dword [ebx + 8], 0x100
push edx
call fcn.004131e1
add esp, 4
mov dword [ebx + 0xe0], eax
jmp 0x46cc78
lea eax, [esp + 0x20]
push 0x483aac
push eax
call fcn.00445a62
add esp, 8
test al, al
je 0x46ce57
mov ecx, dword [esp + 0x30]
or dword [ebx + 8], 0x200
push ecx
call fcn.004131e1
add esp, 4
mov dword [ebx + 0xe4], eax
jmp 0x46cc78
lea edx, [esp + 0x20]
push 0x483ab0
push edx
call fcn.00445a62
add esp, 8
test al, al
je 0x46ce8c
mov eax, dword [esp + 0x30]
or dword [ebx + 8], 0x400
push eax
call fcn.004131e1
add esp, 4
mov dword [ebx + 0xe8], eax
jmp 0x46cc78
lea ecx, [esp + 0x20]
push 0x483ab4
push ecx
call fcn.00445a62
add esp, 8
test al, al
je 0x46cebe
mov edx, dword [esp + 0x30]
or dword [ebx + 8], 0x20
push edx
call fcn.004131e1
add esp, 4
mov dword [ebx + 0xd4], eax
jmp 0x46cc78
lea eax, [esp + 0x20]
push 0x483b9c
push eax
call fcn.00445a62
add esp, 8
test al, al
je 0x46cef3
lea ecx, [esp + 0x30]
push 0x4838e8
push ecx
call fcn.00445a62
add esp, 8
test al, al
je 0x46cf47
or dword [ebx + 8], 0x40
jmp 0x46cc78
lea edx, [esp + 0x20]
push str.TITLE
push edx
call fcn.00445a62
add esp, 8
test al, al
je 0x46cf2d
mov eax, dword [ebx + 8]
test al, 2
jne 0x46d05f
or eax, 1
mov dword [ebx + 8], eax
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x44]
call fcn.0040dd10
jmp 0x46cc78
lea ecx, [esp + 0x20]
push 0x4838e8
push ecx
call fcn.0044cf77
add esp, 8
test al, al
je 0x46cc78
lea ecx, [esp + 0x40]
call fcn.00402610
lea ecx, [esp + 0x30]
call fcn.00402610
lea ecx, [esp + 0x20]
call fcn.00402610
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea edx, [esp + 0x30]
push 0x4838e8
push edx
call fcn.00445a62
add esp, 8
test al, al
je 0x46cf47
mov ebx, dword [ebx]
test ebx, ebx
je 0x46cf91
mov eax, dword [ebx]
jmp 0x46cbff
lea ecx, [esp + 0x40]
call fcn.00402610
lea ecx, [esp + 0x30]
call fcn.00402610
lea ecx, [esp + 0x20]
call fcn.00402610
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea eax, [esp + 0x30]
push 0x4838e8
push eax
call fcn.00445a62
add esp, 8
test al, al
je 0x46cf47
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push ebx
call fcn.0044cf93
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 0x46cc0c
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.00435501
mov esi, dword [esp + 0x14]
add esp, 8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46cf91
push esi
push ebx
call fcn.0044cf93
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 0x46cc0c
lea ecx, [esp + 0x40]
call fcn.00402610
lea ecx, [esp + 0x30]
call fcn.00402610
lea ecx, [esp + 0x20]
call fcn.00402610
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x40]
call fcn.00402610
lea ecx, [esp + 0x30]
call fcn.00402610
lea ecx, [esp + 0x20]
call fcn.00402610
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea edx, [esp + 0x40]
push edx
call fcn.0043865d
test al, al
jne 0x46d0a3
lea eax, [esp + 0x40]
push eax
lea esi, [ebx + 0x14]
call fcn.0040dd10
cmp dword [ebx + 8], 0
jne 0x46d0b0
mov dword [ebx + 8], 1
or dword [ebx + 8], 4
cmp byte [ebx + 0xc], 0
jne 0x46d0c2
lea esi, [ebx + 0x24]
call fcn.004107f0
test byte [ebx + 8], 1
je 0x46d0d6
cmp byte [ebx + 0xc], 0
jne 0x46d0d6
lea esi, [ebx + 0x14]
call fcn.004107f0
cmp byte [ebp + 0x1c], 0
push ebx
push 0x460cd3
je 0x46d0f1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x46d0f7
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp + 0x14]
lea esi, [ebx + 0xf4]
push esi
push edi
call fcn.0044576a
call fcn.00410380
cmp dword [ebx + 0xec], 1
jl 0x46d123
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
push ebx
call fcn.0044cf93
mov ebx, dword [ebx + 0xec]
lea ecx, [esp + 0x40]
call fcn.00402610
lea ecx, [esp + 0x30]
call fcn.00402610
lea ecx, [esp + 0x20]
call fcn.00402610
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x20