Function at 0x4542d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x52a6ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebx + 4]
push esi
push edi
xor eax, eax
push 8
lea ecx, [ebp - 0x14]
push ecx
push edx
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x454389
push str.static
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x454389
mov ecx, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x454346
mov edx, dword [ebx + 4]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 4]
push 0xfffffffffffffff0
push eax
call esi
and eax, 0xff
cmp eax, 3
je 0x454385
cmp eax, 4
je 0x454385
cmp eax, 5
je 0x454385
cmp eax, 6
je 0x454385
cmp eax, 7
je 0x454385
cmp eax, 8
je 0x454385
cmp eax, 9
je 0x454385
cmp eax, 0xd
je 0x454385
cmp eax, 0xe
je 0x454385
cmp eax, 0xf
jne 0x454389
and byte [ebx + 0x58], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [ebx + 0x58], 1
mov dword [ebx + 0x2c], eax
je 0x45442c
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x34], eax
test eax, eax
jne 0x4543cc
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebx + 0x34], eax
mov esi, dword [ebx + 0x34]
test esi, esi
je 0x45442c
cmp dword [ebx + 0x30], 0
jne 0x45442c
push 0x58
lea edx, [ebp - 0x74]
push 0
push edx
mov dword [ebp - 0x78], 0
call fcn.004cf830
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebx + 0x54]
and ecx, 0x30
cmp cl, 0x30
jne 0x454411
mov dword [ebp - 0x68], 0x2bc
jmp 0x45441b
test byte [ebx + 0x54], 1
jne 0x45441b
mov byte [ebp - 0x63], 1
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [ebx + 0x58], 8
mov dword [ebx + 0x30], eax
mov ecx, dword [0x52ee44]
mov eax, dword [ebx + 4]
mov edx, dword [0x52ce8c]
push 0
push ecx
mov ecx, dword [0x52ce80]
push 0
push eax
mov eax, dword [0x52ce84]
sub edx, eax
push edx
mov edx, dword [0x52ce88]
sub edx, ecx
push edx
push eax
push ecx
push 0
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x24], 0
jne 0x4544a7
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x4544a7
lea eax, [esi + esi + 2]
call fcn.004d6be0
mov ecx, dword [ebx + 4]
mov edi, esp
inc esi
push esi
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4544a7
push edi
push ebx
call fcn.00453890
mov esi, ebx
call fcn.004545f0
cmp dword [ebx + 0x28], 0
jne 0x4544cf
mov edx, dword [ebx + 0x54]
shr edx, 2
test dl, 1
jne 0x4544cf
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x454509
mov ecx, ebx
call fcn.00453950
jmp 0x454509
mov eax, dword [ebx + 0x48]
push 0
push 1
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 4]
push eax
lea edi, [ebx + 0x38]
push ecx
lea esi, [ebp - 0x4c]
call fcn.00455150
mov eax, dword [ebx + 0x48]
mov edx, esi
push edx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [ebx + 0x58], 1
je 0x4545cf
lea ecx, [ebp - 0x88]
xor esi, esi
push ecx
mov edx, 0x2001f
mov eax, str.SoftwareMicrosoftInternet_ExplorerSettings
mov ecx, SysReAllocString
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
call fcn.00404dd0
test eax, eax
jne 0x4545be
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], ax
push str.Anchor_Color
lea eax, [ebp - 0x88]
xor edx, edx
push eax
lea edi, [ebp - 0x7c]
lea esi, [ebp - 0x34]
mov word [ebp - 0x34], dx
mov dword [ebp - 0x7c], 0xc
call fcn.00414e80
test eax, eax
jne 0x45458d
mov ecx, esi
call fcn.00454a30
cmp eax, 0xffffffff
je 0x45458d
mov dword [ebx + 0x4c], eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0x88]
push ecx
lea edi, [ebp - 0x7c]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x7c], 0xc
call fcn.00414e80
test eax, eax
jne 0x4545be
mov ecx, esi
call fcn.00454a30
cmp eax, 0xffffffff
je 0x4545be
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x4545cf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0x90]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c9392
mov esp, ebp
pop ebp
ret