Function at 0x410660
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x47f531
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x2a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x2bc]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x27e], eax
mov dword [esp + 0x282], eax
mov dword [esp + 0x286], eax
mov word [esp + 0x28a], ax
push 8
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x280]
push eax
xor ebx, ebx
push ecx
mov word [esp + 0x288], bx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x410763
push str.static
lea edx, [esp + 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x410763
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push eax
call edi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x410720
push ecx
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call edi
and eax, 0xff
cmp eax, 3
je 0x41075f
cmp eax, 4
je 0x41075f
cmp eax, 5
je 0x41075f
cmp eax, 6
je 0x41075f
cmp eax, 7
je 0x41075f
cmp eax, 8
je 0x41075f
cmp eax, 9
je 0x41075f
cmp eax, 0xd
je 0x41075f
cmp eax, 0xe
je 0x41075f
cmp eax, 0xf
jne 0x410763
and byte [esi + 0x58], 0xfe
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x410818
mov eax, dword [esi + 4]
push eax
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 + 0x34], eax
jne 0x4107a3
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebx
je 0x410818
cmp dword [esi + 0x30], ebx
jne 0x410818
push 0x58
lea ecx, [esp + 0x24]
push ebx
push ecx
mov dword [esp + 0x28], ebx
call fcn.004611e0
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c4], ebx
lea edx, [esp + 0x1c]
push edx
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x4107f0
mov dword [esp + 0x2c], 0x2bc
jmp 0x4107fb
test byte [esi + 0x54], 1
jne 0x4107fb
mov byte [esp + 0x31], 1
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov dword [esp + 0x2c4], 0xffffffff
push ebx
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
mov edx, dword [esi + 4]
mov dword [esp + 0x2c], esp
lea ebp, [esi + 0x48]
push edx
mov ecx, ebp
call fcn.0040f850
cmp dword [esi + 0x24], ebx
jne 0x4108a9
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
jle 0x4108a9
mov dword [esp + 0x78], ebx
mov dword [esp + 0x2c4], 1
lea ebx, [eax + 1]
push ebx
lea ecx, [esp + 0x7c]
call fcn.0040fe30
mov edi, eax
test edi, edi
je 0x410889
mov ecx, dword [esi + 4]
push ebx
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x410889
push edi
mov ecx, esi
call fcn.00410410
mov dword [esp + 0x2c4], 0xffffffff
lea edx, [esp + 0x7c]
cmp dword [esp + 0x78], edx
je 0x4108a7
lea ecx, [esp + 0x78]
call fcn.0042e6d0
xor ebx, ebx
mov ecx, esi
call fcn.00410160
cmp dword [esi + 0x28], ebx
jne 0x4108d0
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x4108d0
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x410914
push eax
mov ecx, esi
call fcn.00410510
jmp 0x410914
mov ecx, dword [ebp]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
push 0x401
push ecx
call edi
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 4]
push ebx
push eax
lea edx, [esi + 0x38]
push edx
push 1
push ecx
push ebx
lea ecx, [esp + 0x2a4]
call fcn.0040f470
mov ecx, dword [ebp]
lea eax, [esp + 0x28c]
push eax
push ebx
push 0x432
push ecx
call edi
test byte [esi + 0x58], 1
je 0x410a28
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c4], 2
lea edx, [esp + 0x14]
push edx
push 0x2001f
push ebx
push str.SoftwareMicrosoftInternet_ExplorerSettings
push reloc.WS2_32.dll_accept
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x410a0e
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], edi
xor eax, eax
mov dword [esp + 0x28e], eax
mov dword [esp + 0x292], eax
mov dword [esp + 0x296], eax
mov dword [esp + 0x29a], eax
mov dword [esp + 0x29e], eax
mov word [esp + 0x2a2], ax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x290]
push ecx
mov ebp, 0xc
push str.Anchor_Color
lea ecx, [esp + 0x24]
mov word [esp + 0x298], bx
mov dword [esp + 0x20], ebp
call fcn.0040db60
test eax, eax
jne 0x4109d3
lea edx, [esp + 0x28c]
push edx
call fcn.0040f990
add esp, 4
cmp eax, 0xffffffff
je 0x4109d3
mov dword [esi + 0x4c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x290]
push ecx
push str.Anchor_Color_Visited
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebp
call fcn.0040db60
cmp eax, ebx
jne 0x410a0e
lea edx, [esp + 0x28c]
push edx
call fcn.0040f990
add esp, 4
cmp eax, 0xffffffff
je 0x410a0e
mov dword [esi + 0x50], eax
mov dword [esp + 0x2c4], 0xffffffff
cmp edi, ebx
je 0x410a28
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x2bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.00460e4b
add esp, 0x2b4
ret