Function at 0x4313f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2ceb
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x513330]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 4]
xor eax, eax
push 8
lea ecx, [esp + 0x294]
push ecx
push edx
mov dword [esp + 0x24], esi
mov word [esp + 0x29c], ax
xor ebx, ebx
mov dword [esp + 0x29e], eax
mov dword [esp + 0x2a2], eax
mov dword [esp + 0x2a6], eax
mov word [esp + 0x2aa], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4314fc
push 0x4ec660
lea eax, [esp + 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4314fc
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call edi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x4314b9
mov edx, dword [esi + 4]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call edi
and eax, 0xff
cmp eax, 3
je 0x4314f8
cmp eax, 4
je 0x4314f8
cmp eax, 5
je 0x4314f8
cmp eax, 6
je 0x4314f8
cmp eax, 7
je 0x4314f8
cmp eax, 8
je 0x4314f8
cmp eax, 9
je 0x4314f8
cmp eax, 0xd
je 0x4314f8
cmp eax, 0xe
je 0x4314f8
cmp eax, 0xf
jne 0x4314fc
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 0x43159c
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x34], eax
cmp eax, ebx
jne 0x43153c
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebx
je 0x43159c
cmp dword [esi + 0x30], ebx
jne 0x43159c
push 0x58
lea edx, [esp + 0x2c]
push ebx
push edx
mov dword [esp + 0x30], ebx
call fcn.004ab3f0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esi + 0x54]
and ecx, 0x30
cmp cl, 0x30
jne 0x43157f
mov dword [esp + 0x34], 0x2bc
jmp 0x43158a
test byte [esi + 0x54], 1
jne 0x43158a
mov byte [esp + 0x39], 1
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
push ecx
mov ecx, esp
push ebx
push ebx
push ebx
push ecx
mov dword [ecx], ebx
mov ecx, esp
push eax
mov dword [ecx], ebx
lea ecx, [esi + 0x48]
push str.tooltips_class32
push ecx
mov dword [esp + 0x34], ecx
call fcn.00407d90
cmp dword [esi + 0x24], ebx
jne 0x43167a
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
jle 0x43167a
mov dword [esp + 0x84], ebx
lea edi, [eax + 1]
mov eax, edi
mov ecx, 2
mul ecx
mov dword [esp + 0x2b0], ebx
cmp edx, ebx
ja 0x4315fd
cmp eax, 0xffffffff
jbe 0x431607
push 0x80070057
call fcn.00405ef0
cmp eax, 0x200
jbe 0x431624
lea edx, [esp + 0x84]
push edx
call fcn.00403460
mov eax, dword [esp + 0x84]
jmp 0x431632
lea eax, [esp + 0x88]
mov dword [esp + 0x84], eax
mov ebx, eax
test eax, eax
je 0x431656
push edi
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x43164f
push ebx
push esi
call fcn.00430790
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x88]
mov dword [esp + 0x2b0], 0xffffffff
cmp eax, ecx
je 0x431678
lea eax, [esp + 0x84]
call fcn.00431fa0
xor ebx, ebx
mov eax, esi
call fcn.004310a0
cmp dword [esi + 0x28], ebx
jne 0x4316a1
mov edx, dword [esi + 0x54]
shr edx, 2
test dl, 1
jne 0x4316a1
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4316ec
push eax
push esi
call fcn.00430b90
jmp 0x4316ec
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
push 1
push 0x401
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 4]
push eax
lea ebx, [esi + 0x38]
push edx
mov edi, 1
lea esi, [esp + 0x2c]
call fcn.00407cf0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, esi
push eax
push 0
push 0x432
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x18]
xor ebx, ebx
test byte [esi + 0x58], 1
je 0x4317ca
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftInternet_ExplorerSettings
push reloc.gdiplus.dll_Ordinal_1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4317ca
mov ebx, dword [esp + 0x14]
xor eax, eax
push str.Anchor_Color
lea edx, [esp + 0x20]
xor ecx, ecx
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov word [esp + 0x42], ax
mov dword [esp + 0x1c], 0xc
call fcn.00431ec0
test eax, eax
jne 0x431789
mov eax, esi
call fcn.00431cb0
cmp eax, 0xffffffff
je 0x431789
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x4c], eax
push str.Anchor_Color_Visited
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x2c]
mov dword [esp + 0x1c], 0xc
call fcn.00431ec0
test eax, eax
jne 0x4317bf
mov eax, esi
call fcn.00431cb0
cmp eax, 0xffffffff
je 0x4317bf
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x50], eax
test ebx, ebx
je 0x4317ca
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.004a52a5
mov esp, ebp
pop ebp
ret