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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c74
call fcn.004b5860
movzx eax, word [edx]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0x41
je 0x485c2b
cmp eax, 0x61
jne 0x485c9f
cmp word [edx + 2], 0
jne 0x485c9f
cmp word [ecx], 0
jne 0x485c9f
cmp word [edi], 0
jne 0x485c9f
cmp word [esi], 0
jne 0x485c9f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x485c89
cmp byte [ebx + 0x93], 0
jne 0x485c89
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x485c87
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0xe
push esi
call dword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
test eax, eax
js 0x485c89
cmp dword [esp + 0xc], 0
je 0x485c89
xor esi, esi
cmp byte [ebp + 0x18], 0
je 0x485c96
test esi, esi
je 0x485c96
mov dword [ebx + 0x20], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ax, ax
jne 0x485cc1
cmp word [ecx], ax
jne 0x485cc1
cmp word [edi], ax
jne 0x485cc1
cmp word [esi], ax
jne 0x485cc1
mov ecx, ebx
call fcn.004862a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push ecx
push edx
lea eax, [ebx + 0x58]
mov dword [esp + 0x30], 0
xorps xmm0, xmm0
mov dword [esp + 0x103c], 0x4cee20
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x185d], 0
movups xmmword [esp + 0x1860], xmm0
mov dword [esp + 0x1870], 0
mov dword [esp + 0x1874], 0
mov dword [esp + 0x1880], 0
mov dword [esp + 0x1884], 0
call fcn.00486e00
test eax, eax
je 0x485f5c
test byte [esp + 0x20], 2
mov al, byte [ebp + 0x14]
mov byte [esp + 0x1849], al
mov dword [esp + 0x1858], 0
mov dword [esp + 0x185c], 0
je 0x486263
mov esi, dword [esp + 0x103c]
cmp esi, 0xffff
je 0x485dcd
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x485f5c
cmp byte [ebx + 0x93], 0
mov esi, dword [esp + 0x103c]
jne 0x485dcd
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x485db3
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0xe
push esi
call dword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
test eax, eax
js 0x485dcd
cmp dword [esp + 0xc], 0
je 0x485dcd
push 0xfffffffffffffff0
push dword [esp + 0x1040]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x485f5c
mov esi, dword [esp + 0x103c]
cmp dword [esp + 0x1870], esi
je 0x485eb4
mov dword [esp + 0x1870], esi
test esi, esi
je 0x485f5c
cmp dword [esp + 0x20], 0
je 0x485eb4
test byte [esp + 0x20], 1
jne 0x485e0f
mov eax, dword [esp + 0x102c]
cmp word [eax], 0
je 0x485e35
push 0x7fff
lea eax, [esp + 0x187c]
push eax
push dword [esp + 0x1044]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x485e35
mov word [esp + 0x1878], ax
test byte [esp + 0x20], 4
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x485e53
lea eax, [esp + 0x1874]
push eax
push dword [esp + 0x1874]
call esi
test byte [esp + 0x20], 0x20
je 0x485e93
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1874]
call esi
test eax, eax
je 0x485e93
push dword [esp + 0x1848]
lea edx, [esp + 0x11a7c]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004291cb
add esp, 8
test eax, eax
jne 0x485e93
mov word [esp + 0x11a78], ax
test byte [esp + 0x20], 8
je 0x485eb4
push 0x101
lea eax, [esp + 0x1187a]
push eax
push dword [esp + 0x1878]
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x1870], 0
je 0x485f5c
cmp dword [esp + 0x20], 0
je 0x485f5c
test byte [esp + 0x20], 1
je 0x485f9c
cmp word [esp + 0x28], 0
je 0x485f9c
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
sub eax, 1
je 0x485f7c
sub eax, 1
je 0x485f65
sub eax, 2
je 0x485f48
lea ecx, [esp + 0x28]
lea eax, [esp + 0x1878]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x485f36
test dx, dx
je 0x485f32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x485f36
add eax, 4
add ecx, 4
test dx, dx
jne 0x485f10
xor eax, eax
jmp 0x485f3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x485f9c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1878]
call fcn.0042a350
test eax, eax
jne 0x485f9c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x187c]
push eax
call fcn.0049d69e
add esp, 8
jmp 0x485f58
push dword [esp + 0x1028]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1880]
push eax
call fcn.004aa41d
add esp, 0xc
test eax, eax
jne 0x485f5c
test byte [esp + 0x20], 8
je 0x486007
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], 4
jne 0x485fc6
lea edx, [esp + 0x828]
lea ecx, [esp + 0x11876]
call fcn.0042a350
test eax, eax
je 0x485f5c
jmp 0x486007
lea ecx, [esp + 0x828]
lea eax, [esp + 0x11876]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x485ffa
test dx, dx
je 0x485ff6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x485ffa
add eax, 4
add ecx, 4
test dx, dx
jne 0x485fd4
xor eax, eax
jmp 0x485fff
sbb eax, eax
or eax, 1
test eax, eax
jne 0x485f5c
test byte [esp + 0x20], 4
je 0x486022
mov eax, dword [esp + 0x1874]
cmp eax, dword [esp + 0x1040]
jne 0x485f5c
test byte [esp + 0x20], 0x20
je 0x486071
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], 4
jne 0x486051
lea edx, [esp + 0x1048]
lea ecx, [esp + 0x11a78]
call fcn.0042a350
test eax, eax
jne 0x486071
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1048]
push eax
lea eax, [esp + 0x11a7c]
push eax
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x485f5c
test byte [esp + 0x20], 0x10
je 0x48609f
mov ecx, dword [esp + 0x1044]
test ecx, ecx
je 0x485f5c
push dword [esp + 0x24]
push dword [esp + 0x1874]
call fcn.00488110
test eax, eax
je 0x485f5c
test byte [esp + 0x20], 2
je 0x4860ba
mov eax, dword [esp + 0x1870]
cmp eax, dword [esp + 0x103c]
jne 0x485f5c
mov ecx, dword [esp + 0x102c]
cmp word [ecx], 0
je 0x486190
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
sub eax, 1
je 0x48616a
sub eax, 1
je 0x486146
sub eax, 2
je 0x486126
lea eax, [esp + 0x1878]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x486116
test dx, dx
je 0x486112
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x486116
add eax, 4
add ecx, 4
test dx, dx
jne 0x4860f0
xor eax, eax
jmp 0x48611b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x486190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x102c]
lea ecx, [esp + 0x1878]
call fcn.0042a350
test eax, eax
je 0x486190
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x102c]
lea eax, [esp + 0x187c]
push eax
call fcn.0049d69e
add esp, 8
test eax, eax
je 0x486190
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x1030]
lea eax, [esp + 0x187c]
push dword [esp + 0x1030]
push eax
call fcn.004aa41d
add esp, 0xc
test eax, eax
je 0x485f5c
xor edx, edx
cmp dword [esp + 0x185c], edx
jle 0x4861c1
nop dword [eax + eax]
mov ecx, dword [esp + 0x1858]
mov eax, dword [esp + 0x1870]
cmp eax, dword [ecx + edx*4]
je 0x485f5c
inc edx
cmp edx, dword [esp + 0x185c]
jl 0x4861a0
mov eax, dword [esp + 0x1034]
cmp word [eax], 0
jne 0x4861db
mov eax, dword [esp + 0x1038]
cmp word [eax], 0
je 0x48620b
lea eax, [esp + 0x20]
mov dword [esp + 0x1854], 0
push eax
push 0x4863d0
push dword [esp + 0x1878]
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [esp + 0x1854], 0
je 0x485f5c
inc dword [esp + 0x184c]
mov ecx, dword [esp + 0x186c]
mov eax, dword [esp + 0x1870]
mov dword [esp + 0x1850], eax
test ecx, ecx
je 0x486250
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
call fcn.00475500
mov eax, dword [esp + 0x1850]
cmp dword [esp + 0x1870], 0
jne 0x48627a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
push eax
push 0x486350
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1850]
cmp byte [ebp + 0x18], 0
je 0x485f5e
test eax, eax
je 0x485f5e
pop edi
pop esi
mov dword [ebx + 0x20], eax
pop ebx
mov esp, ebp
pop ebp
ret