Function at 0x411d18
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8a4
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0x824], ecx
xor eax, eax
push esi
mov esi, dword [0x41b084]
xor ecx, ecx
push edi
inc ecx
mov dword [ebp - 0x818], eax
xor edi, edi
xor ebx, ebx
call fcn.00407d9b
push ebx
push ebx
push 0xb
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1009
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x41b098], ebx
je 0x41201e
push 0xfffffffffffffff0
lea eax, [ebp - 0x808]
mov dword [ebp - 0x864], 3
push esi
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x85c], edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 0x828], eax
lea eax, [ebp - 0x810]
push eax
push edi
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x820], edi
push eax
push edi
lea eax, [ebp - 0x814]
mov dword [ebp - 0x810], edi
push eax
lea eax, [ebp - 0x808]
mov dword [ebp - 0x814], 0x400
push eax
push edi
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x81c], 1
jmp 0x411f82
cmp dword [ebp - 0x80c], 1
je 0x411e1c
cmp dword [ebp - 0x80c], 2
je 0x411e1c
cmp dword [ebp - 0x80c], 7
je 0x411e1c
xor ecx, ecx
jmp 0x411e1f
push 2
pop ecx
mov eax, dword [ebp - 0x810]
add eax, ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x411f04
lea eax, [ebp - 0x810]
push eax
push edi
lea eax, [ebp - 0x80c]
push eax
push 0
lea eax, [ebp - 0x808]
push eax
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411e7a
lea eax, [ebp - 0x810]
mov edx, edi
push eax
lea ecx, [ebp - 0x80c]
call fcn.0040bd9d
test eax, eax
je 0x411e88
push 0x65
pop eax
xor ebx, ebx
mov dword [ebp - 0x818], eax
inc ebx
jmp 0x411ef5
cmp dword [ebp - 0x814], 0
jne 0x411e9b
mov dword [ebp - 0x820], 1
cmp dword [ebp - 0x80c], 1
je 0x411ec0
cmp dword [ebp - 0x80c], 2
je 0x411ec0
cmp dword [ebp - 0x80c], 7
mov dword [ebp - 0x848], 5
jne 0x411eca
mov dword [ebp - 0x848], 4
lea eax, [ebp - 0x864]
push eax
push 0
push 0x104d
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x80c]
mov edx, eax
mov ecx, esi
push dword [ebp - 0x810]
push edi
call fcn.00412046
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x818]
jmp 0x411f10
push 0x66
xor ebx, ebx
pop eax
inc ebx
mov dword [ebp - 0x818], eax
test ebx, ebx
je 0x411f39
lea ecx, [ebp - 0x808]
movzx eax, ax
push ecx
push 0x10
push 0x64
push eax
push dword [ebp - 0x824]
push dword [0x41be1c]
call fcn.0040bbba
add esp, 0x18
xor ebx, ebx
and dword [ebp - 0x810], 0
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x814], 0x400
push eax
push 0
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x808]
push eax
push dword [ebp - 0x81c]
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 0x81c]
mov edi, eax
test edi, edi
je 0x411dfd
push dword [ebp - 0x828]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [0x41b0a4]
xor ebx, ebx
mov dword [ebp - 0x850], eax
lea eax, [ebp - 0x864]
push eax
mov dword [ebp - 0x860], ebx
mov dword [ebp - 0x848], 4
push ebx
cmp dword [ebp - 0x820], ebx
je 0x411fe0
push 0x104c
push esi
mov dword [ebp - 0x864], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x411ff9
push 0x104d
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push ebx
xor edx, edx
mov ecx, esi
call fcn.00412046
xor eax, eax
inc eax
mov dword [ebp - 0x890], eax
mov dword [ebp - 0x894], eax
lea eax, [ebp - 0x8a0]
push eax
push ebx
push 0x102b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x412020
xor ebx, ebx
push ebx
push 1
push 0xb
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
call fcn.00407d9b
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419cc0
mov esp, ebp
pop ebp
ret