Function at 0x41d670
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58147b
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 4]
xor eax, eax
push 8
lea ecx, [ebp - 0x20]
push ecx
push edx
mov word [ebp - 0x20], ax
xor ebx, ebx
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x41d746
push 0x59e4ac
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41d746
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 0x41d703
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 0x41d742
cmp eax, 4
je 0x41d742
cmp eax, 5
je 0x41d742
cmp eax, 6
je 0x41d742
cmp eax, 7
je 0x41d742
cmp eax, 8
je 0x41d742
cmp eax, 9
je 0x41d742
cmp eax, 0xd
je 0x41d742
cmp eax, 0xe
je 0x41d742
cmp eax, 0xf
jne 0x41d746
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 0x41d7e0
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 0x41d786
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebx
je 0x41d7e0
cmp dword [esi + 0x30], ebx
jne 0x41d7e0
push 0x58
lea edx, [ebp - 0x78]
push ebx
push edx
mov dword [ebp - 0x7c], ebx
call fcn.0055bc50
add esp, 0xc
lea eax, [ebp - 0x7c]
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 0x41d7c5
mov dword [ebp - 0x6c], 0x2bc
jmp 0x41d7cf
test byte [esi + 0x54], 1
jne 0x41d7cf
mov byte [ebp - 0x67], 1
lea edx, [ebp - 0x7c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov ecx, dword [0x5f1684]
mov eax, dword [esi + 4]
mov edx, dword [0x5e7b8c]
push ebx
push ecx
mov ecx, dword [0x5e7b80]
push ebx
push eax
mov eax, dword [0x5e7b84]
sub edx, eax
push edx
mov edx, dword [0x5e7b88]
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 0x41d8ca
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
jle 0x41d8ca
mov dword [ebp - 0x280], ebx
lea edi, [eax + 1]
mov eax, edi
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov dword [ebp - 4], ebx
cmp ecx, ebx
ja 0x41d857
cmp eax, 0xffffffff
jbe 0x41d861
push 0x80070216
call fcn.00418030
cmp eax, 0x200
jbe 0x41d87c
push eax
lea ecx, [ebp - 0x280]
call fcn.00419670
mov eax, dword [ebp - 0x280]
jmp 0x41d888
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x280], eax
mov ebx, eax
test eax, eax
je 0x41d8ac
mov ecx, dword [esi + 4]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x41d8a6
push ebx
mov ecx, esi
call fcn.0041d320
mov eax, dword [ebp - 0x280]
lea edx, [ebp - 0x27c]
mov dword [ebp - 4], 0xffffffff
cmp eax, edx
je 0x41d8c8
lea ecx, [ebp - 0x280]
call fcn.00419660
xor ebx, ebx
mov ecx, esi
call fcn.0041cdd0
cmp dword [esi + 0x28], ebx
jne 0x41d8f1
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x41d8f1
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x41d92d
push eax
mov ecx, esi
call fcn.0041d410
jmp 0x41d92d
mov ecx, dword [esi + 0x48]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
push 0x401
push ecx
call edi
mov eax, dword [esi + 0x28]
push ebx
push eax
mov eax, dword [esi + 4]
lea edx, [esi + 0x38]
push edx
push 1
push eax
push ebx
lea ecx, [ebp - 0x50]
call fcn.0041c5b0
mov edx, dword [esi + 0x48]
lea ecx, [ebp - 0x50]
push ecx
push ebx
push 0x432
push edx
call edi
test byte [esi + 0x58], 1
je 0x41da0a
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x288], ebx
call fcn.004094a0
test eax, eax
jne 0x41d9f9
lea ecx, [ebp - 0x284]
push ecx
lea edx, [ebp - 0x38]
push edx
mov edi, 0xc
push str.Anchor_Color
lea ecx, [ebp - 0x290]
mov word [ebp - 0x38], ax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov word [ebp - 0x22], ax
mov dword [ebp - 0x284], edi
call fcn.00402340
test eax, eax
jne 0x41d9c0
lea eax, [ebp - 0x38]
push eax
call fcn.0041ccd0
add esp, 4
cmp eax, 0xffffffff
je 0x41d9c0
mov dword [esi + 0x4c], eax
lea ecx, [ebp - 0x284]
push ecx
lea edx, [ebp - 0x38]
push edx
push str.Anchor_Color_Visited
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x284], edi
call fcn.00402340
test eax, eax
jne 0x41d9f9
lea eax, [ebp - 0x38]
push eax
call fcn.0041ccd0
add esp, 4
cmp eax, 0xffffffff
je 0x41d9f9
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x290]
cmp eax, ebx
je 0x41da0a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret