Function at 0x414870
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x488ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 4]
xor eax, eax
push 8
lea ecx, [esp + 0x284]
push ecx
push edx
mov word [esp + 0x28c], ax
xor ebp, ebp
mov dword [esp + 0x28e], eax
mov dword [esp + 0x292], eax
mov dword [esp + 0x296], eax
mov word [esp + 0x29a], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x414973
push 0x48c9d4
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x414973
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 0x414930
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 0x41496f
cmp eax, 4
je 0x41496f
cmp eax, 5
je 0x41496f
cmp eax, 6
je 0x41496f
cmp eax, 7
je 0x41496f
cmp eax, 8
je 0x41496f
cmp eax, 9
je 0x41496f
cmp eax, 0xd
je 0x41496f
cmp eax, 0xe
je 0x41496f
cmp eax, 0xf
jne 0x414973
and byte [esi + 0x58], 0xfe
mov ecx, dword [0x4a717c]
mov edx, dword [0x4a7178]
mov eax, dword [0x4ab7f4]
push 0x4a7200
push 0x4a7180
push 0x20
push 0x20
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateCursor]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x414a2f
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push ebp
push ebp
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x34], eax
cmp eax, ebp
jne 0x4149cf
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebp
je 0x414a2f
cmp dword [esi + 0x30], ebp
jne 0x414a2f
push 0x58
lea edx, [esp + 0x28]
push ebp
push edx
mov dword [esp + 0x2c], ebp
call fcn.0043f2b0
add esp, 0xc
lea eax, [esp + 0x20]
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 0x414a12
mov dword [esp + 0x30], 0x2bc
jmp 0x414a1d
test byte [esi + 0x54], 1
jne 0x414a1d
mov byte [esp + 0x35], 1
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
push ebp
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ebp
push ebp
push ebp
push ecx
mov dword [eax], ebp
mov eax, esp
mov dword [eax], ebp
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], esp
lea edi, [esi + 0x48]
push eax
mov ecx, edi
call fcn.0040f430
cmp dword [esi + 0x24], ebp
jne 0x414ac2
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebp
jle 0x414ac2
mov dword [esp + 0x7c], ebp
lea ebx, [eax + 1]
push ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x2a0], ebp
call fcn.00413a90
mov ebp, eax
test ebp, ebp
je 0x414a9f
mov edx, dword [esi + 4]
push ebx
push ebp
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x414a9f
push ebp
mov ecx, esi
call fcn.00414180
lea eax, [esp + 0x80]
mov dword [esp + 0x29c], 0xffffffff
cmp dword [esp + 0x7c], eax
je 0x414ac0
lea ecx, [esp + 0x7c]
call fcn.00411fa0
xor ebp, ebp
mov ecx, esi
call fcn.00413f00
cmp dword [esi + 0x28], ebp
jne 0x414aea
mov ecx, dword [esi + 0x54]
shr ecx, 2
test cl, 1
jne 0x414aea
mov eax, dword [esi + 0x24]
cmp eax, ebp
je 0x414b26
push eax
mov ecx, esi
call fcn.004146f0
jmp 0x414b26
mov edx, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 1
push 0x401
push edx
call ebx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 4]
push ebp
push eax
lea eax, [esi + 0x38]
push eax
push 1
push ecx
push ebp
lea ecx, [esp + 0x38]
call fcn.0040f2c0
mov eax, dword [edi]
lea edx, [esp + 0x20]
push edx
push ebp
push 0x432
push eax
call ebx
test byte [esi + 0x58], 1
je 0x414c07
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebp
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x414c07
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
xor edx, edx
mov ebx, 0xc
push str.Anchor_Color
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x2c], dx
mov dword [esp + 0x20], ebx
call fcn.004114a0
test eax, eax
jne 0x414bc7
lea edx, [esp + 0x20]
push edx
call fcn.00413240
add esp, 4
cmp eax, 0xffffffff
je 0x414bc7
mov dword [esi + 0x4c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x48c930
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.004114a0
test eax, eax
jne 0x414bfc
lea edx, [esp + 0x20]
push edx
call fcn.00413240
add esp, 4
cmp eax, 0xffffffff
je 0x414bfc
mov dword [esi + 0x50], eax
cmp edi, ebp
je 0x414c07
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.0043f097
add esp, 0x28c
ret