Function at 0x414cd4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8a8
mov eax, dword [0x41e024]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x828], eax
xor ecx, ecx
xor eax, eax
push edi
inc ecx
mov dword [ebp - 0x81c], eax
xor edi, edi
xor ebx, ebx
call fcn.0040a309
push ebx
push ebx
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1009
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x64], ebx
je 0x414fd3
push 0xfffffffffffffff0
push dword [esi]
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x868], 3
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x860], edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x814]
push eax
push edi
lea eax, [ebp - 0x810]
mov dword [ebp - 0x824], edi
push eax
push edi
lea eax, [ebp - 0x818]
mov dword [ebp - 0x814], edi
push eax
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x818], 0x400
push eax
push edi
push dword [esi + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x820], 1
jmp 0x414f35
cmp dword [ebp - 0x810], 1
je 0x414dd5
cmp dword [ebp - 0x810], 2
je 0x414dd5
cmp dword [ebp - 0x810], 7
je 0x414dd5
xor ecx, ecx
jmp 0x414dd8
push 2
pop ecx
mov eax, dword [ebp - 0x814]
add eax, ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x414eba
lea eax, [ebp - 0x814]
push eax
push edi
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x80c]
push eax
push dword [esi + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414e2f
lea eax, [ebp - 0x814]
push eax
push edi
lea ecx, [ebp - 0x810]
call fcn.0040ed4f
test eax, eax
je 0x414e3d
push 0x65
pop eax
xor ebx, ebx
mov dword [ebp - 0x81c], eax
inc ebx
jmp 0x414eab
cmp dword [ebp - 0x818], 0
jne 0x414e50
mov dword [ebp - 0x824], 1
cmp dword [ebp - 0x810], 1
je 0x414e75
cmp dword [ebp - 0x810], 2
je 0x414e75
cmp dword [ebp - 0x810], 7
mov dword [ebp - 0x84c], 5
jne 0x414e7f
mov dword [ebp - 0x84c], 4
lea eax, [ebp - 0x868]
push eax
push 0
push 0x104d
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x810]
mov ecx, dword [esi]
mov edx, eax
push dword [ebp - 0x814]
push edi
call fcn.00414ffc
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x81c]
jmp 0x414ec6
push 0x66
xor ebx, ebx
pop eax
inc ebx
mov dword [ebp - 0x81c], eax
test ebx, ebx
je 0x414eef
lea ecx, [ebp - 0x80c]
movzx eax, ax
push ecx
push 0x10
push 0x64
push eax
push dword [ebp - 0x828]
push dword [0x41edf4]
call fcn.0040eb70
add esp, 0x18
xor ebx, ebx
and dword [ebp - 0x814], 0
lea eax, [ebp - 0x814]
push eax
push 0
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0x400
push eax
push 0
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0x820]
push dword [esi + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 0x820]
mov edi, eax
test edi, edi
je 0x414db6
push dword [ebp - 0x82c]
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x74]
xor ebx, ebx
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x868]
push eax
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x84c], 4
push ebx
cmp dword [ebp - 0x824], ebx
je 0x414f93
push 0x104c
push dword [esi]
mov dword [ebp - 0x868], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x414fad
push 0x104d
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi]
xor edx, edx
push 1
push ebx
push ebx
call fcn.00414ffc
xor eax, eax
inc eax
mov dword [ebp - 0x894], eax
mov dword [ebp - 0x898], eax
lea eax, [ebp - 0x8a4]
push eax
push ebx
push 0x102b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x414fd5
xor ebx, ebx
push ebx
push 1
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
call fcn.0040a309
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cc10
leave
ret 4