Function at 0x409620
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x421204]
push ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov esi, ecx
mov edx, dword [esi + 4]
xor eax, eax
push 8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x17], eax
lea ebx, [esi + 4]
push ecx
mov word [ebp - 0x13], ax
push edx
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x11], al
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x4096d6
push str.static
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4096d6
push eax
push pe_nt_image_headers32
push eax
mov ecx, ebx
call fcn.00409a30
mov ecx, dword [ebx]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff
cmp eax, 3
je 0x4096d2
cmp eax, 4
je 0x4096d2
cmp eax, 5
je 0x4096d2
cmp eax, 6
je 0x4096d2
cmp eax, 7
je 0x4096d2
cmp eax, 8
je 0x4096d2
cmp eax, 9
je 0x4096d2
cmp eax, 0xd
je 0x4096d2
cmp eax, 0xe
je 0x4096d2
cmp eax, 0xf
jne 0x4096d6
and byte [esi + 0x58], 0xfe
mov edx, dword [0x4210e4]
mov eax, dword [0x4210e0]
mov ecx, dword [0x422248]
push 0x421168
push 0x4210e8
push 0x20
push 0x20
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateCursor]
mov dword [esi + 0x2c], eax
test byte [esi + 0x58], 1
je 0x409790
mov edx, dword [ebx]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esi + 0x34], eax
jne 0x409733
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edx, dword [esi + 0x34]
test edx, edx
je 0x409790
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x409790
xor eax, eax
mov dword [ebp - 0x60], 0
mov ecx, 0xe
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esi + 0x54]
and ecx, 0x30
cmp cl, 0x30
jne 0x409775
mov dword [ebp - 0x50], 0x2bc
jmp 0x40977f
test byte [esi + 0x54], 1
jne 0x40977f
mov byte [ebp - 0x4b], 1
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [esi + 0x30], eax
or byte [esi + 0x58], 8
mov eax, dword [ebx]
push 0
push ecx
mov ecx, esp
push 0
push 0
push 0
push ecx
mov dword [ecx], 0
mov ecx, esp
push eax
mov dword [ecx], 0
lea edi, [esi + 0x48]
push str.tooltips_class32
mov ecx, edi
call fcn.004099d0
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x409801
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x409801
inc eax
mov dword [ebp - 0x64], eax
add eax, 3
and eax, 0xfffffffc
call fcn.004124d0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebx]
mov eax, esp
push ecx
push eax
push edx
mov dword [ebp - 0x68], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x409801
mov eax, dword [ebp - 0x68]
push eax
mov ecx, esi
call fcn.004018a0
mov ecx, esi
call fcn.004015c0
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x40982b
mov ecx, dword [esi + 0x54]
shr ecx, 2
test cl, 1
jne 0x40982b
mov eax, dword [esi + 0x24]
test eax, eax
je 0x40986a
push eax
mov ecx, esi
call fcn.00401910
jmp 0x40986a
mov edx, dword [edi]
push 0
push 1
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x28]
mov ebx, dword [ebx]
push 0
push eax
lea eax, [esi + 0x38]
push eax
push 1
push ebx
push 0
lea ecx, [ebp - 0x50]
call fcn.00401310
mov edx, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0x404
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [esi + 0x58], 1
je 0x40993c
xor eax, eax
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x64]
push ecx
push 0x2001f
push eax
push str.SoftwareMicrosoftInternet_ExplorerSettings
push 0x80000001
mov dword [ebp - 4], eax
mov dword [ebp - 0x64], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x409932
mov ecx, dword [ebp - 0x68]
xor eax, eax
test ecx, ecx
je 0x4098b3
push ecx
call ebx
test eax, eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
jne 0x409932
mov byte [ebp - 0x24], al
mov dword [ebp - 0x23], eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1f], eax
push edx
mov word [ebp - 0x1b], ax
mov edi, 0xc
push str.Anchor_Color
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x19], al
mov dword [ebp - 0x64], edi
call fcn.00409960
test eax, eax
jne 0x409902
lea eax, [ebp - 0x24]
push eax
call fcn.00409a90
add esp, 4
cmp eax, 0xffffffff
je 0x409902
mov dword [esi + 0x4c], eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x24]
push edx
push str.Anchor_Color_Visited
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x64], edi
call fcn.00409960
test eax, eax
jne 0x409932
lea eax, [ebp - 0x24]
push eax
call fcn.00409a90
add esp, 4
cmp eax, 0xffffffff
je 0x409932
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x40993c
push eax
call ebx
lea esp, [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00411d73
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret