Function at 0x1002e97f
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x90
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov word [ebp + 0x64], bx
lea edi, [ebp + 0x66]
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 + 0x64]
push eax
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x1002ea24
push 0x101530f0
lea eax, [ebp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1002ea24
push ebx
push 0x100
push ebx
mov ecx, edi
call fcn.10001285
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff
cmp eax, 3
je 0x1002ea20
cmp eax, 4
je 0x1002ea20
cmp eax, 5
je 0x1002ea20
cmp eax, 6
je 0x1002ea20
cmp eax, 7
je 0x1002ea20
cmp eax, 8
je 0x1002ea20
cmp eax, 9
je 0x1002ea20
cmp eax, 0xd
je 0x1002ea20
cmp eax, 0xe
je 0x1002ea20
cmp eax, 0xf
jne 0x1002ea24
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 0x1002eab7
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 0x1002ea5e
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
cmp dword [esi + 0x34], ebx
je 0x1002eab7
cmp dword [esi + 0x30], ebx
jne 0x1002eab7
push 0x58
lea eax, [ebp - 0xc]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.101027c0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x5c
push dword [esi + 0x34]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x1002ea9c
mov dword [ebp], 0x2bc
jmp 0x1002eaa6
test byte [esi + 0x54], 1
jne 0x1002eaa6
mov byte [ebp + 5], 1
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax], ebx
push dword [edi]
lea ecx, [esi + 0x48]
call fcn.1002bce3
mov eax, dword [esi + 0x24]
cmp dword [eax - 8], ebx
jne 0x1002eb16
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jle 0x1002eb16
lea eax, [eax + eax + 2]
call fcn.10102de0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], esp
inc eax
push eax
push dword [ebp - 0x14]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1002eb16
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1002e38e
mov ecx, esi
call fcn.1002c6b2
mov eax, dword [esi + 0x28]
cmp dword [eax - 8], ebx
jne 0x1002eb49
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x1002eb49
lea ecx, [esi + 0x24]
mov eax, dword [ecx]
cmp dword [eax - 8], ebx
je 0x1002eb7f
push ebx
call fcn.10001a82
push eax
mov ecx, esi
call fcn.1002e3cd
jmp 0x1002eb7f
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
push ecx
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x14], esp
push ebx
lea ecx, [esi + 0x28]
call fcn.10001a82
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
push dword [edi]
lea ecx, [esi + 0x48]
call fcn.1002bd13
test byte [esi + 0x58], 1
je 0x1002ec1c
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
call fcn.10010706
test eax, eax
jne 0x1002ec14
mov word [ebp + 0x4c], bx
lea edi, [ebp + 0x4e]
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 - 0x14]
push eax
lea eax, [ebp + 0x4c]
push eax
push str.Anchor_Color
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], edi
call fcn.1002b004
test eax, eax
jne 0x1002ebe6
lea eax, [ebp + 0x4c]
push eax
call fcn.1002af64
cmp eax, 0xffffffff
pop ecx
je 0x1002ebe6
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x4c]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], edi
call fcn.1002b004
test eax, eax
jne 0x1002ec14
lea eax, [ebp + 0x4c]
push eax
call fcn.1002af64
cmp eax, 0xffffffff
pop ecx
je 0x1002ec14
mov dword [esi + 0x50], eax
lea ecx, [ebp - 0x18]
call fcn.100106a1
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x78
leave
ret