Function at 0x4fd9f0
Capabilities:
Get graphical window text
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x723ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x9c], edi
push eax
push dword [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4fdabb
push str.static
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4fdabb
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x4fda7b
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
movzx eax, al
cmp eax, 3
je 0x4fdab7
cmp eax, 4
je 0x4fdab7
cmp eax, 5
je 0x4fdab7
cmp eax, 6
je 0x4fdab7
cmp eax, 7
je 0x4fdab7
cmp eax, 8
je 0x4fdab7
cmp eax, 9
je 0x4fdab7
cmp eax, 0xd
je 0x4fdab7
cmp eax, 0xe
je 0x4fdab7
cmp eax, 0xf
jne 0x4fdabb
and byte [edi + 0x58], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [edi + 0x58], 1
mov dword [edi + 0x2c], eax
je 0x4fdb1e
cmp dword [edi + 0x34], 0
jne 0x4fdb11
push 0x5c
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.006f7570
add esp, 0xc
lea eax, [ebp - 0x98]
push 0
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [edi + 0x58], 0x10
mov dword [edi + 0x34], eax
cmp dword [edi + 0x30], 0
jne 0x4fdb1e
mov ecx, edi
call fcn.004fd400
mov eax, dword [0x7d9a94]
mov edx, dword [0x7d9a8c]
sub eax, edx
mov ecx, dword [0x7d9a88]
push 0
push dword [0x7f44ec]
push 0
push dword [edi + 4]
push eax
mov eax, dword [0x7d9a90]
sub eax, ecx
push eax
push edx
push ecx
push 0
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x48], eax
cmp dword [edi + 0x24], 0
jne 0x4fdbd2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0xa4], esi
test esi, esi
jle 0x4fdbd2
xor ecx, ecx
mov dword [ebp - 4], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006f4bad
mov ecx, eax
add esp, 4
mov dword [edi + 0x24], ecx
jmp 0x4fdbb9
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4fdbd2
lea eax, [esi + 1]
push eax
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
call fcn.004fcfe0
cmp dword [edi + 0x28], 0
jne 0x4fdbfa
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x4fdbfa
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4fdc25
push eax
mov ecx, edi
call fcn.00500570
jmp 0x4fdc25
push 0
push 1
push 0x401
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 0x28]
lea eax, [edi + 0x38]
push 1
push eax
push ecx
mov eax, esp
lea ecx, [edi + 0x48]
mov dword [eax], edx
push dword [edi + 4]
call fcn.004fcdf0
test byte [edi + 0x58], 1
je 0x4fdd60
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftInternet_ExplorerSettings
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fdd60
mov esi, dword [ebp - 0xa4]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x9c], 0x18
push eax
lea eax, [ebp - 0xa0]
xorps xmm0, xmm0
push eax
push 0
push str.Anchor_Color
push esi
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4fdce3
mov eax, dword [ebp - 0xa0]
cmp eax, 1
je 0x4fdcaf
cmp eax, 2
jne 0x4fdce3
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x4fdcc9
test al, 1
jne 0x4fdce3
shr eax, 1
cmp word [ebp + eax*2 - 0x2e], 0
je 0x4fdccf
jmp 0x4fdce3
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00500a40
add esp, 4
cmp eax, 0xffffffff
je 0x4fdce3
mov dword [edi + 0x4c], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x18
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
push str.Anchor_Color_Visited
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4fdd55
mov eax, dword [ebp - 0xa0]
cmp eax, 1
je 0x4fdd21
cmp eax, 2
jne 0x4fdd55
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x4fdd3b
test al, 1
jne 0x4fdd55
shr eax, 1
cmp word [ebp + eax*2 - 0x2e], 0
je 0x4fdd41
jmp 0x4fdd55
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00500a40
add esp, 4
cmp eax, 0xffffffff
je 0x4fdd55
mov dword [edi + 0x50], eax
test esi, esi
je 0x4fdd60
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret