Function at 0x409c1f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
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 - 0x1c]
push eax
lea edi, [esi + 4]
push dword [edi]
call dword [0x42e458]
xor ebx, ebx
test eax, eax
je 0x409cb8
push str.static
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.p_lstrcmpiW]
test eax, eax
jne 0x409cb8
push ebx
push 0x100
push ebx
mov ecx, edi
call fcn.00408f05
push 0xfffffffffffffff0
push dword [edi]
call dword [0x42e4a8]
and eax, 0xff
cmp eax, 3
je 0x409cb4
cmp eax, 4
je 0x409cb4
cmp eax, 5
je 0x409cb4
cmp eax, 6
je 0x409cb4
cmp eax, 7
je 0x409cb4
cmp eax, 8
je 0x409cb4
cmp eax, 9
je 0x409cb4
cmp eax, 0xd
je 0x409cb4
cmp eax, 0xe
je 0x409cb4
cmp eax, 0xf
jne 0x409cb8
and byte [esi + 0x58], 0xfe
push 0x7f89
push ebx
call dword [0x42e418]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x409d5b
push dword [edi]
call dword [0x42e460]
push ebx
push ebx
push 0x31
push eax
call dword [0x42e424]
mov dword [esi + 0x34], eax
cmp eax, ebx
jne 0x409cf6
push 0xd
call dword [0x42e0e0]
mov dword [esi + 0x34], eax
cmp dword [esi + 0x34], ebx
je 0x409d5b
cmp dword [esi + 0x30], ebx
jne 0x409d5b
push 0x58
lea eax, [ebp - 0x8c]
push ebx
push eax
mov dword [ebp - 0x90], ebx
call fcn.00420470
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0x5c
push dword [esi + 0x34]
call dword [0x42e0e4]
mov eax, dword [esi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x409d3d
mov dword [ebp - 0x80], 0x2bc
jmp 0x409d47
test byte [esi + 0x54], 1
jne 0x409d47
mov byte [ebp - 0x7b], 1
lea eax, [ebp - 0x90]
push eax
call dword [0x42e0cc]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
push dword [edi]
lea ecx, [esi + 0x48]
call fcn.0040969b
cmp dword [esi + 0x24], ebx
jne 0x409dd4
push dword [edi]
call dword [0x42e3cc]
cmp eax, ebx
jle 0x409dd4
inc eax
push eax
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x294], ebx
mov dword [ebp - 4], eax
call fcn.00409b33
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x409dbb
push dword [ebp - 4]
push eax
push dword [edi]
call dword [0x42e404]
test eax, eax
jle 0x409dbb
push dword [ebp - 8]
mov ecx, esi
call fcn.00409bb0
lea eax, [ebp - 0x290]
cmp dword [ebp - 0x294], eax
je 0x409dd4
lea ecx, [ebp - 0x294]
call fcn.00402434
mov ecx, esi
call fcn.004098c7
cmp dword [esi + 0x28], ebx
jne 0x409dfb
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x409dfb
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x409e1d
push eax
mov ecx, esi
call fcn.00409a9f
jmp 0x409e1d
push 1
lea ecx, [esi + 0x48]
call fcn.00409193
push 1
lea eax, [esi + 0x38]
push eax
push ecx
mov ecx, dword [esi + 0x28]
mov eax, esp
mov dword [eax], ecx
push dword [edi]
lea ecx, [esi + 0x48]
call fcn.004096cb
test byte [esi + 0x58], 1
je 0x409ebd
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push 0x80000001
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.00401e5a
test eax, eax
jne 0x409eb5
mov word [ebp - 0x34], ax
lea edi, [ebp - 0x32]
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 - 4]
push eax
lea eax, [ebp - 0x34]
push eax
push str.Anchor_Color
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], edi
call fcn.00408e2b
test eax, eax
jne 0x409e87
lea eax, [ebp - 0x34]
push eax
call fcn.00409704
pop ecx
cmp eax, 0xffffffff
je 0x409e87
mov dword [esi + 0x4c], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x34]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], edi
call fcn.00408e2b
test eax, eax
jne 0x409eb5
lea eax, [ebp - 0x34]
push eax
call fcn.00409704
pop ecx
cmp eax, 0xffffffff
je 0x409eb5
mov dword [esi + 0x50], eax
lea ecx, [ebp - 0xc]
call fcn.00401de5
pop edi
pop esi
pop ebx
leave
ret