Function at 0x4120b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437eb0
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x44a00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor eax, eax
mov dword [ebp - 0xa8], edi
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x3a], eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x3c]
push 8
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x412187
push str.static
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x412187
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x412147
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
movzx eax, al
cmp eax, 3
je 0x412183
cmp eax, 4
je 0x412183
cmp eax, 5
je 0x412183
cmp eax, 6
je 0x412183
cmp eax, 7
je 0x412183
cmp eax, 8
je 0x412183
cmp eax, 9
je 0x412183
cmp eax, 0xd
je 0x412183
cmp eax, 0xe
je 0x412183
cmp eax, 0xf
jne 0x412187
and byte [edi + 0x58], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [edi + 0x58], 1
mov dword [edi + 0x2c], eax
je 0x4121ea
cmp dword [edi + 0x34], 0
jne 0x4121dd
push 0x5c
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00423450
add esp, 0xc
lea eax, [ebp - 0xa0]
push 0
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [edi + 0x58], 0x10
mov dword [edi + 0x34], eax
cmp dword [edi + 0x30], 0
jne 0x4121ea
mov ecx, edi
call fcn.00412400
mov eax, dword [0x44a81c]
mov edx, dword [0x44a814]
sub eax, edx
mov ecx, dword [0x44a810]
push 0
push dword [0x44b9b4]
push 0
push dword [edi + 4]
push eax
mov eax, dword [0x44a818]
sub eax, ecx
push eax
push edx
push ecx
push 0
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x48], eax
cmp dword [edi + 0x24], 0
jne 0x4122a1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0xa4], esi
test esi, esi
jle 0x4122a1
xor ecx, ecx
mov dword [ebp - 4], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420b72
add esp, 4
mov dword [edi + 0x24], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x41228c
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4122a1
lea eax, [esi + 1]
push eax
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
call fcn.00411590
cmp dword [edi + 0x28], 0
jne 0x4122c9
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x4122c9
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4122f3
push eax
mov ecx, edi
call fcn.00411080
jmp 0x4122f3
push 0
push 1
push 0x401
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
lea eax, [edi + 0x38]
push eax
mov eax, dword [edi + 0x28]
push ecx
mov edx, esp
lea ecx, [edi + 0x48]
mov dword [edx], eax
push dword [edi + 4]
call fcn.00411bf0
test byte [edi + 0x58], 1
je 0x4123d7
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
call fcn.0040bf50
test eax, eax
jne 0x4123c6
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa4], 0xc
push eax
push str.Anchor_Color
call fcn.0040c000
test eax, eax
jne 0x41238d
lea ecx, [ebp - 0x2c]
call fcn.00412570
cmp eax, 0xffffffff
je 0x41238d
mov dword [edi + 0x4c], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0xb4]
call fcn.0040c000
test eax, eax
jne 0x4123c6
lea ecx, [ebp - 0x2c]
call fcn.00412570
cmp eax, 0xffffffff
je 0x4123c6
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x4123d7
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 - 0x14]
xor ecx, ebp
call fcn.00420347
mov esp, ebp
pop ebp
ret