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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2180
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xc0
mov eax, dword [0x4e3050]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xbc], edi
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
lea esi, [edi + 4]
mov dword [ebp - 0xb8], esi
push 8
lea eax, [ebp - 0x44]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x41a716
push str.static
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41a716
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x41a6d3
push ecx
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx eax, al
cmp eax, 3
je 0x41a712
cmp eax, 4
je 0x41a712
cmp eax, 5
je 0x41a712
cmp eax, 6
je 0x41a712
cmp eax, 7
je 0x41a712
cmp eax, 8
je 0x41a712
cmp eax, 9
je 0x41a712
cmp eax, 0xd
je 0x41a712
cmp eax, 0xe
je 0x41a712
cmp eax, 0xf
jne 0x41a716
and byte [edi + 0x58], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [edi + 0x2c], eax
lea esi, [edi + 0x58]
mov dword [ebp - 0xb4], esi
test byte [esi], 1
je 0x41a780
cmp dword [edi + 0x34], 0
jne 0x41a773
push 0x5c
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.0047f4f0
add esp, 0xc
push 0
lea eax, [ebp - 0xa8]
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [edi + 0x34], eax
or byte [esi], 0x10
cmp dword [edi + 0x30], 0
jne 0x41a780
mov ecx, edi
call fcn.0041b6b0
lea eax, [edi + 0x48]
mov dword [ebp - 0xac], eax
mov edx, dword [0x4e3b14]
sub edx, dword [0x4e3b0c]
mov eax, dword [0x4e3b10]
mov ecx, dword [0x4e3b08]
sub eax, ecx
push 0
push dword [0x4e4484]
push 0
mov esi, dword [ebp - 0xb8]
push dword [esi]
push edx
push eax
mov esi, dword [0x4e3b0c]
push esi
push ecx
push 0
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0xac]
mov dword [ecx], eax
lea esi, [edi + 0x24]
mov dword [ebp - 0xb0], esi
cmp dword [esi], 0
jne 0x41a881
mov esi, dword [ebp - 0xb8]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xd0], eax
test eax, eax
jle 0x41a87b
mov dword [ebp - 4], 0
inc eax
mov dword [ebp - 0xcc], eax
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d9ad
add esp, 4
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xcc]
jmp 0x41a86b
mov ecx, dword [ecx]
test ecx, ecx
je 0x41a87b
push eax
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0xb0]
mov ecx, edi
call fcn.0041b1b0
cmp dword [edi + 0x28], 0
jne 0x41a8a8
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x41a8a8
mov eax, dword [esi]
test eax, eax
je 0x41a8e0
push eax
mov ecx, edi
call fcn.0041b790
jmp 0x41a8e0
push 0
push 1
push 0x401
mov eax, dword [ebp - 0xac]
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xb8]
mov esi, dword [eax]
push ecx
lea eax, [edi + 0x38]
push eax
mov edx, dword [edi + 0x28]
push ecx
mov eax, esp
mov dword [eax], edx
push esi
mov ecx, dword [ebp - 0xac]
call fcn.0041bd80
mov eax, dword [ebp - 0xb4]
test byte [eax], 1
je 0x41aa5b
xor esi, esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 4], 2
mov dword [ebp - 0xac], esi
lea eax, [ebp - 0xac]
push eax
push 0x2001f
push esi
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41aa35
mov dword [ebp - 0xc4], eax
mov esi, dword [ebp - 0xac]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0xac], 0x18
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push str.Anchor_Color
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a9c7
mov eax, dword [ebp - 0xb4]
cmp eax, 1
je 0x41a997
cmp eax, 2
jne 0x41a9c7
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x41a9b1
test al, 1
jne 0x41a9c7
shr eax, 1
cmp word [ebp + eax*2 - 0x36], 0
je 0x41a9b7
jmp 0x41a9c7
xor eax, eax
mov word [ebp - 0x34], ax
lea ecx, [ebp - 0x34]
call fcn.0041b430
cmp eax, 0xffffffff
je 0x41a9c7
mov dword [edi + 0x4c], eax
mov dword [ebp - 0xac], 0x18
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push str.Anchor_Color_Visited
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41aa35
mov eax, dword [ebp - 0xb4]
cmp eax, 1
je 0x41aa05
cmp eax, 2
jne 0x41aa35
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x41aa1f
test al, 1
jne 0x41aa35
shr eax, 1
cmp word [ebp + eax*2 - 0x36], 0
je 0x41aa25
jmp 0x41aa35
xor eax, eax
mov word [ebp - 0x34], ax
lea ecx, [ebp - 0x34]
call fcn.0041b430
cmp eax, 0xffffffff
je 0x41aa35
mov dword [edi + 0x50], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41aa51
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047d4df
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret