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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x32]
mov word [ebp - 0x34], bx
mov esi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push 8
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x407b2a
lea eax, [ebp - 0x34]
push str.static
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x407b2a
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
mov ecx, eax
or ch, 1
cmp eax, ecx
je 0x407ae8
push ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
and eax, 0xff
cmp eax, 3
je 0x407b26
cmp eax, 4
je 0x407b26
cmp eax, 5
je 0x407b26
cmp eax, 6
je 0x407b26
cmp eax, 7
je 0x407b26
cmp eax, 8
je 0x407b26
cmp eax, 9
je 0x407b26
cmp eax, 0xd
je 0x407b26
cmp eax, 0xe
je 0x407b26
cmp eax, 0xf
jne 0x407b2a
and byte [esi + 0x54], 0xfe
push 0x481478
mov eax, dword [0x496344]
push 0x4813f8
push 0x20
push 0x20
push dword [0x4813f4]
push dword [0x4813f0]
push eax
call dword [sym.imp.USER32.dll_CreateCursor]
test byte [esi + 0x54], 1
mov dword [esi + 0x28], eax
je 0x407be3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
mov dword [esi + 0x30], eax
jne 0x407b83
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x30], eax
mov edx, dword [esi + 0x30]
cmp edx, ebx
je 0x407be3
cmp dword [esi + 0x2c], ebx
jne 0x407be3
push 0x16
xor eax, eax
pop ecx
lea edi, [ebp - 0x8c]
mov dword [ebp - 0x90], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x90]
push eax
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x50]
and eax, 0x30
cmp al, 0x30
jne 0x407bc5
mov dword [ebp - 0x80], 0x2bc
jmp 0x407bcf
test byte [esi + 0x50], 1
jne 0x407bcf
mov byte [ebp - 0x7b], 1
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x54], 8
mov dword [esi + 0x2c], eax
xor edi, edi
lea ebx, [esi + 0x44]
push edi
push ecx
mov ecx, esp
push edi
call fcn.00411a35
push edi
push edi
push edi
push ecx
mov ecx, esp
push edi
call fcn.00411a35
push dword [esi + 4]
mov ecx, ebx
call fcn.00407d84
cmp dword [esi + 0x20], edi
jne 0x407c4a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jle 0x407c4a
lea edi, [eax + 1]
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0046d370
mov dword [ebp - 4], esp
push edi
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x407c48
push dword [ebp - 4]
mov ecx, esi
call fcn.00407e7d
xor edi, edi
mov ecx, esi
call fcn.0040811e
cmp dword [esi + 0x24], edi
jne 0x407c71
mov eax, dword [esi + 0x50]
shr eax, 2
test al, 1
jne 0x407c71
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x407c9c
push eax
mov ecx, esi
call fcn.00407f2d
jmp 0x407c9c
push edi
push 1
push 0x401
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0x34]
push 1
push eax
push ecx
mov ecx, esp
push dword [esi + 0x24]
call fcn.00411a35
push dword [esi + 4]
mov ecx, ebx
call fcn.00407dd6
test byte [esi + 0x54], 1
je 0x407d59
push 0xf003f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SHChangeNotifyDeregister
lea ecx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00403828
test eax, eax
jne 0x407d4b
mov word [ebp - 0x24], di
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x18
and dword [ebp - 0xc], 0
stosw word es:[edi], ax
pop ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ebx
push eax
push 0
push str.Anchor_Color
push dword [ebp - 8]
call edi
test eax, eax
jne 0x407d14
lea eax, [ebp - 0x24]
push eax
call fcn.00408070
cmp eax, 0xffffffff
pop ecx
je 0x407d14
mov dword [esi + 0x48], eax
lea eax, [ebp - 4]
and dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.Anchor_Color_Visited
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call edi
test eax, eax
jne 0x407d49
lea eax, [ebp - 0x24]
push eax
call fcn.00408070
cmp eax, 0xffffffff
pop ecx
je 0x407d49
mov dword [esi + 0x4c], eax
xor edi, edi
cmp dword [ebp - 8], edi
je 0x407d59
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0x9c]
pop edi
pop esi
pop ebx
leave
ret