Function at 0x431699
Capabilities:
Get graphical window text

Disassembly:
push 0x3c
mov eax, 0x4f4eea
call fcn.004cd071
mov esi, ecx
mov dword [ebp - 0x48], esi
xor eax, eax
mov word [ebp - 0x3c], ax
lea edi, [ebp - 0x3a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ebx, [esi + 4]
push 8
lea eax, [ebp - 0x3c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x431733
push str.static
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x431733
push 0x100
xor ecx, ecx
mov edi, ebx
call fcn.0041dac2
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff
cmp eax, 3
je 0x43172f
cmp eax, 4
je 0x43172f
cmp eax, 5
je 0x43172f
cmp eax, 6
je 0x43172f
cmp eax, 7
je 0x43172f
cmp eax, 8
je 0x43172f
cmp eax, 9
je 0x43172f
cmp eax, 0xd
je 0x43172f
cmp eax, 0xe
je 0x43172f
cmp eax, 0xf
jne 0x431733
and byte [esi + 0x58], 0xfe
push 0x7f89
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x2c], eax
test byte [esi + 0x58], 1
je 0x431765
cmp dword [esi + 0x34], edi
jne 0x43175b
call fcn.00431add
mov dword [esi + 0x34], eax
or byte [esi + 0x58], 0x10
cmp dword [esi + 0x30], edi
jne 0x431765
call fcn.0043160c
push ecx
mov dword [ebp - 0x40], esp
mov eax, esp
mov dword [eax], edi
push ecx
mov dword [ebp - 0x40], esp
mov eax, esp
mov dword [eax], edi
push dword [ebx]
lea eax, [esi + 0x48]
push eax
call fcn.00431ab1
cmp dword [esi + 0x24], edi
jne 0x4317df
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
mov dword [ebp - 0x40], ebx
cmp ebx, edi
jle 0x4317df
mov dword [ebp - 4], edi
lea eax, [ebx + 1]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c4260
pop ecx
mov dword [esi + 0x24], eax
or dword [ebp - 4], 0xffffffff
jmp 0x4317cc
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x4317df
inc ebx
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ebx, [esi - 0x188]
call fcn.0043ebfe
mov ebx, dword [ebp - 0x48]
cmp dword [ebx + 0x28], edi
jne 0x43180c
mov eax, dword [ebx + 0x54]
shr eax, 2
test al, 1
jne 0x43180c
mov eax, dword [ebx + 0x24]
cmp eax, edi
je 0x431839
push eax
push ebx
call fcn.00430ecb
jmp 0x431839
lea esi, [ebx + 0x48]
push edi
push 1
push 0x401
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
lea eax, [ebx + 0x38]
push eax
mov eax, dword [ebx + 0x28]
push ecx
mov dword [ebp - 0x40], esp
mov ecx, esp
mov dword [ecx], eax
push esi
mov ecx, dword [ebx + 4]
call fcn.00431bdd
test byte [ebx + 0x58], 1
je 0x4318f1
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], 2
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocStringLen
mov eax, 0x2001f
lea ecx, [ebp - 0x44]
call fcn.00431a57
cmp eax, edi
jne 0x4318d9
xor eax, eax
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x2a]
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
stosw word es:[edi], ax
mov dword [ebp - 0x48], 0xc
push str.Anchor_Color
lea eax, [ebp - 0x44]
push eax
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x2c]
call fcn.004319ef
test eax, eax
jne 0x4318a9
mov eax, edi
call fcn.0043195b
cmp eax, 0xffffffff
je 0x4318a9
mov dword [ebx + 0x4c], eax
mov dword [ebp - 0x48], 0xc
push str.Anchor_Color_Visited
lea eax, [ebp - 0x44]
push eax
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x2c]
call fcn.004319ef
test eax, eax
jne 0x4318d7
mov eax, edi
call fcn.0043195b
cmp eax, 0xffffffff
je 0x4318d7
mov dword [ebx + 0x50], eax
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], edi
je 0x4318ee
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
call fcn.004cd0cd
ret