Function at 0x4180e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x4c
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x48], eax
push ebp
push esi
push edi
mov esi, ecx
mov edx, dword [esi + 4]
xor eax, eax
push 8
lea ecx, [esp + 0x18]
push ecx
push edx
mov word [esp + 0x20], ax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x41819e
push str.static
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41819e
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 0x41815b
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 0x41819a
cmp eax, 4
je 0x41819a
cmp eax, 5
je 0x41819a
cmp eax, 6
je 0x41819a
cmp eax, 7
je 0x41819a
cmp eax, 8
je 0x41819a
cmp eax, 9
je 0x41819a
cmp eax, 0xd
je 0x41819a
cmp eax, 0xe
je 0x41819a
cmp eax, 0xf
jne 0x41819e
and byte [esi + 0x58], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x4181d3
cmp dword [esi + 0x34], 0
jne 0x4181c6
call fcn.00417440
or byte [esi + 0x58], 0x10
mov dword [esi + 0x34], eax
cmp dword [esi + 0x30], 0
jne 0x4181d3
mov ecx, esi
call fcn.00417b10
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esi + 4]
lea edi, [esi + 0x48]
push ecx
mov ecx, edi
call fcn.00417bb0
cmp dword [esi + 0x24], 0
jne 0x418240
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x418240
lea ebp, [eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049f212
add esp, 4
mov dword [esi + 0x24], eax
test eax, eax
je 0x418240
push ebp
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
call fcn.00417cb0
cmp dword [esi + 0x28], 0
jne 0x418269
mov ecx, dword [esi + 0x54]
shr ecx, 2
test cl, 1
jne 0x418269
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4182a9
push eax
mov ecx, esi
call fcn.00417f40
jmp 0x4182a9
mov edx, dword [edi]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x401
push edx
call ebp
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 4]
push 0
push eax
lea eax, [esi + 0x38]
push eax
push 1
push ecx
push 0
lea ecx, [esp + 0x3c]
call fcn.00417680
mov eax, dword [edi]
lea edx, [esp + 0x24]
push edx
push 0
push 0x432
push eax
call ebp
test byte [esi + 0x58], 1
je 0x418384
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push 0
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocStringLen
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418384
mov edi, dword [esp + 0xc]
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x28]
push ecx
xor edx, edx
push str.Anchor_Color
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov word [esp + 0x30], dx
mov dword [esp + 0x18], 0xc
call fcn.004173c0
test eax, eax
jne 0x418340
lea edx, [esp + 0x24]
push edx
call fcn.00417850
add esp, 4
cmp eax, 0xffffffff
je 0x418340
mov dword [esi + 0x4c], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x4bb2e0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0xc
call fcn.004173c0
test eax, eax
jne 0x418379
lea edx, [esp + 0x24]
push edx
call fcn.00417850
add esp, 4
cmp eax, 0xffffffff
je 0x418379
mov dword [esi + 0x50], eax
test edi, edi
je 0x418384
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0049e9d2
add esp, 0x4c
ret