Function at 0x1002d81d
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x90
mov eax, dword [0x101f6410]
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 0x1002d8c2
push 0x1019f2f4
lea eax, [ebp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1002d8c2
push ebx
push 0x100
push ebx
mov ecx, edi
call fcn.10003821
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff
cmp eax, 3
je 0x1002d8be
cmp eax, 4
je 0x1002d8be
cmp eax, 5
je 0x1002d8be
cmp eax, 6
je 0x1002d8be
cmp eax, 7
je 0x1002d8be
cmp eax, 8
je 0x1002d8be
cmp eax, 9
je 0x1002d8be
cmp eax, 0xd
je 0x1002d8be
cmp eax, 0xe
je 0x1002d8be
cmp eax, 0xf
jne 0x1002d8c2
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 0x1002d955
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 0x1002d8fc
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
cmp dword [esi + 0x34], ebx
je 0x1002d955
cmp dword [esi + 0x30], ebx
jne 0x1002d955
push 0x58
lea eax, [ebp - 0xc]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.10146c80
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 0x1002d93a
mov dword [ebp], 0x2bc
jmp 0x1002d944
test byte [esi + 0x54], 1
jne 0x1002d944
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.1002c01c
mov eax, dword [esi + 0x24]
cmp dword [eax - 8], ebx
jne 0x1002d9b4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jle 0x1002d9b4
lea eax, [eax + eax + 2]
call fcn.101473b0
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 0x1002d9b4
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1002d477
mov ecx, esi
call fcn.1002c3ea
mov eax, dword [esi + 0x28]
cmp dword [eax - 8], ebx
jne 0x1002d9e7
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x1002d9e7
lea ecx, [esi + 0x24]
mov eax, dword [ecx]
cmp dword [eax - 8], ebx
je 0x1002da1d
push ebx
call fcn.1000401e
push eax
mov ecx, esi
call fcn.1002d4b6
jmp 0x1002da1d
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.1000401e
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
push dword [edi]
lea ecx, [esi + 0x48]
call fcn.1002c04c
test byte [esi + 0x58], 1
je 0x1002daba
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
call fcn.10016ed9
test eax, eax
jne 0x1002dab2
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.1002b80f
test eax, eax
jne 0x1002da84
lea eax, [ebp + 0x4c]
push eax
call fcn.1002b73b
cmp eax, 0xffffffff
pop ecx
je 0x1002da84
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.1002b80f
test eax, eax
jne 0x1002dab2
lea eax, [ebp + 0x4c]
push eax
call fcn.1002b73b
cmp eax, 0xffffffff
pop ecx
je 0x1002dab2
mov dword [esi + 0x50], eax
lea ecx, [ebp - 0x18]
call fcn.10016e74
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x78
leave
ret