Function at 0x4018fc
Capabilities:
Enumerate gui resources
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
call fcn.00402045
lea ecx, [edi + 0xec]
call fcn.00402045
mov al, byte [ebp + 0x20]
push dword [ebp + 8]
mov byte [edi + 4], al
mov al, byte [ebp + 0x1c]
lea esi, [edi + 0x14]
mov ecx, esi
mov byte [edi + 5], al
call fcn.0040ca50
push dword [ebp + 0xc]
lea ecx, [edi + 0x24]
call fcn.0040ca50
lea ecx, [edi + 0xbc]
push 0x49ebf0
call fcn.00404a3e
mov eax, dword [ebp + 0x14]
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [edi + 0xcc], 1
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], 1
mov dword [edi + 8], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xe4], ebx
call fcn.0040d3dc
lea ecx, [esp + 0x28]
call fcn.0040d3dc
lea ecx, [esp + 0x38]
call fcn.0040d3dc
cmp dword [edi + 0x10], ebx
jl 0x473152
cmp dword [edi + 0x10], 4
je 0x473166
cmp dword [edi + 0x18], ebx
jne 0x473178
cmp dword [edi + 0x28], ebx
jne 0x473178
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov ecx, edi
call fcn.00401a02
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040170e
xor ebx, ebx
inc ebx
lea ecx, [esp + 0x38]
call fcn.00407dce
lea ecx, [esp + 0x28]
call fcn.00407dce
lea ecx, [esp + 0x18]
call fcn.00407dce
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push dword [edi + 0x10]
call fcn.0042637d
pop ecx
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], bl
jmp 0x40199a
push esi
call fcn.0043ef4b
mov dword [edi + 0x10], 1
jmp 0x4019a4
push ebx
mov ecx, esi
call fcn.0040a5fe
cmp word [eax], 0x5b
jne 0x473482
mov eax, dword [edi + 0x18]
dec eax
push eax
mov ecx, esi
call fcn.0040a5fe
cmp word [eax], 0x5d
jne 0x473482
mov eax, dword [edi + 0x18]
sub eax, 2
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call fcn.0043e0f9
test al, al
je 0x473482
mov edx, str.LAST
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
jne 0x473464
mov edx, str.ACTIVE
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
jne 0x47344a
mov edx, 0x4b3cd8
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
jne 0x473406
mov edx, str.REGEXPTITLE
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x473242
mov eax, dword [edi + 8]
test al, 1
jne 0x4733f6
or eax, 2
lea ecx, [edi + 0x34]
mov dword [edi + 8], eax
call fcn.00407df1
lea ecx, [edi + 0x34]
jmp 0x473284
mov edx, str.CLASS
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x473263
or dword [edi + 8], 8
lea ecx, [edi + 0xbc]
jmp 0x4733cf
mov edx, str.REGEXPCLASS
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x47329e
or dword [edi + 8], 0x10
lea ecx, [edi + 0x78]
call fcn.00407df1
lea ecx, [edi + 0x78]
lea eax, [esp + 0x28]
push eax
call fcn.004062f4
test eax, eax
jne 0x4733fa
lea esi, [edi + 0x14]
jmp 0x4733ed
mov edx, str.XYWH
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x4732cc
push dword [esp + 0x28]
or dword [edi + 8], 0x80
call fcn.00422ca1
pop ecx
mov dword [edi + 0xd4], eax
jmp 0x4733ed
mov edx, 0x4b3bcc
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x4732fa
push dword [esp + 0x28]
or dword [edi + 8], 0x100
call fcn.00422ca1
pop ecx
mov dword [edi + 0xd8], eax
jmp 0x4733ed
mov edx, 0x4b3bd0
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x473328
push dword [esp + 0x28]
or dword [edi + 8], 0x200
call fcn.00422ca1
pop ecx
mov dword [edi + 0xdc], eax
jmp 0x4733ed
mov edx, 0x4b3bd4
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x473356
push dword [esp + 0x28]
or dword [edi + 8], 0x400
call fcn.00422ca1
pop ecx
mov dword [edi + 0xe0], eax
jmp 0x4733ed
mov edx, 0x4b3bd8
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x47337e
push dword [esp + 0x28]
or dword [edi + 8], 0x20
call fcn.00422ca1
pop ecx
mov dword [edi + 0xcc], eax
jmp 0x4733ed
mov edx, 0x4b3cc0
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x4733ac
mov edx, 0x49ebf0
lea ecx, [esp + 0x28]
call fcn.004202b1
test al, al
je 0x47345c
or dword [edi + 8], 0x40
jmp 0x4733ed
mov edx, str.TITLE
lea ecx, [esp + 0x18]
call fcn.004202b1
test al, al
je 0x4733db
mov eax, dword [edi + 8]
test al, 2
jne 0x4733fe
or eax, 1
mov dword [edi + 8], eax
lea ecx, [esp + 0x38]
lea eax, [esp + 0x28]
push eax
call fcn.0040ca50
jmp 0x4733ed
mov edx, 0x49ebf0
lea ecx, [esp + 0x18]
call fcn.0043e080
test al, al
jne 0x47345c
mov eax, dword [esp + 0x10]
jmp 0x4731b2
push 0xfffffffffffffffd
jmp 0x473400
push 0xfffffffffffffffe
jmp 0x473400
push 0xfffffffffffffffc
pop ebx
jmp 0x4019dc
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
call fcn.00449311
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4019dc
push dword [esp + 0x10]
jmp 0x473432
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov ecx, edi
call fcn.00401a02
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
jmp 0x4019d0
mov edx, 0x49ebf0
lea ecx, [esp + 0x28]
call fcn.004202b1
test al, al
jne 0x47342b
or ebx, 0xffffffff
jmp 0x4019dc
mov edx, 0x49ebf0
lea ecx, [esp + 0x28]
call fcn.004202b1
test al, al
je 0x47345c
mov eax, dword [edi]
test eax, eax
je 0x4019dc
jmp 0x47343b
cmp dword [esp + 0x3c], ebx
je 0x473494
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.0040ca50
cmp dword [edi + 8], ebx
jne 0x4734a0
mov dword [edi + 8], 1
or dword [edi + 8], 4
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffW]
cmp byte [edi + 0xc], bl
jne 0x4734bf
lea ecx, [edi + 0x24]
call fcn.0040b8ea
push dword [edi + 0x28]
push dword [edi + 0x24]
call esi
test byte [edi + 8], 1
je 0x4734da
cmp byte [edi + 0xc], bl
jne 0x4734da
lea ecx, [edi + 0x14]
call fcn.0040b8ea
push dword [edi + 0x18]
push dword [edi + 0x14]
call esi
push edi
push 0x43f0fe
cmp byte [ebp + 0x18], bl
je 0x4734f4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x4734fa
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp + 0x10]
lea esi, [edi + 0xec]
push esi
mov ecx, ebx
call fcn.0043eeb9
mov ecx, esi
call fcn.00402045
cmp dword [edi + 0xe4], 1
jl 0x473529
mov eax, dword [ebx + 4]
mov ecx, edi
mov eax, dword [eax]
push dword [eax]
call fcn.00401a02
mov ebx, dword [edi + 0xe4]
jmp 0x4019dc