Function at 0x41a820
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 0x41a928
push 0x5be010
lea edx, [esp + 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41a928
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 0x41a8e5
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 0x41a924
cmp eax, 4
je 0x41a924
cmp eax, 5
je 0x41a924
cmp eax, 6
je 0x41a924
cmp eax, 7
je 0x41a924
cmp eax, 8
je 0x41a924
cmp eax, 9
je 0x41a924
cmp eax, 0xd
je 0x41a924
cmp eax, 0xe
je 0x41a924
cmp eax, 0xf
jne 0x41a928
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 0x41a9c7
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 0x41a968
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp + 0x34], eax
mov esi, dword [ebp + 0x34]
cmp esi, edi
je 0x41a9c7
cmp dword [ebp + 0x30], edi
jne 0x41a9c7
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 0x41a9aa
mov dword [esp + 0x2c], 0x2bc
jmp 0x41a9b5
test byte [ebp + 0x54], 1
jne 0x41a9b5
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 0x41aa91
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jle 0x41aa91
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 0x41aa23
cmp eax, 0xffffffff
jbe 0x41aa2d
push 0x80070057
call fcn.00404550
cmp eax, 0x200
jbe 0x41aa44
lea edx, [esp + 0x7c]
push edx
call fcn.0041ac30
mov eax, dword [esp + 0x7c]
jmp 0x41aa4f
lea eax, [esp + 0x80]
mov dword [esp + 0x7c], eax
test eax, eax
mov edi, eax
je 0x41aa70
push esi
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x41aa6c
push edi
push ebp
call fcn.0041ac50
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
mov dword [esp + 0x2d4], 0xffffffff
je 0x41aa8f
lea eax, [esp + 0x7c]
call fcn.0041ac20
xor edi, edi
mov eax, ebp
call fcn.0041a5a0
cmp dword [ebp + 0x28], edi
jne 0x41aab8
mov edx, dword [ebp + 0x54]
shr edx, 2
test dl, 1
jne 0x41aab8
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x41aaf5
push eax
push ebp
call fcn.0041aeb0
jmp 0x41aaf5
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 0x41abd8
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 0x41abd8
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 0x41ab98
mov eax, esi
call fcn.004608e0
cmp eax, 0xffffffff
je 0x41ab98
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 0x41abcd
mov eax, esi
call fcn.004608e0
cmp eax, 0xffffffff
je 0x41abcd
mov dword [ebp + 0x50], eax
test ebx, ebx
je 0x41abd8
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