Function at 0x416d70
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5f96bb
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x2cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2dc]
mov ecx, dword [ebp + 4]
xor eax, eax
mov dword [esp + 0x28a], eax
mov dword [esp + 0x28e], eax
mov dword [esp + 0x292], eax
mov word [esp + 0x296], ax
push 8
lea eax, [esp + 0x28c]
push eax
xor edi, edi
push ecx
mov word [esp + 0x294], di
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x416e78
push 0x62609c
lea edx, [esp + 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x416e78
mov eax, dword [ebp + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push eax
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x416e35
push ecx
mov ecx, dword [ebp + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp + 4]
push 0xfffffffffffffff0
push edx
call esi
and eax, 0xff
cmp eax, 3
je 0x416e74
cmp eax, 4
je 0x416e74
cmp eax, 5
je 0x416e74
cmp eax, 6
je 0x416e74
cmp eax, 7
je 0x416e74
cmp eax, 8
je 0x416e74
cmp eax, 9
je 0x416e74
cmp eax, 0xd
je 0x416e74
cmp eax, 0xe
je 0x416e74
cmp eax, 0xf
jne 0x416e78
and byte [ebp + 0x58], 0xfe
push 0x7f89
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [ebp + 0x58], 1
mov dword [ebp + 0x2c], eax
je 0x416f17
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push edi
push edi
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
mov dword [ebp + 0x34], eax
jne 0x416eb8
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp + 0x34], eax
mov esi, dword [ebp + 0x34]
cmp esi, edi
je 0x416f17
cmp dword [ebp + 0x30], edi
jne 0x416f17
push 0x58
lea ecx, [esp + 0x24]
push edi
push ecx
mov dword [esp + 0x28], edi
call fcn.005da970
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x416efa
mov dword [esp + 0x2c], 0x2bc
jmp 0x416f05
test byte [ebp + 0x54], 1
jne 0x416f05
mov byte [esp + 0x31], 1
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [ebp + 0x58], 8
mov dword [ebp + 0x30], eax
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push edi
push edi
push ecx
mov dword [eax], edi
mov eax, esp
mov dword [eax], edi
mov edx, dword [ebp + 4]
mov dword [esp + 0x28], esp
push edx
lea ebx, [ebp + 0x48]
push ebx
call fcn.0040ee40
cmp dword [ebp + 0x24], edi
jne 0x416fe1
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jle 0x416fe1
mov dword [esp + 0x7c], edi
lea esi, [eax + 1]
mov eax, esi
mov ecx, 2
mul ecx
cmp edx, edi
mov dword [esp + 0x2d4], edi
ja 0x416f73
cmp eax, 0xffffffff
jbe 0x416f7d
push 0x80070057
call fcn.00403650
cmp eax, 0x200
jbe 0x416f94
lea edx, [esp + 0x7c]
push edx
call fcn.00476da0
mov eax, dword [esp + 0x7c]
jmp 0x416f9f
lea eax, [esp + 0x80]
mov dword [esp + 0x7c], eax
test eax, eax
mov edi, eax
je 0x416fc0
push esi
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x416fbc
push edi
push ebp
call fcn.00417160
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
mov dword [esp + 0x2d4], 0xffffffff
je 0x416fdf
lea eax, [esp + 0x7c]
call fcn.00476d50
xor edi, edi
mov eax, ebp
call fcn.00416af0
cmp dword [ebp + 0x28], edi
jne 0x417008
mov edx, dword [ebp + 0x54]
shr edx, 2
test dl, 1
jne 0x417008
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x417045
push eax
push ebp
call fcn.004174e0
jmp 0x417045
mov eax, dword [ebx]
push edi
push 1
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 4]
push eax
lea edi, [ebp + 0x38]
push ecx
lea esi, [esp + 0x2a0]
call fcn.00417260
mov eax, dword [ebx]
mov edx, esi
push edx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
test byte [ebp + 0x58], 1
je 0x417128
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push edi
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocStringLen
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x417128
mov ebx, dword [esp + 0x14]
xor eax, eax
push str.Anchor_Color
lea edx, [esp + 0x1c]
mov word [esp + 0x29c], di
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x2a0]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2a2], eax
mov dword [esp + 0x2a6], eax
mov dword [esp + 0x2aa], eax
mov dword [esp + 0x2ae], eax
mov dword [esp + 0x2b2], eax
mov word [esp + 0x2b6], ax
mov dword [esp + 0x1c], 0xc
call fcn.004172c0
test eax, eax
jne 0x4170e8
mov eax, esi
call fcn.00417340
cmp eax, 0xffffffff
je 0x4170e8
mov dword [ebp + 0x4c], eax
push str.Anchor_Color_Visited
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x1c]
lea esi, [esp + 0x2a0]
mov dword [esp + 0x1c], 0xc
call fcn.004172c0
test eax, eax
jne 0x41711d
mov eax, esi
call fcn.00417340
cmp eax, 0xffffffff
je 0x41711d
mov dword [ebp + 0x50], eax
test ebx, ebx
je 0x417128
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.005d28b3
add esp, 0x2c4
ret 4