Function at 0x414c0a
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.0040a299
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 0x414f09
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 0x414e6b
cmp dword [ebp - 0x810], 1
je 0x414d0b
cmp dword [ebp - 0x810], 2
je 0x414d0b
cmp dword [ebp - 0x810], 7
je 0x414d0b
xor ecx, ecx
jmp 0x414d0e
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 0x414df0
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 0x414d65
lea eax, [ebp - 0x814]
push eax
push edi
lea ecx, [ebp - 0x810]
call fcn.0040ecbf
test eax, eax
je 0x414d73
push 0x65
pop eax
xor ebx, ebx
mov dword [ebp - 0x81c], eax
inc ebx
jmp 0x414de1
cmp dword [ebp - 0x818], 0
jne 0x414d86
mov dword [ebp - 0x824], 1
cmp dword [ebp - 0x810], 1
je 0x414dab
cmp dword [ebp - 0x810], 2
je 0x414dab
cmp dword [ebp - 0x810], 7
mov dword [ebp - 0x84c], 5
jne 0x414db5
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.00414f32
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x81c]
jmp 0x414dfc
push 0x66
xor ebx, ebx
pop eax
inc ebx
mov dword [ebp - 0x81c], eax
test ebx, ebx
je 0x414e25
lea ecx, [ebp - 0x80c]
movzx eax, ax
push ecx
push 0x10
push 0x64
push eax
push dword [ebp - 0x828]
push dword [0x41edec]
call fcn.0040eae0
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 0x414cec
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 0x414ec9
push 0x104c
push dword [esi]
mov dword [ebp - 0x868], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x414ee3
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.00414f32
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 0x414f0b
xor ebx, ebx
push ebx
push 1
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
call fcn.0040a299
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ca70
leave
ret 4