Function at 0x41b2aa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
mov word [ebp - 0x38], si
lea edi, [ebp - 0x36]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push 8
lea eax, [ebp - 0x38]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x41b356
push str.static
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41b356
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call ebx
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x41b314
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call ebx
and eax, 0xff
cmp eax, 3
je 0x41b352
cmp eax, 4
je 0x41b352
cmp eax, 5
je 0x41b352
cmp eax, 6
je 0x41b352
cmp eax, 7
je 0x41b352
cmp eax, 8
je 0x41b352
cmp eax, 9
je 0x41b352
cmp eax, 0xd
je 0x41b352
cmp eax, 0xe
je 0x41b352
cmp eax, 0xf
jne 0x41b356
and byte [edi + 0x58], 0xfe
push 0x7f89
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [edi + 0x58], 1
mov dword [edi + 0x2c], eax
je 0x41b400
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push esi
push esi
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
mov dword [edi + 0x34], eax
jne 0x41b395
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [edi + 0x34], eax
mov ebx, dword [edi + 0x34]
cmp ebx, esi
je 0x41b400
cmp dword [edi + 0x30], esi
jne 0x41b400
push 0x58
lea eax, [ebp - 0x98]
push esi
push eax
mov dword [ebp - 0x9c], esi
call fcn.00428c40
add esp, 0xc
lea eax, [ebp - 0x9c]
push eax
push 0x5c
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [edi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x41b3df
mov dword [ebp - 0x8c], 0x2bc
jmp 0x41b3ec
test byte [edi + 0x54], 1
jne 0x41b3ec
mov byte [ebp - 0x87], 1
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [edi + 0x58], 8
mov dword [edi + 0x30], eax
push ecx
mov eax, esp
push ecx
mov dword [eax], esi
mov eax, esp
mov dword [eax], esi
push dword [edi + 4]
lea ebx, [edi + 0x48]
push ebx
call fcn.0041ab95
cmp dword [edi + 0x24], esi
jne 0x41b454
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x41b452
lea eax, [esi + esi + 2]
call fcn.0042ff20
mov dword [ebp - 8], esp
inc esi
push esi
push dword [ebp - 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x41b452
push dword [ebp - 8]
mov eax, edi
call fcn.0041b565
xor esi, esi
mov eax, edi
call fcn.0041b5cd
cmp dword [edi + 0x28], esi
jne 0x41b47d
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x41b47d
mov eax, dword [edi + 0x24]
cmp eax, esi
je 0x41b4a7
push eax
mov esi, edi
call fcn.0041b7ad
xor esi, esi
jmp 0x41b4a7
push esi
push 1
push 0x401
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 0x28]
xor ecx, ecx
lea eax, [edi + 0x38]
push eax
inc ecx
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [edi + 4]
push ebx
mov ebx, ecx
call fcn.0041ab19
test byte [edi + 0x58], 1
je 0x41b558
lea eax, [ebp - 0xc]
push eax
push 0x2001f
push esi
push str.SoftwareMicrosoftInternet_ExplorerSettings
push connect
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x41b558
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov word [ebp - 0x28], si
xor eax, eax
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc
pop ebx
stosw word es:[edi], ax
push str.Anchor_Color
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 8]
lea edi, [ebp - 0x28]
mov dword [ebp - 8], ebx
call fcn.0041b844
test eax, eax
jne 0x41b51c
mov eax, edi
call fcn.0041b8ab
cmp eax, 0xffffffff
je 0x41b51c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], eax
push str.Anchor_Color_Visited
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 8]
lea edi, [ebp - 0x28]
mov dword [ebp - 8], ebx
call fcn.0041b844
test eax, eax
jne 0x41b549
mov eax, edi
call fcn.0041b8ab
cmp eax, 0xffffffff
je 0x41b549
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x50], eax
cmp dword [ebp - 0xc], 0
je 0x41b558
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xac]
pop edi
pop esi
pop ebx
leave
ret 4