Function at 0x411d70
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 0x411e21
lea eax, [ebp - 0x70]
push 0x547454
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x411e21
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call edi
mov ecx, eax
or ch, 1
cmp eax, ecx
je 0x411dde
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 0x411e1d
cmp eax, 4
je 0x411e1d
cmp eax, 5
je 0x411e1d
cmp eax, 6
je 0x411e1d
cmp eax, 7
je 0x411e1d
cmp eax, 8
je 0x411e1d
cmp eax, 9
je 0x411e1d
cmp eax, 0xd
je 0x411e1d
cmp eax, 0xe
je 0x411e1d
cmp eax, 0xf
jne 0x411e21
and byte [esi + 0x54], 0xfe
mov ecx, dword [0x5463f4]
mov edx, dword [0x5463f0]
mov eax, dword [0x55e2fc]
push 0x546478
push 0x5463f8
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 0x411eeb
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 0x411e7e
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x30], eax
mov edx, dword [esi + 0x30]
cmp edx, ebx
je 0x411eeb
cmp dword [esi + 0x2c], ebx
jne 0x411eeb
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 0x411ec6
mov dword [ebp - 0xbc], 0x2bc
jmp 0x411ed3
test byte [esi + 0x50], 1
jne 0x411ed3
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.004124c0
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
push ebx
call fcn.004124c0
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00412560
cmp dword [esi + 0x20], ebx
jne 0x411f90
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x411f90
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
add eax, 3
and al, 0xfc
call fcn.00531740
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 0x411f90
mov ecx, dword [esi + 0x20]
push ecx
call fcn.00531ee2
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.00532596
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x411f90
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, esi
call fcn.00412aa0
mov eax, dword [esi + 4]
test eax, eax
je 0x411f90
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 0x4121ce
mov eax, dword [esi + 0x20]
xor ebx, ebx
cmp eax, ebx
jne 0x411fb4
cmp dword [esi + 0x24], ebx
je 0x4121d9
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 0x412013
lea ecx, [ebp - 0x18]
call fcn.004124d0
jmp 0x4121d0
mov ecx, dword [esi + 0x50]
shr ecx, 4
test cl, 1
je 0x412117
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.00414220
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 0x412099
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x44]
push 0x410
push ecx
push edx
push eax
lea ecx, [ebp - 0x18]
call fcn.004fd800
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 0x4120cc
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.004fd800
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.004124d0
jmp 0x4121d0
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0xc], ebx
cmp eax, ebx
je 0x41212f
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 0x41213b
mov dword [ebp - 8], eax
jmp 0x412141
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 0x412165
mov eax, 1
jmp 0x41216f
test cl, 2
je 0x41216f
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.004fd800
cmp dword [esi + 0x2c], ebx
je 0x412197
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 0x4121ad
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 0x4121bd
test byte [ebp - 0x34], 2
je 0x4121c4
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.004124d0
jmp 0x4121d0
xor ebx, ebx
cmp dword [esi + 0x24], ebx
jne 0x41226c
mov edx, dword [esi + 0x50]
shr edx, 2
test dl, 1
jne 0x41226c
mov edi, dword [esi + 0x20]
cmp edi, ebx
je 0x41229e
push ebx
call fcn.00531ee2
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.00532596
add esp, 4
cmp eax, ebx
mov dword [esi + 0x24], eax
je 0x41229e
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [esi + 0x20], ebx
jne 0x412232
mov ecx, esi
call fcn.00412aa0
mov ecx, dword [esi + 0x44]
lea edi, [esi + 0x44]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41229e
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.004124c0
mov eax, dword [esi + 4]
push eax
jmp 0x412297
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.004124c0
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.004125c0
test byte [esi + 0x54], 1
je 0x4124a6
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push edx
push 0xf003f
push ebx
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4124a6
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 0x4123bb
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 0x412369
cmp ax, 0x2c
je 0x412353
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
mov ax, word [edi]
test ax, ax
jne 0x41233a
jmp 0x412369
push ebx
mov word [edi], 0
call fcn.0053183e
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 0x4123bb
mov eax, dword [ebp - 8]
add edx, 4
inc eax
mov dword [ebp - 4], edx
cmp eax, 2
mov dword [ebp - 8], eax
jl 0x412330
cmp word [ebx], 0
je 0x4123bb
push ebx
call fcn.0053183e
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 0x4123bb
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 0x412498
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 0x412443
cmp ax, 0x2c
je 0x41242d
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
mov ax, word [edi]
test ax, ax
jne 0x412414
jmp 0x412443
push ebx
mov word [edi], 0
call fcn.0053183e
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 0x412498
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 0x41240a
cmp word [ebx], 0
je 0x412498
push ebx
call fcn.0053183e
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 0x412498
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4124a6
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