Function at 0x4075e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5817cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push esi
push edi
mov esi, ecx
mov edx, dword [esi + 4]
xor eax, eax
push 8
lea ecx, [ebp - 0x2c]
push ecx
push edx
mov word [ebp - 0x2c], ax
xor ebx, ebx
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4076a9
push 0x59c024
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4076a9
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 0x407666
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 0x4076a5
cmp eax, 4
je 0x4076a5
cmp eax, 5
je 0x4076a5
cmp eax, 6
je 0x4076a5
cmp eax, 7
je 0x4076a5
cmp eax, 8
je 0x4076a5
cmp eax, 9
je 0x4076a5
cmp eax, 0xd
je 0x4076a5
cmp eax, 0xe
je 0x4076a5
cmp eax, 0xf
jne 0x4076a9
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 0x40775c
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 0x4076e9
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebx
je 0x40775c
cmp dword [esi + 0x30], ebx
jne 0x40775c
push 0x58
lea edx, [ebp - 0x84]
push ebx
push edx
mov dword [ebp - 0x88], ebx
call fcn.00555020
add esp, 0xc
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x88]
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 0x407737
mov dword [ebp - 0x78], 0x2bc
jmp 0x407741
test byte [esi + 0x54], 1
jne 0x407741
mov byte [ebp - 0x73], 1
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x5fd7bc]
mov eax, dword [esi + 4]
mov edx, dword [0x5e9018]
push ebx
push ecx
mov ecx, dword [0x5e900c]
push ebx
push eax
mov eax, dword [0x5e9010]
sub edx, eax
push edx
mov edx, dword [0x5e9014]
sub edx, ecx
push edx
push eax
push ecx
push ebx
push ebx
push str.tooltips_class32
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x48], eax
cmp dword [esi + 0x24], ebx
jne 0x407848
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
jle 0x407848
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 4], 1
lea edi, [eax + 1]
mov eax, edi
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
cmp ecx, ebx
ja 0x4077d7
cmp eax, 0xffffffff
jbe 0x4077e1
push 0x80070057
call fcn.00401150
cmp eax, 0x200
jbe 0x4077fc
push eax
lea ecx, [ebp - 0x28c]
call fcn.004cb1b0
mov eax, dword [ebp - 0x28c]
jmp 0x407808
lea eax, [ebp - 0x288]
mov dword [ebp - 0x28c], eax
mov ebx, eax
test eax, eax
je 0x407826
mov ecx, dword [esi + 4]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x407826
push ebx
mov ecx, esi
call fcn.00405600
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x288]
cmp dword [ebp - 0x28c], edx
je 0x407846
lea ecx, [ebp - 0x28c]
call fcn.004021b0
xor ebx, ebx
mov ecx, esi
call fcn.00405310
cmp dword [esi + 0x28], ebx
jne 0x40786f
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x40786f
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4078ab
push eax
mov ecx, esi
call fcn.00407170
jmp 0x4078ab
mov ecx, dword [esi + 0x48]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
push 0x401
push ecx
call edi
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 4]
push ebx
push ecx
lea eax, [esi + 0x38]
push eax
push 1
push edx
push ebx
lea ecx, [ebp - 0x5c]
call fcn.00402090
mov eax, dword [esi + 0x48]
lea edx, [ebp - 0x5c]
push edx
push ebx
push 0x432
push eax
call edi
test byte [esi + 0x58], 1
je 0x407989
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
push ecx
push 0x2001f
push ebx
push str.SoftwareMicrosoftInternet_ExplorerSettings
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x407974
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edi
xor eax, eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x44]
push ecx
xor edx, edx
mov ebx, 0xc
push str.Anchor_Color
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x44], dx
mov dword [ebp - 0x10], ebx
call fcn.00401960
test eax, eax
jne 0x407942
lea edx, [ebp - 0x44]
push edx
call fcn.00402e90
add esp, 4
cmp eax, 0xffffffff
je 0x407942
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x44]
push ecx
push str.Anchor_Color_Visited
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.00401960
test eax, eax
jne 0x407972
lea edx, [ebp - 0x44]
push edx
call fcn.00402e90
add esp, 4
cmp eax, 0xffffffff
je 0x407972
mov dword [esi + 0x50], eax
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x407989
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret