Function at 0x404ae3
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x288
lea ebp, [esp - 4]
mov eax, dword [0x489190]
xor eax, ebp
mov dword [ebp + 0x288], eax
push 8
mov eax, 0x465025
call fcn.00445fa2
xor eax, eax
xor ebx, ebx
mov word [ebp + 0x278], bx
lea edi, [ebp + 0x27a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 8
mov esi, ecx
lea eax, [ebp + 0x278]
push eax
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x404ba0
push str.static
lea eax, [ebp + 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404ba0
push ebx
push 0x100
push ebx
mov ecx, edi
call fcn.00401dc0
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff
cmp eax, 3
je 0x404b9c
cmp eax, 4
je 0x404b9c
cmp eax, 5
je 0x404b9c
cmp eax, 6
je 0x404b9c
cmp eax, 7
je 0x404b9c
cmp eax, 8
je 0x404b9c
cmp eax, 9
je 0x404b9c
cmp eax, 0xd
je 0x404b9c
cmp eax, 0xe
je 0x404b9c
cmp eax, 0xf
jne 0x404ba0
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 0x404c56
push dword [edi]
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 0x404bde
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x404c56
cmp dword [esi + 0x30], ebx
jne 0x404c56
push 0x58
lea eax, [ebp + 0x208]
push ebx
push eax
mov dword [ebp + 0x204], ebx
call fcn.004456a0
mov eax, dword [esi + 0x34]
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
lea ecx, [ebp + 0x204]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x404c31
mov dword [ebp + 0x214], 0x2bc
jmp 0x404c3e
test byte [esi + 0x54], 1
jne 0x404c3e
mov byte [ebp + 0x219], 1
lea eax, [ebp + 0x204]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
or dword [ebp - 4], 0xffffffff
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], ebx
push dword [edi]
lea ecx, [esi + 0x48]
call fcn.00402fc7
cmp dword [esi + 0x24], ebx
jne 0x404cd1
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
jle 0x404cd1
mov dword [ebp], ebx
mov dword [ebp - 4], 1
inc eax
push eax
lea ecx, [ebp]
mov dword [ebp - 0x10], eax
call fcn.00403ae5
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x404cbd
push dword [ebp - 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x404cbd
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00403d94
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x404cd1
lea ecx, [ebp]
call fcn.0041213e
mov ecx, esi
call fcn.00403bb9
cmp dword [esi + 0x28], ebx
jne 0x404cf8
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x404cf8
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x404d24
push eax
mov ecx, esi
call fcn.00403e2f
jmp 0x404d24
push ebx
push 1
push 0x401
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
lea eax, [esi + 0x38]
push eax
mov eax, dword [esi + 0x28]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x10], esp
push dword [edi]
lea ecx, [esi + 0x48]
call fcn.00402ff7
test byte [esi + 0x58], 1
je 0x404de4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 2
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.00401519
cmp eax, ebx
jne 0x404dd8
xor eax, eax
mov word [ebp + 0x260], bx
lea edi, [ebp + 0x262]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc
stosw word es:[edi], ax
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x260]
push eax
push str.Anchor_Color
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
call fcn.0040154e
test eax, eax
jne 0x404da4
lea eax, [ebp + 0x260]
push eax
call fcn.00403030
cmp eax, 0xffffffff
pop ecx
je 0x404da4
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x260]
push eax
push 0x46cab8
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
call fcn.0040154e
cmp eax, ebx
jne 0x404dd8
lea eax, [ebp + 0x260]
push eax
call fcn.00403030
cmp eax, 0xffffffff
pop ecx
je 0x404dd8
mov dword [esi + 0x50], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401502
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x288]
xor ecx, ebp
call fcn.00445f93
add ebp, 0x28c
leave
ret