Function at 0x40ee30
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450af1
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x504070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c4], edx
push 0
push 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
call fcn.0040e940
mov ebx, eax
mov dword [ebp - 0x2c0], ebx
mov dword [ebp - 4], 0
mov ecx, dword [0x528550]
mov edx, dword [0x52854c]
sub ecx, edx
sar ecx, 7
mov dword [ebp - 0x298], 0
test ecx, ecx
je 0x40ef82
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x2a4], esi
nop dword [eax]
mov al, byte [esi + edx + 0x48]
add esi, edx
test al, al
je 0x40ef5a
cmp dword [esi + 0x14], 8
jb 0x40eed8
mov edi, dword [esi]
jmp 0x40eeda
mov edi, esi
push str.Google_Chrome
push edi
call fcn.0042ec01
add esp, 8
test eax, eax
jne 0x40ef10
push str.Yandex
push edi
call fcn.0042ec01
add esp, 8
test eax, eax
jne 0x40ef10
push str.Microsoft_Edge
push edi
call fcn.0042ec01
add esp, 8
test eax, eax
je 0x40ef4e
mov al, byte [esi + 0x49]
test al, al
je 0x40ef4e
push esi
push dword [ebx + 4]
push ebx
call fcn.0040eb20
mov edx, dword [ebp - 0x2bc]
mov ecx, 0x1e1e1e0
sub ecx, edx
mov esi, eax
cmp ecx, 1
jb 0x40f191
mov dword [ebx + 4], esi
inc edx
mov eax, dword [esi + 4]
mov ebx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2bc], edx
mov dword [eax], esi
mov ecx, dword [ebp - 0x298]
mov edx, dword [0x52854c]
mov eax, dword [0x528550]
inc ecx
mov esi, dword [ebp - 0x2a4]
sub eax, edx
sub esi, 0xffffff80
sar eax, 7
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x2a4], esi
cmp ecx, eax
jb 0x40eec0
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0
push eax
lea edx, [ebp - 0x2c0]
mov dword [ebp - 0x29c], 0
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x298], 0
call fcn.0040afe0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2b4], 0
je 0x40f377
push 0
push 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
call fcn.0040e910
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 2
push eax
push 0x40bfb0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp - 0x2b0]
mov dword [ebp - 0x2d0], edi
mov esi, dword [edi]
mov dword [ebp - 0x2a0], esi
cmp esi, edi
je 0x40f1ab
mov dword [ebp - 0x2a4], 0x5075f8
nop dword [eax + eax]
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x2c8]
push ecx
push eax
mov dword [ebp - 0x2cc], eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [ebp - 0x2b8]
mov eax, dword [ebx]
cmp eax, ebx
je 0x40f06f
mov ecx, dword [ebp - 0x2c8]
nop dword [eax]
cmp dword [eax + 8], ecx
je 0x40f19b
mov eax, dword [eax]
cmp eax, ebx
jne 0x40f060
xor eax, eax
mov dword [ebp - 0x2a8], eax
test eax, eax
je 0x40f173
mov ebx, dword [ebp - 0x2cc]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x40f16d
push 0xff
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [ebp - 0x2a8]
cmp dword [ebx + 0x60], 8
lea ecx, [ebx + 0x4c]
jb 0x40f0bd
mov ecx, dword [ecx]
mov edi, dword [ebp - 0x2a4]
mov edx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x40f0c5
lea ecx, [edi - 2]
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x40f0e0
mov eax, dword [0x4fa56c]
lea edx, [ebp - 0x210]
mov dword [ecx], eax
mov esi, edx
mov eax, dword [0x4fa570]
mov dword [ecx + 4], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40f103
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40f113
mov ecx, edx
mov eax, dword [ebp - 0x2a4]
shr ecx, 2
add eax, 0x200
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x298]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x29c]
or edx, dword [ebx + 0x7c]
inc ecx
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], edx
cmp eax, 0x5273f8
jge 0x40f1a3
mov esi, dword [ebp - 0x2a0]
mov edi, dword [ebp - 0x2d0]
mov ebx, dword [ebp - 0x2b8]
mov esi, dword [esi]
mov dword [ebp - 0x2a0], esi
cmp esi, edi
jne 0x40f030
mov edi, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x29c]
jmp 0x40f1b3
push str.list_T__too_long
call fcn.004171e5
add eax, 0xc
jmp 0x40f071
mov edi, dword [ebp - 0x2b0]
jmp 0x40f1ad
xor ecx, ecx
mov ebx, dword [ebp - 0x2b8]
mov eax, dword [ebx]
mov dword [ebp - 0x2a8], eax
cmp eax, ebx
je 0x40f292
mov edi, dword [ebp - 0x298]
mov esi, ecx
shl esi, 9
add esi, 0x5075f8
mov dword [ebp - 0x2a0], esi
nop word [eax + eax]
add eax, 0xc
lea ecx, [ebp - 0x290]
push eax
call fcn.004024e0
test dword [ebp - 0x214], edi
jne 0x40f26b
cmp dword [ebp - 0x230], 8
lea ecx, [ebp - 0x244]
mov edx, esi
cmovae ecx, dword [ebp - 0x244]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x40f211
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40f225
mov ecx, 9
mov eax, dword [ebp - 0x298]
mov esi, 0x4fa574
inc dword [ebp - 0x29c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x2a0]
add esi, 0x200
or eax, dword [ebp - 0x214]
mov dword [ebp - 0x2a0], esi
mov edi, eax
mov dword [ebp - 0x298], eax
lea ecx, [ebp - 0x290]
call fcn.004023d0
mov eax, dword [ebp - 0x2a8]
mov eax, dword [eax]
mov dword [ebp - 0x2a8], eax
cmp eax, ebx
jne 0x40f1e0
mov edi, dword [ebp - 0x2b0]
mov ecx, dword [edi]
mov dword [edi], edi
mov eax, dword [ebp - 0x2b0]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], 0
cmp ecx, eax
je 0x40f2ca
mov esi, dword [ecx]
push ecx
call fcn.0042d19a
mov eax, dword [ebp - 0x2b0]
add esp, 4
mov ecx, esi
cmp esi, eax
jne 0x40f2b3
push eax
call fcn.0042d19a
mov edi, dword [ebp - 0x29c]
add esp, 4
test edi, edi
je 0x40f377
mov eax, dword [ebp - 0x2b4]
cmp eax, dword [0x528a18]
je 0x40f36e
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push dword [ebp - 0x2c4]
mov dword [0x528a18], eax
call ebx
xor esi, esi
test edi, edi
jle 0x40f36e
mov edi, 0x5075f8
nop word [eax + eax]
push 0x34
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.0042fec0
add esp, 0xc
mov dword [ebp - 0x300], esi
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 1
mov dword [ebp - 0x2f0], edi
push eax
push 0
push 0x104d
push dword [ebp - 0x2c4]
call ebx
inc esi
add edi, 0x200
cmp esi, dword [ebp - 0x29c]
jl 0x40f320
mov byte [ebp - 0x291], 1
jmp 0x40f37e
mov byte [ebp - 0x291], 0
mov eax, dword [ebp - 0x2b8]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x2b8]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2b4], 0
cmp edi, eax
je 0x40f3c4
mov esi, dword [edi]
lea ecx, [edi + 0xc]
call fcn.004023d0
push edi
call fcn.0042d19a
mov eax, dword [ebp - 0x2b8]
add esp, 4
mov edi, esi
cmp esi, eax
jne 0x40f3a5
push eax
call fcn.0042d19a
mov ebx, dword [ebp - 0x2c0]
add esp, 4
mov edi, dword [ebx]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
cmp edi, ebx
je 0x40f3f9
nop
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.004023d0
push edi
call fcn.0042d19a
add esp, 4
mov edi, esi
cmp esi, ebx
jne 0x40f3e0
push ebx
call fcn.0042d19a
mov al, byte [ebp - 0x291]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cc9c
mov esp, ebp
pop ebp
ret