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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x1a]
mov word [ebp - 0x1c], 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 - 0x1c]
push 8
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4075aa
lea eax, [ebp - 0x1c]
push str.static
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4075aa
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 0x407568
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 0x4075a6
cmp eax, 4
je 0x4075a6
cmp eax, 5
je 0x4075a6
cmp eax, 6
je 0x4075a6
cmp eax, 7
je 0x4075a6
cmp eax, 8
je 0x4075a6
cmp eax, 9
je 0x4075a6
cmp eax, 0xd
je 0x4075a6
cmp eax, 0xe
je 0x4075a6
cmp eax, 0xf
jne 0x4075aa
and byte [esi + 0x54], 0xfe
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [esi + 0x54], 1
mov dword [esi + 0x28], eax
je 0x407649
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 0x4075e9
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x30], eax
mov edx, dword [esi + 0x30]
cmp edx, ebx
je 0x407649
cmp dword [esi + 0x2c], ebx
jne 0x407649
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 0x40762b
mov dword [ebp - 0x80], 0x2bc
jmp 0x407635
test byte [esi + 0x50], 1
jne 0x407635
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
push ebx
push ecx
mov ecx, esp
push ebx
lea edi, [esi + 0x44]
call fcn.004066d4
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
push ebx
call fcn.004066d4
push dword [esi + 4]
mov ecx, edi
call fcn.004073f9
cmp dword [esi + 0x20], ebx
jne 0x4076e2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
jle 0x4076e2
lea edi, [eax + 1]
mov dword [ebp - 0x294], ebx
lea eax, [edi + edi]
cmp eax, 0x200
jbe 0x40769b
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
jmp 0x4076a1
lea eax, [ebp - 0x290]
cmp eax, ebx
mov dword [ebp - 0x294], eax
mov dword [ebp - 4], eax
je 0x4076c7
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4076c7
push dword [ebp - 4]
mov ecx, esi
call fcn.00408073
lea eax, [ebp - 0x290]
cmp dword [ebp - 0x294], eax
je 0x4076e2
push dword [ebp - 0x294]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov ecx, esi
call fcn.00407836
cmp dword [esi + 0x24], ebx
jne 0x407709
mov eax, dword [esi + 0x50]
shr eax, 2
test al, 1
jne 0x407709
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x407737
push eax
mov ecx, esi
call fcn.004080e3
jmp 0x407737
push ebx
push 1
lea edi, [esi + 0x44]
push 0x401
push dword [edi]
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.004066d4
push dword [esi + 4]
mov ecx, edi
call fcn.004069e2
test byte [esi + 0x54], 1
je 0x4077f3
push 0xf003f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.004077f8
test eax, eax
jne 0x4077e5
lea edi, [ebp - 0x32]
mov word [ebp - 0x34], bx
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
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.Anchor_Color
mov dword [ebp - 4], 0x18
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
call edi
test eax, eax
jne 0x4077ae
lea eax, [ebp - 0x34]
push eax
call fcn.00408183
cmp eax, 0xffffffff
pop ecx
je 0x4077ae
mov dword [esi + 0x48], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.Anchor_Color_Visited
mov dword [ebp - 0xc], ebx
push dword [ebp - 8]
call edi
test eax, eax
jne 0x4077e5
lea eax, [ebp - 0x34]
push eax
call fcn.00408183
cmp eax, 0xffffffff
pop ecx
je 0x4077e5
mov dword [esi + 0x4c], eax
cmp dword [ebp - 8], ebx
je 0x4077f3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret