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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c74
call fcn.004b5e80
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 0x48634b
cmp eax, 0x61
jne 0x4863bf
cmp word [edx + 2], 0
jne 0x4863bf
cmp word [ecx], 0
jne 0x4863bf
cmp word [edi], 0
jne 0x4863bf
cmp word [esi], 0
jne 0x4863bf
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4863a9
cmp byte [ebx + 0x93], 0
jne 0x4863a9
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4863a7
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 0x4863a9
cmp dword [esp + 0xc], 0
je 0x4863a9
xor esi, esi
cmp byte [ebp + 0x18], 0
je 0x4863b6
test esi, esi
je 0x4863b6
mov dword [ebx + 0x20], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ax, ax
jne 0x4863e1
cmp word [ecx], ax
jne 0x4863e1
cmp word [edi], ax
jne 0x4863e1
cmp word [esi], ax
jne 0x4863e1
mov ecx, ebx
call fcn.004869c0
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], 0x4cee30
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.00487520
test eax, eax
je 0x48667c
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 0x486983
mov esi, dword [esp + 0x103c]
cmp esi, 0xffff
je 0x4864ed
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48667c
cmp byte [ebx + 0x93], 0
mov esi, dword [esp + 0x103c]
jne 0x4864ed
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4864d3
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 0x4864ed
cmp dword [esp + 0xc], 0
je 0x4864ed
push 0xfffffffffffffff0
push dword [esp + 0x1040]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x48667c
mov esi, dword [esp + 0x103c]
cmp dword [esp + 0x1870], esi
je 0x4865d4
mov dword [esp + 0x1870], esi
test esi, esi
je 0x48667c
cmp dword [esp + 0x20], 0
je 0x4865d4
test byte [esp + 0x20], 1
jne 0x48652f
mov eax, dword [esp + 0x102c]
cmp word [eax], 0
je 0x486555
push 0x7fff
lea eax, [esp + 0x187c]
push eax
push dword [esp + 0x1044]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x486555
mov word [esp + 0x1878], ax
test byte [esp + 0x20], 4
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x486573
lea eax, [esp + 0x1874]
push eax
push dword [esp + 0x1874]
call esi
test byte [esp + 0x20], 0x20
je 0x4865b3
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1874]
call esi
test eax, eax
je 0x4865b3
push dword [esp + 0x1848]
lea edx, [esp + 0x11a7c]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004290cb
add esp, 8
test eax, eax
jne 0x4865b3
mov word [esp + 0x11a78], ax
test byte [esp + 0x20], 8
je 0x4865d4
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 0x48667c
cmp dword [esp + 0x20], 0
je 0x48667c
test byte [esp + 0x20], 1
je 0x4866bc
cmp word [esp + 0x28], 0
je 0x4866bc
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
sub eax, 1
je 0x48669c
sub eax, 1
je 0x486685
sub eax, 2
je 0x486668
lea ecx, [esp + 0x28]
lea eax, [esp + 0x1878]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x486656
test dx, dx
je 0x486652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x486656
add eax, 4
add ecx, 4
test dx, dx
jne 0x486630
xor eax, eax
jmp 0x48665b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4866bc
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.0042a250
test eax, eax
jne 0x4866bc
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.0049ddbe
add esp, 8
jmp 0x486678
push dword [esp + 0x1028]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1880]
push eax
call fcn.004aa4e8
add esp, 0xc
test eax, eax
jne 0x48667c
test byte [esp + 0x20], 8
je 0x486727
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], 4
jne 0x4866e6
lea edx, [esp + 0x828]
lea ecx, [esp + 0x11876]
call fcn.0042a250
test eax, eax
je 0x48667c
jmp 0x486727
lea ecx, [esp + 0x828]
lea eax, [esp + 0x11876]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48671a
test dx, dx
je 0x486716
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48671a
add eax, 4
add ecx, 4
test dx, dx
jne 0x4866f4
xor eax, eax
jmp 0x48671f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48667c
test byte [esp + 0x20], 4
je 0x486742
mov eax, dword [esp + 0x1874]
cmp eax, dword [esp + 0x1040]
jne 0x48667c
test byte [esp + 0x20], 0x20
je 0x486791
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], 4
jne 0x486771
lea edx, [esp + 0x1048]
lea ecx, [esp + 0x11a78]
call fcn.0042a250
test eax, eax
jne 0x486791
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.0049f841
add esp, 8
test eax, eax
jne 0x48667c
test byte [esp + 0x20], 0x10
je 0x4867bf
mov ecx, dword [esp + 0x1044]
test ecx, ecx
je 0x48667c
push dword [esp + 0x24]
push dword [esp + 0x1874]
call fcn.00488830
test eax, eax
je 0x48667c
test byte [esp + 0x20], 2
je 0x4867da
mov eax, dword [esp + 0x1870]
cmp eax, dword [esp + 0x103c]
jne 0x48667c
mov ecx, dword [esp + 0x102c]
cmp word [ecx], 0
je 0x4868b0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
sub eax, 1
je 0x48688a
sub eax, 1
je 0x486866
sub eax, 2
je 0x486846
lea eax, [esp + 0x1878]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x486836
test dx, dx
je 0x486832
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x486836
add eax, 4
add ecx, 4
test dx, dx
jne 0x486810
xor eax, eax
jmp 0x48683b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4868b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x102c]
lea ecx, [esp + 0x1878]
call fcn.0042a250
test eax, eax
je 0x4868b0
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.0049ddbe
add esp, 8
test eax, eax
je 0x4868b0
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.004aa4e8
add esp, 0xc
test eax, eax
je 0x48667c
xor edx, edx
cmp dword [esp + 0x185c], edx
jle 0x4868e1
nop dword [eax + eax]
mov ecx, dword [esp + 0x1858]
mov eax, dword [esp + 0x1870]
cmp eax, dword [ecx + edx*4]
je 0x48667c
inc edx
cmp edx, dword [esp + 0x185c]
jl 0x4868c0
mov eax, dword [esp + 0x1034]
cmp word [eax], 0
jne 0x4868fb
mov eax, dword [esp + 0x1038]
cmp word [eax], 0
je 0x48692b
lea eax, [esp + 0x20]
mov dword [esp + 0x1854], 0
push eax
push 0x486af0
push dword [esp + 0x1878]
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [esp + 0x1854], 0
je 0x48667c
inc dword [esp + 0x184c]
mov ecx, dword [esp + 0x186c]
mov eax, dword [esp + 0x1870]
mov dword [esp + 0x1850], eax
test ecx, ecx
je 0x486970
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
call fcn.00475c30
mov eax, dword [esp + 0x1850]
cmp dword [esp + 0x1870], 0
jne 0x48699a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
push eax
push 0x486a70
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1850]
cmp byte [ebp + 0x18], 0
je 0x48667e
test eax, eax
je 0x48667e
pop edi
pop esi
mov dword [ebx + 0x20], eax
pop ebx
mov esp, ebp
pop ebp
ret