Function at 0x404a60
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5260bb
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
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 [0x5314f4]
test eax, eax
je 0x404b68
push str.static
lea edx, [esp + 0x28c]
push edx
call dword [0x531360]
test eax, eax
jne 0x404b68
mov eax, dword [ebp + 4]
mov esi, dword [0x5313d4]
push 0xfffffffffffffff0
push eax
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x404b25
push ecx
mov ecx, dword [ebp + 4]
push 0xfffffffffffffff0
push ecx
call dword [0x5313e0]
mov edx, dword [ebp + 4]
push 0xfffffffffffffff0
push edx
call esi
and eax, 0xff
cmp eax, 3
je 0x404b64
cmp eax, 4
je 0x404b64
cmp eax, 5
je 0x404b64
cmp eax, 6
je 0x404b64
cmp eax, 7
je 0x404b64
cmp eax, 8
je 0x404b64
cmp eax, 9
je 0x404b64
cmp eax, 0xd
je 0x404b64
cmp eax, 0xe
je 0x404b64
cmp eax, 0xf
jne 0x404b68
and byte [ebp + 0x58], 0xfe
push 0x7f89
push edi
call dword [0x531510]
test byte [ebp + 0x58], 1
mov ebx, dword [0x531444]
mov dword [ebp + 0x2c], eax
je 0x404c09
mov eax, dword [ebp + 4]
push eax
call dword [0x531420]
push edi
push edi
push 0x31
push eax
call ebx
cmp eax, edi
mov dword [ebp + 0x34], eax
jne 0x404baa
push 0xd
call dword [0x5310b0]
mov dword [ebp + 0x34], eax
mov esi, dword [ebp + 0x34]
cmp esi, edi
je 0x404c09
cmp dword [ebp + 0x30], edi
jne 0x404c09
push 0x58
lea ecx, [esp + 0x24]
push edi
push ecx
mov dword [esp + 0x28], edi
call fcn.00508d80
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0x5c
push esi
call dword [0x5310bc]
mov eax, dword [ebp + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x404bec
mov dword [esp + 0x2c], 0x2bc
jmp 0x404bf7
test byte [ebp + 0x54], 1
jne 0x404bf7
mov byte [esp + 0x31], 1
lea ecx, [esp + 0x1c]
push ecx
call dword [0x5310c0]
or byte [ebp + 0x58], 8
mov dword [ebp + 0x30], eax
mov edx, dword [0x575978]
mov eax, dword [ebp + 4]
mov ecx, dword [0x573324]
push edi
push edx
mov edx, dword [0x573320]
push edi
push eax
mov eax, dword [0x57331c]
sub ecx, eax
push ecx
mov ecx, dword [0x573318]
sub edx, ecx
push edx
push eax
push ecx
push edi
push edi
push str.tooltips_class32
push edi
call dword [0x531434]
mov dword [ebp + 0x48], eax
cmp dword [ebp + 0x24], edi
jne 0x404cef
mov eax, dword [ebp + 4]
push eax
call dword [0x53140c]
cmp eax, edi
jle 0x404cef
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 0x404c81
cmp eax, 0xffffffff
jbe 0x404c8b
push 0x80070057
call fcn.004026a0
cmp eax, 0x200
jbe 0x404ca2
lea edx, [esp + 0x7c]
push edx
call fcn.00404e80
mov eax, dword [esp + 0x7c]
jmp 0x404cad
lea eax, [esp + 0x80]
mov dword [esp + 0x7c], eax
test eax, eax
mov edi, eax
je 0x404cce
push esi
push eax
mov eax, dword [ebp + 4]
push eax
call dword [0x5313dc]
test eax, eax
jle 0x404cca
push edi
push ebp
call fcn.00404ea0
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
mov dword [esp + 0x2d4], 0xffffffff
je 0x404ced
lea eax, [esp + 0x7c]
call fcn.00404e70
xor edi, edi
mov esi, ebp
call fcn.004047d0
cmp dword [ebp + 0x28], edi
jne 0x404d16
mov edx, dword [ebp + 0x54]
shr edx, 2
test dl, 1
jne 0x404d16
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x404d4d
push eax
push ebp
call fcn.004051b0
jmp 0x404d4d
mov eax, dword [ebp + 0x48]
push edi
push 1
push 0x401
push eax
call ebx
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 4]
push eax
lea edi, [ebp + 0x38]
push ecx
lea esi, [esp + 0x2a0]
call fcn.00404fa0
mov eax, dword [ebp + 0x48]
mov edx, esi
push edx
push 0
push 0x432
push eax
call ebx
xor edi, edi
test byte [ebp + 0x58], 1
je 0x404e30
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push edi
push str.SoftwareMicrosoftInternet_ExplorerSettings
push 0x80000001
mov dword [esp + 0x28], edi
call dword [section..rdata]
cmp eax, edi
jne 0x404e30
mov ebx, dword [esp + 0x14]
xor eax, eax
push str.Anchor_Color
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x2a0]
mov dword [esp + 0x20], ebx
mov word [esp + 0x2a0], ax
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.00405020
test eax, eax
jne 0x404df0
mov eax, esi
call fcn.004050a0
cmp eax, 0xffffffff
je 0x404df0
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.00405020
test eax, eax
jne 0x404e25
mov eax, esi
call fcn.004050a0
cmp eax, 0xffffffff
je 0x404e25
mov dword [ebp + 0x50], eax
test ebx, ebx
je 0x404e30
push ebx
call dword [0x531004]
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.004ff939
add esp, 0x2c4
ret 4