Function at 0x4602a0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x59fcfb
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
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 0x4603a8
push 0x5be010
lea edx, [esp + 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4603a8
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 0x460365
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 0x4603a4
cmp eax, 4
je 0x4603a4
cmp eax, 5
je 0x4603a4
cmp eax, 6
je 0x4603a4
cmp eax, 7
je 0x4603a4
cmp eax, 8
je 0x4603a4
cmp eax, 9
je 0x4603a4
cmp eax, 0xd
je 0x4603a4
cmp eax, 0xe
je 0x4603a4
cmp eax, 0xf
jne 0x4603a8
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 0x460447
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 0x4603e8
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp + 0x34], eax
mov esi, dword [ebp + 0x34]
cmp esi, edi
je 0x460447
cmp dword [ebp + 0x30], edi
jne 0x460447
push 0x58
lea ecx, [esp + 0x24]
push edi
push ecx
mov dword [esp + 0x28], edi
call fcn.00580260
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 0x46042a
mov dword [esp + 0x2c], 0x2bc
jmp 0x460435
test byte [ebp + 0x54], 1
jne 0x460435
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.004128b0
cmp dword [ebp + 0x24], edi
jne 0x460511
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jle 0x460511
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 0x4604a3
cmp eax, 0xffffffff
jbe 0x4604ad
push 0x80070057
call fcn.00404550
cmp eax, 0x200
jbe 0x4604c4
lea edx, [esp + 0x7c]
push edx
call fcn.0041ac30
mov eax, dword [esp + 0x7c]
jmp 0x4604cf
lea eax, [esp + 0x80]
mov dword [esp + 0x7c], eax
test eax, eax
mov edi, eax
je 0x4604f0
push esi
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4604ec
push edi
push ebp
call fcn.004606b0
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
mov dword [esp + 0x2d4], 0xffffffff
je 0x46050f
lea eax, [esp + 0x7c]
call fcn.0041ac20
xor edi, edi
mov esi, ebp
call fcn.00460970
cmp dword [ebp + 0x28], edi
jne 0x460538
mov edx, dword [ebp + 0x54]
shr edx, 2
test dl, 1
jne 0x460538
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x460575
push eax
push ebp
call fcn.004607b0
jmp 0x460575
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.0041ad50
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 0x460658
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push edi
push str.SoftwareMicrosoftInternet_ExplorerSettings
push closesocket
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x460658
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.0041adb0
test eax, eax
jne 0x460618
mov eax, esi
call fcn.004608e0
cmp eax, 0xffffffff
je 0x460618
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.0041adb0
test eax, eax
jne 0x46064d
mov eax, esi
call fcn.004608e0
cmp eax, 0xffffffff
je 0x46064d
mov dword [ebp + 0x50], eax
test ebx, ebx
je 0x460658
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.005787fd
add esp, 0x2c4
ret 4