Function at 0x45f6a0
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 0x551980
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xb0
mov eax, dword [0x5d6024]
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 - 0xac], edi
mov dword [ebp - 0xb0], edi
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
push 8
lea eax, [ebp - 0x44]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x45f785
push str.static
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45f785
push 0xfffffffffffffff0
push dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x45f745
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 0x45f781
cmp eax, 4
je 0x45f781
cmp eax, 5
je 0x45f781
cmp eax, 6
je 0x45f781
cmp eax, 7
je 0x45f781
cmp eax, 8
je 0x45f781
cmp eax, 9
je 0x45f781
cmp eax, 0xd
je 0x45f781
cmp eax, 0xe
je 0x45f781
cmp eax, 0xf
jne 0x45f785
and byte [edi + 0x58], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [edi + 0x2c], eax
test byte [edi + 0x58], 1
je 0x45f7e8
cmp dword [edi + 0x34], 0
jne 0x45f7db
push 0x5c
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.00524550
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 [edi + 0x58], 0x10
cmp dword [edi + 0x30], 0
jne 0x45f7e8
mov ecx, edi
call fcn.0045fab0
mov edx, dword [0x5d6ba8]
mov esi, dword [0x5d6ba0]
sub edx, esi
mov eax, dword [0x5d6ba4]
mov ecx, dword [0x5d6b9c]
sub eax, ecx
push 0
push dword [0x5db42c]
push 0
push dword [edi + 4]
push edx
push eax
push esi
push ecx
push 0
push 0
push 0x5868b0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x48], eax
lea esi, [edi + 0x24]
mov dword [ebp - 0xb4], esi
cmp dword [esi], 0
jne 0x45f8c8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0xc4], esi
test esi, esi
jle 0x45f8c2
mov dword [ebp - 4], 0
lea eax, [esi + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00522afe
add esp, 4
mov ecx, dword [ebp - 0xb4]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x45f8ae
mov ecx, dword [ecx]
test ecx, ecx
je 0x45f8c2
lea eax, [esi + 1]
push eax
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0xb4]
lea ecx, [edi - 0x130]
call fcn.00474d40
cmp dword [edi + 0x28], 0
jne 0x45f8f3
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x45f8f3
mov eax, dword [esi]
test eax, eax
je 0x45f92b
push eax
mov ecx, edi
call fcn.0045f370
jmp 0x45f92b
push 0
push 1
push 0x401
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xac]
mov esi, dword [edx + 4]
push 1
lea eax, [edx + 0x38]
push eax
mov edx, dword [edx + 0x28]
push ecx
mov eax, esp
mov dword [eax], edx
push esi
lea ecx, [edi + 0x48]
call fcn.0045fd70
mov edi, dword [ebp - 0xac]
test byte [edi + 0x58], 1
je 0x45fa90
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 2
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push 0x80000001
lea ecx, [ebp - 0xc0]
call fcn.0045fc80
mov esi, dword [ebp - 0xc0]
test eax, eax
jne 0x45fa6a
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 - 0xb0]
push eax
push 0
push str.Anchor_Color
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45f9fc
mov eax, dword [ebp - 0xb0]
cmp eax, 1
je 0x45f9cc
cmp eax, 2
jne 0x45f9fc
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x45f9e6
test al, 1
jne 0x45f9fc
shr eax, 1
cmp word [ebp + eax*2 - 0x36], 0
je 0x45f9ec
jmp 0x45f9fc
xor eax, eax
mov word [ebp - 0x34], ax
lea ecx, [ebp - 0x34]
call fcn.0045fb90
cmp eax, 0xffffffff
je 0x45f9fc
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 - 0xb0]
push eax
push 0
push 0x58af24
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45fa6a
mov eax, dword [ebp - 0xb0]
cmp eax, 1
je 0x45fa3a
cmp eax, 2
jne 0x45fa6a
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x45fa54
test al, 1
jne 0x45fa6a
shr eax, 1
cmp word [ebp + eax*2 - 0x36], 0
je 0x45fa5a
jmp 0x45fa6a
xor eax, eax
mov word [ebp - 0x34], ax
lea ecx, [ebp - 0x34]
call fcn.0045fb90
cmp eax, 0xffffffff
je 0x45fa6a
mov dword [edi + 0x50], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x45fa86
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 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.0052223b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret