Function at 0x41f045
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.0041f1e4
lea ecx, [edi + 0xec]
call fcn.0041f1e4
mov al, byte [ebp + 0x20]
lea esi, [edi + 0x14]
push dword [ebp + 8]
mov byte [edi + 4], al
mov ecx, esi
mov al, byte [ebp + 0x1c]
mov byte [edi + 5], al
call fcn.00407d2b
push dword [ebp + 0xc]
lea ecx, [edi + 0x24]
call fcn.00407d2b
lea ecx, [edi + 0xbc]
push 0x48e91c
call fcn.0040793c
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
xor ebx, ebx
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.004073d7
lea ecx, [esp + 0x28]
call fcn.004073d7
lea ecx, [esp + 0x38]
call fcn.004073d7
cmp dword [edi + 0x10], ebx
jl 0x45477d
cmp dword [edi + 0x10], 4
je 0x454791
cmp dword [edi + 0x18], ebx
jne 0x4547a3
cmp dword [edi + 0x28], ebx
jne 0x4547a3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov ecx, edi
call fcn.0041f14b
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.004034a2
xor ebx, ebx
inc ebx
lea ecx, [esp + 0x38]
call fcn.00405832
lea ecx, [esp + 0x28]
call fcn.00405832
lea ecx, [esp + 0x18]
call fcn.00405832
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push dword [edi + 0x10]
call fcn.004228ea
pop ecx
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], bl
jmp 0x41f0e3
push esi
call fcn.00459cec
mov dword [edi + 0x10], 1
jmp 0x41f0ed
push ebx
mov ecx, esi
call fcn.00407762
cmp word [eax], 0x5b
jne 0x454aad
mov eax, dword [edi + 0x18]
mov ecx, esi
dec eax
push eax
call fcn.00407762
cmp word [eax], 0x5d
jne 0x454aad
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.00458ed4
test al, al
je 0x454aad
mov edx, str.LAST
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
jne 0x454a8f
mov edx, str.ACTIVE
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
jne 0x454a75
mov edx, 0x4b4960
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
jne 0x454a31
mov edx, str.REGEXPTITLE
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x45486d
mov eax, dword [edi + 8]
test al, 1
jne 0x454a21
or eax, 2
lea ecx, [edi + 0x34]
mov dword [edi + 8], eax
call fcn.004154f4
lea ecx, [edi + 0x34]
jmp 0x4548af
mov edx, str.CLASS
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x45488e
or dword [edi + 8], 8
lea ecx, [edi + 0xbc]
jmp 0x4549fa
mov edx, str.REGEXPCLASS
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x4548c9
or dword [edi + 8], 0x10
lea ecx, [edi + 0x78]
call fcn.004154f4
lea ecx, [edi + 0x78]
lea eax, [esp + 0x28]
push eax
call fcn.00415530
test eax, eax
jne 0x454a25
lea esi, [edi + 0x14]
jmp 0x454a18
mov edx, str.XYWH
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x4548f7
push dword [esp + 0x28]
or dword [edi + 8], 0x80
call fcn.004224fc
pop ecx
mov dword [edi + 0xd4], eax
jmp 0x454a18
mov edx, 0x4b4850
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x454925
push dword [esp + 0x28]
or dword [edi + 8], 0x100
call fcn.004224fc
pop ecx
mov dword [edi + 0xd8], eax
jmp 0x454a18
mov edx, 0x4b4854
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x454953
push dword [esp + 0x28]
or dword [edi + 8], 0x200
call fcn.004224fc
pop ecx
mov dword [edi + 0xdc], eax
jmp 0x454a18
mov edx, 0x4b4858
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x454981
push dword [esp + 0x28]
or dword [edi + 8], 0x400
call fcn.004224fc
pop ecx
mov dword [edi + 0xe0], eax
jmp 0x454a18
mov edx, str.INSTANCE
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x4549a9
push dword [esp + 0x28]
or dword [edi + 8], 0x20
call fcn.004224fc
pop ecx
mov dword [edi + 0xcc], eax
jmp 0x454a18
mov edx, 0x4b4948
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x4549d7
mov edx, 0x48e91c
lea ecx, [esp + 0x28]
call fcn.0041faf1
test al, al
je 0x454a87
or dword [edi + 8], 0x40
jmp 0x454a18
mov edx, str.TITLE
lea ecx, [esp + 0x18]
call fcn.0041faf1
test al, al
je 0x454a06
mov eax, dword [edi + 8]
test al, 2
jne 0x454a29
or eax, 1
lea ecx, [esp + 0x38]
mov dword [edi + 8], eax
lea eax, [esp + 0x28]
push eax
call fcn.00407d2b
jmp 0x454a18
mov edx, 0x48e91c
lea ecx, [esp + 0x18]
call fcn.00458e5b
test al, al
jne 0x454a87
mov eax, dword [esp + 0x10]
jmp 0x4547dd
push 0xfffffffffffffffd
jmp 0x454a2b
push 0xfffffffffffffffe
jmp 0x454a2b
push 0xfffffffffffffffc
pop ebx
jmp 0x41f125
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
call fcn.0046451f
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f125
push dword [esp + 0x10]
jmp 0x454a5d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov ecx, edi
call fcn.0041f14b
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
jmp 0x41f119
mov edx, 0x48e91c
lea ecx, [esp + 0x28]
call fcn.0041faf1
test al, al
jne 0x454a56
or ebx, 0xffffffff
jmp 0x41f125
mov edx, 0x48e91c
lea ecx, [esp + 0x28]
call fcn.0041faf1
test al, al
je 0x454a87
mov eax, dword [edi]
test eax, eax
je 0x41f125
jmp 0x454a66
cmp dword [esp + 0x3c], ebx
je 0x454abf
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.00407d2b
cmp dword [edi + 8], ebx
jne 0x454acb
mov dword [edi + 8], 1
or dword [edi + 8], 4
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffW]
cmp byte [edi + 0xc], bl
jne 0x454aea
lea ecx, [edi + 0x24]
call fcn.00407bbf
push dword [edi + 0x28]
push dword [edi + 0x24]
call esi
test byte [edi + 8], 1
je 0x454b05
cmp byte [edi + 0xc], bl
jne 0x454b05
lea ecx, [edi + 0x14]
call fcn.00407bbf
push dword [edi + 0x18]
push dword [edi + 0x14]
call esi
push edi
push 0x459ea3
cmp byte [ebp + 0x18], bl
je 0x454b1f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x454b25
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp + 0x10]
lea esi, [edi + 0xec]
push esi
mov ecx, ebx
call fcn.00459c31
mov ecx, esi
call fcn.0041f1e4
cmp dword [edi + 0xe4], 1
jl 0x454b54
mov eax, dword [ebx + 4]
mov ecx, edi
mov eax, dword [eax]
push dword [eax]
call fcn.0041f14b
mov ebx, dword [edi + 0xe4]
jmp 0x41f125