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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584dd0
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.00555020
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x18], ebx
jle 0x42f508
jmp 0x42f470
push 0x208
lea ecx, [ebp - 0xa2c]
push 0
push ecx
call fcn.00555020
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 0x42f4fe
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 0x42f470
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x94], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x42f5f8
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 [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x22c]
test eax, 0xffff0000
jne 0x42f58c
mov ecx, eax
movzx ebx, cx
push 0
push ebx
call fcn.004013d0
add esp, 8
test eax, eax
je 0x42f5b4
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00405fa0
jmp 0x42f5b4
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f595
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00405e50
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x6c]
push eax
call fcn.0042f300
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 0x42f5f8
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 0x42f895
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 [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x22c]
test ecx, 0xffff0000
jne 0x42f688
mov edx, ecx
movzx ebx, dx
push 0
push ebx
call fcn.004013d0
add esp, 8
test eax, eax
je 0x42f6b0
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00405fa0
jmp 0x42f6b0
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f691
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405e50
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [edi + 0x6c]
call fcn.0042df30
mov ebx, dword [edi + 0x70]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x42f729
mov eax, dword [eax + 0xc]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f6e5
push 0x80004005
call fcn.00401150
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f716
test dx, dx
je 0x42f712
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f716
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f6f0
xor eax, eax
jmp 0x42f71b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sets al
test al, al
jne 0x42f729
lea eax, [ebp - 0x1c]
jmp 0x42f72f
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 0x42f75a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, dword [edi + 0x70]
jne 0x42f7fa
lea ecx, [ebp - 0x18]
push ecx
call fcn.0050a4d0
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 0x42f7fd
mov ebx, dword [ebx + 0x10]
mov ecx, dword [edi + 4]
push 0x455
push ecx
call esi
push 0x59c2bc
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp word [ebx], 0
mov esi, ebx
je 0x42f87d
lea esp, [esp]
push esi
lea edx, [ebp - 0xa2c]
push 0x400
push edx
call fcn.00554e48
push 0x59d684
lea eax, [ebp - 0xa2c]
push 0x400
push eax
call fcn.00556d28
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.0042dbc0
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 0x42f820
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edi + 0x70]
jne 0x42f895
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