Function at 0x411bc0
Capabilities:
Get graphical window text
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x6e], eax
push edi
mov edx, dword [esi + 4]
mov dword [ebp - 0x6a], eax
lea ecx, [ebp - 0x70]
push 8
xor ebx, ebx
mov dword [ebp - 0x66], eax
push ecx
push edx
mov word [ebp - 0x70], bx
mov word [ebp - 0x62], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x411c71
lea eax, [ebp - 0x70]
push 0x548464
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x411c71
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call edi
mov ecx, eax
or ch, 1
cmp eax, ecx
je 0x411c2e
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 0x411c6d
cmp eax, 4
je 0x411c6d
cmp eax, 5
je 0x411c6d
cmp eax, 6
je 0x411c6d
cmp eax, 7
je 0x411c6d
cmp eax, 8
je 0x411c6d
cmp eax, 9
je 0x411c6d
cmp eax, 0xd
je 0x411c6d
cmp eax, 0xe
je 0x411c6d
cmp eax, 0xf
jne 0x411c71
and byte [esi + 0x54], 0xfe
mov ecx, dword [0x547404]
mov edx, dword [0x547400]
mov eax, dword [0x55f3b4]
push 0x547488
push 0x547408
push 0x20
push 0x20
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateCursor]
mov dword [esi + 0x28], eax
mov al, byte [esi + 0x54]
test al, 1
je 0x411d3b
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
mov dword [esi + 0x30], eax
jne 0x411cce
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x30], eax
mov edx, dword [esi + 0x30]
cmp edx, ebx
je 0x411d3b
cmp dword [esi + 0x2c], ebx
jne 0x411d3b
mov ecx, 0x16
xor eax, eax
lea edi, [ebp - 0xc8]
mov dword [ebp - 0xcc], ebx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0xcc]
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esi + 0x50]
and edx, 0x30
cmp dl, 0x30
jne 0x411d16
mov dword [ebp - 0xbc], 0x2bc
jmp 0x411d23
test byte [esi + 0x50], 1
jne 0x411d23
mov byte [ebp - 0xb7], 1
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x2c], eax
mov al, byte [esi + 0x54]
or al, 8
mov byte [esi + 0x54], al
push ebx
push ecx
mov ecx, esp
push ebx
lea edi, [esi + 0x44]
call fcn.00412310
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
push ebx
call fcn.00412310
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.004123b0
cmp dword [esi + 0x20], ebx
jne 0x411de0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x411de0
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
add eax, 3
and al, 0xfc
call fcn.00532230
mov eax, dword [esi + 4]
mov edi, esp
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x411de0
mov ecx, dword [esi + 0x20]
push ecx
call fcn.005329d2
add esp, 4
mov dword [esi + 0x20], 0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
call fcn.00533086
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x411de0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, esi
call fcn.004128f0
mov eax, dword [esi + 4]
test eax, eax
je 0x411de0
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41201e
mov eax, dword [esi + 0x20]
xor ebx, ebx
cmp eax, ebx
jne 0x411e04
cmp dword [esi + 0x24], ebx
je 0x412029
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetDC]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], ecx
push edx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
lea edi, [esi + 0x34]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov al, byte [esi + 0x54]
test al, 1
jne 0x411e63
lea ecx, [ebp - 0x18]
call fcn.00412320
jmp 0x412020
mov ecx, dword [esi + 0x50]
shr ecx, 4
test cl, 1
je 0x411f67
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x34]
push edx
lea ecx, [ebp - 4]
push eax
lea edx, [ebp - 8]
push ecx
lea eax, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x10]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x60], ebx
call fcn.00414070
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
je 0x411ee9
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x44]
push 0x410
push ecx
push edx
push eax
lea ecx, [ebp - 0x18]
call fcn.004fe3e0
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
je 0x411f1c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x5c]
push 0x410
push ecx
push edx
push eax
lea ecx, [ebp - 0x18]
call fcn.004fe3e0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [edi], eax
mov eax, dword [ebp - 0x50]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
lea ecx, [ebp - 0x18]
mov dword [edi + 0xc], eax
call fcn.00412320
jmp 0x412020
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0xc], ebx
cmp eax, ebx
je 0x411f7f
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x411f8b
mov dword [ebp - 8], eax
jmp 0x411f91
mov edx, dword [esi + 0x24]
mov dword [ebp - 8], edx
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
xor eax, eax
mov edx, ecx
mov dword [ebp - 0x34], ecx
and edx, 1
mov dword [ebp - 0x20], edx
je 0x411fb5
mov eax, 1
jmp 0x411fbf
test cl, 2
je 0x411fbf
mov eax, 2
mov ecx, dword [ebp - 8]
or eax, 0x410
push eax
push edi
push 0xffffffffffffffff
push ecx
lea ecx, [ebp - 0x18]
call fcn.004fe3e0
cmp dword [esi + 0x2c], ebx
je 0x411fe7
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x20], ebx
je 0x411ffd
mov eax, dword [ebp - 0x28]
mov edx, dword [esi + 0x3c]
sub eax, edx
push ebx
cdq
sub eax, edx
sar eax, 1
push eax
jmp 0x41200d
test byte [ebp - 0x34], 2
je 0x412014
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 0x3c]
sub ecx, eax
push ebx
push ecx
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [ebp - 0x18]
call fcn.00412320
jmp 0x412020
xor ebx, ebx
cmp dword [esi + 0x24], ebx
jne 0x4120bc
mov edx, dword [esi + 0x50]
shr edx, 2
test dl, 1
jne 0x4120bc
mov edi, dword [esi + 0x20]
cmp edi, ebx
je 0x4120ee
push ebx
call fcn.005329d2
add esp, 4
mov dword [esi + 0x24], ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00533086
add esp, 4
cmp eax, ebx
mov dword [esi + 0x24], eax
je 0x4120ee
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [esi + 0x20], ebx
jne 0x412082
mov ecx, esi
call fcn.004128f0
mov ecx, dword [esi + 0x44]
lea edi, [esi + 0x44]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4120ee
mov edx, dword [edi]
push ebx
push 1
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x24]
lea eax, [esi + 0x34]
push 1
push eax
push ecx
mov ecx, esp
push edx
call fcn.00412310
mov eax, dword [esi + 4]
push eax
jmp 0x4120e7
mov ecx, dword [esi + 0x44]
lea edi, [esi + 0x44]
push ebx
push 1
push 0x401
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x24]
lea edx, [esi + 0x34]
push 1
push edx
push ecx
mov ecx, esp
push eax
call fcn.00412310
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00412410
test byte [esi + 0x54], 1
je 0x4122f6
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push edx
push 0xf003f
push ebx
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4122f6
xor eax, eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x4a], eax
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x46], eax
push ecx
mov dword [ebp - 0x42], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3e], eax
push edx
mov dword [ebp - 0x3a], eax
mov word [ebp - 0x4c], bx
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x20]
push eax
push ebx
push str.Anchor_Color
push ecx
mov dword [ebp - 0xc], 0x18
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41220b
or eax, 0xffffffff
lea edx, [ebp - 0x1c]
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], edx
mov ax, word [ebx]
mov edi, ebx
test ax, ax
je 0x4121b9
cmp ax, 0x2c
je 0x4121a3
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
mov ax, word [edi]
test ax, ax
jne 0x41218a
jmp 0x4121b9
push ebx
mov word [edi], 0
call fcn.0053232e
mov ecx, dword [ebp - 4]
add esp, 4
lea ebx, [edi + 2]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0xffffffff
je 0x41220b
mov eax, dword [ebp - 8]
add edx, 4
inc eax
mov dword [ebp - 4], edx
cmp eax, 2
mov dword [ebp - 8], eax
jl 0x412180
cmp word [ebx], 0
je 0x41220b
push ebx
call fcn.0053232e
mov ecx, dword [ebp - 0x18]
and eax, 0xff
shl eax, 8
and ecx, 0xff
add esp, 4
or eax, ecx
mov ecx, dword [ebp - 0x1c]
shl eax, 8
and ecx, 0xff
or eax, ecx
cmp eax, 0xffffffff
je 0x41220b
mov dword [esi + 0x48], eax
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push ecx
push edx
push 0
push str.Anchor_Color_Visited
push eax
mov dword [ebp - 0xc], 0x18
mov dword [ebp - 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4122e8
or eax, 0xffffffff
lea ecx, [ebp - 0x1c]
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], ecx
mov ax, word [ebx]
mov edi, ebx
test ax, ax
je 0x412293
cmp ax, 0x2c
je 0x41227d
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
mov ax, word [edi]
test ax, ax
jne 0x412264
jmp 0x412293
push ebx
mov word [edi], 0
call fcn.0053232e
mov edx, dword [ebp - 4]
add esp, 4
lea ebx, [edi + 2]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
je 0x4122e8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
inc eax
add edx, 4
cmp eax, 2
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jl 0x41225a
cmp word [ebx], 0
je 0x4122e8
push ebx
call fcn.0053232e
mov ecx, dword [ebp - 0x18]
and eax, 0xff
shl eax, 8
and ecx, 0xff
add esp, 4
or eax, ecx
mov ecx, dword [ebp - 0x1c]
shl eax, 8
and ecx, 0xff
or eax, ecx
cmp eax, 0xffffffff
je 0x4122e8
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4122f6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xd8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret