Function at 0x414740
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4905ab
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3c40]
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 0x414843
push 0x494ac4
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x414843
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 0x414800
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 0x41483f
cmp eax, 4
je 0x41483f
cmp eax, 5
je 0x41483f
cmp eax, 6
je 0x41483f
cmp eax, 7
je 0x41483f
cmp eax, 8
je 0x41483f
cmp eax, 9
je 0x41483f
cmp eax, 0xd
je 0x41483f
cmp eax, 0xe
je 0x41483f
cmp eax, 0xf
jne 0x414843
and byte [esi + 0x58], 0xfe
push 0x7f89
push ebp
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x4148e3
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 0x414883
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebp
je 0x4148e3
cmp dword [esi + 0x30], ebp
jne 0x4148e3
push 0x58
lea edx, [esp + 0x28]
push ebp
push edx
mov dword [esp + 0x2c], ebp
call fcn.004453c0
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 0x4148c6
mov dword [esp + 0x30], 0x2bc
jmp 0x4148d1
test byte [esi + 0x54], 1
jne 0x4148d1
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.004114a0
cmp dword [esi + 0x24], ebp
jne 0x414976
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebp
jle 0x414976
mov dword [esp + 0x7c], ebp
lea ebx, [eax + 1]
push ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x2a0], ebp
call fcn.00414120
mov ebp, eax
test ebp, ebp
je 0x414953
mov edx, dword [esi + 4]
push ebx
push ebp
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x414953
push ebp
mov ecx, esi
call fcn.004144b0
lea eax, [esp + 0x80]
mov dword [esp + 0x29c], 0xffffffff
cmp dword [esp + 0x7c], eax
je 0x414974
lea ecx, [esp + 0x7c]
call fcn.00413970
xor ebp, ebp
mov ecx, esi
call fcn.00414250
cmp dword [esi + 0x28], ebp
jne 0x41499e
mov ecx, dword [esi + 0x54]
shr ecx, 2
test cl, 1
jne 0x41499e
mov eax, dword [esi + 0x24]
cmp eax, ebp
je 0x4149da
push eax
mov ecx, esi
call fcn.004145a0
jmp 0x4149da
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.00411220
mov eax, dword [edi]
lea edx, [esp + 0x20]
push edx
push ebp
push 0x432
push eax
call ebx
test byte [esi + 0x58], 1
je 0x414abb
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 0x414abb
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.00413710
test eax, eax
jne 0x414a7b
lea edx, [esp + 0x20]
push edx
call fcn.00413f60
add esp, 4
cmp eax, 0xffffffff
je 0x414a7b
mov dword [esi + 0x4c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x494a1c
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.00413710
test eax, eax
jne 0x414ab0
lea edx, [esp + 0x20]
push edx
call fcn.00413f60
add esp, 4
cmp eax, 0xffffffff
je 0x414ab0
mov dword [esi + 0x50], eax
cmp edi, ebp
je 0x414abb
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.004453a3
add esp, 0x28c
ret