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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6494f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa20
mov eax, dword [ecx + 4]
push ebx
push esi
push edi
push 0x455
push eax
mov dword [ebp - 0x20], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov edi, eax
push 0xba
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + eax + 4]
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push ebx
mov esi, eax
push 0
push esi
mov dword [ebp - 0x1c], esi
call fcn.006100a0
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x18], ebx
jle 0x466998
jmp 0x466900
push 0x208
lea ecx, [ebp - 0xa2c]
push 0
push ecx
call fcn.006100a0
add esp, 0xc
lea edx, [ebp - 0xa2c]
push edx
push ebx
push 0xc4
push edi
mov dword [ebp - 0xa2c], 0x104
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0x10]
push edx
xor ecx, ecx
push 1
mov word [ebp + eax*2 - 0xa2c], cx
lea eax, [ebp - 0xa2c]
push eax
push 1
push 0x800
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
test byte [ebp - 0x10], 0x28
jne 0x46698e
lea ecx, [ebp - 0xa2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0xa2c]
lea eax, [edx + eax*2 + 2]
push ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
inc ebx
cmp ebx, dword [ebp - 0x18]
jl 0x466900
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x94], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x466a88
mov edx, dword [edi + 4]
push 0x452
push edx
call esi
mov edx, dword [edi + 0x94]
lea ecx, [ebp - 0x22c]
push ecx
push edx
push 0x148
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x22c]
test eax, 0xffff0000
jne 0x466a1c
mov ecx, eax
movzx ebx, cx
push 0
push ebx
call fcn.00403bf0
add esp, 8
test eax, eax
je 0x466a44
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00405a10
jmp 0x466a44
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466a25
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401670
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x6c]
push eax
call fcn.00466790
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466a88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 4]
push 0x452
push ecx
call esi
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x466d25
mov edx, dword [edi + 4]
push 0x452
push edx
call esi
push 0x104
lea ecx, [ebp - 0x22c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x22c]
test ecx, 0xffff0000
jne 0x466b18
mov edx, ecx
movzx ebx, dx
push 0
push ebx
call fcn.00403bf0
add esp, 8
test eax, eax
je 0x466b40
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00405a10
jmp 0x466b40
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466b21
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401670
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [edi + 0x6c]
call fcn.00465810
mov ebx, dword [edi + 0x70]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x466bb9
mov eax, dword [eax + 0xc]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x466b75
push 0x80004005
call fcn.004011d0
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466ba6
test dx, dx
je 0x466ba2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466ba6
add eax, 4
add ecx, 4
test dx, dx
jne 0x466b80
xor eax, eax
jmp 0x466bab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sets al
test al, al
jne 0x466bb9
lea eax, [ebp - 0x1c]
jmp 0x466bbf
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x466bea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, dword [edi + 0x70]
jne 0x466c8a
lea ecx, [ebp - 0x18]
push ecx
call fcn.005bd6c0
mov eax, dword [ebp - 0x18]
add esp, 4
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.AppGroups
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x22c]
push edx
push eax
mov dword [ebp - 0x14], 0
call esi
mov ecx, dword [ebp - 0x14]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
mov ebx, eax
push ebx
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
push ecx
call esi
mov edx, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [ebp - 0x10]
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x466c8d
mov ebx, dword [ebx + 0x10]
mov ecx, dword [edi + 4]
push 0x455
push ecx
call esi
push 0x66eba8
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp word [ebx], 0
mov esi, ebx
je 0x466d0d
lea esp, [esp]
push esi
lea edx, [ebp - 0xa2c]
push 0x400
push edx
call fcn.00611c28
push 0x671784
lea eax, [ebp - 0xa2c]
push 0x400
push eax
call fcn.006154f5
mov ecx, dword [edi + 4]
add esp, 0x18
push 0x455
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0xa2c]
push edx
push eax
call fcn.00465490
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 + 2], 0
lea esi, [esi + eax*2 + 2]
jne 0x466cb0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edi + 0x70]
jne 0x466d25
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x94], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10