Function at 0x410b40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x820]
push ebx
sub esp, 0x84c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], 0x2000000
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [ebp - 0x82c], eax
sub esp, 0x14
test eax, eax
jne 0x410f58
xor ebx, ebx
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
mov dword [ebp - 0x830], 1
mov dword [ebp - 0x834], ebx
mov ebx, dword [ebp + 0xc]
lea esi, [esi]
lea eax, [ebp - 0x81c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x830]
mov dword [ebp - 0x81c], 0x400
sub eax, 1
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x820]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x410da0
test byte [0x415868], 8
jne 0x410d30
mov edi, dword [0x415860]
cmp edi, 0x415860
jne 0x410c3a
jmp 0x410c90
mov edi, dword [edi]
cmp edi, 0x415860
je 0x410c90
mov dword [esp + 4], ebx
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
jne 0x410c30
lea eax, [ebp - 0x818]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
jne 0x410c30
mov ecx, dword [edi + 0x14]
test ecx, ecx
jne 0x410c30
test byte [0x415868], 8
jne 0x410d70
add dword [ebp - 0x830], 1
jmp 0x410ba8
add dword [ebp - 0x82c], 1
mov eax, dword [ebp - 0x82c]
lea edx, [eax*4]
mov eax, dword [ebp - 0x834]
mov dword [esp + 4], edx
mov dword [ebp - 0x838], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov edx, dword [ebp - 0x838]
mov dword [ebp - 0x834], eax
lea edx, [eax + edx - 4]
lea eax, [ebp - 0x818]
mov dword [ebp - 0x838], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edx, dword [ebp - 0x838]
mov dword [edx], eax
test byte [0x415868], 8
je 0x410c7a
mov eax, dword [ebp - 0x82c]
mov dword [esp + 0xc], str.valueslen_is_now__ld_n
mov dword [esp + 8], str.enumerate_values
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x415868
mov dword [esp], 3
call fcn.00410270
jmp 0x410c7a
lea eax, [ebp - 0x818]
call fcn.0040ffa0
mov dword [esp + 0xc], str.name_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.enumerate_values
mov dword [esp + 4], 0x415868
mov dword [esp], 3
call fcn.00410270
jmp 0x410c1a
mov dword [esp + 0xc], str.this_key_has_been_removed__so_skipping_n
mov dword [esp + 8], str.enumerate_values
mov dword [esp + 4], 0x415868
mov dword [esp], 3
call fcn.00410270
jmp 0x410c7a
mov ebx, dword [ebp - 0x834]
movzx eax, byte [0x415868]
test al, 8
jne 0x410f77
mov esi, dword [0x415860]
cmp esi, 0x415860
je 0x410e68
lea esi, [esi]
nop
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
jne 0x410e31
mov edx, dword [esi + 0x14]
test edx, edx
je 0x410e31
mov eax, dword [ebp - 0x82c]
test eax, eax
je 0x410eb0
xor edi, edi
jmp 0x410e17
add edi, 1
cmp dword [ebp - 0x82c], edi
je 0x410eb0
mov eax, dword [ebx + edi*4]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
jne 0x410e08
mov esi, dword [esi]
cmp esi, 0x415860
jne 0x410dd0
test byte [0x415868], 8
je 0x410e68
mov dword [esp + 0xc], str.adding_null_terminator_n
mov dword [esp + 8], str.enumerate_values
mov dword [esp + 4], 0x415868
mov dword [esp], 3
call fcn.00410270
test ebx, ebx
je 0x410e90
mov eax, dword [ebp - 0x82c]
mov dword [esp], ebx
lea esi, [eax*4 + 4]
mov dword [esp + 4], esi
call dword [sym.imp.ucrtbase.dll_realloc]
mov dword [eax + esi - 4], 0
mov ebx, eax
mov eax, dword [ebp - 0x820]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x415868], 8
jne 0x410f20
add dword [ebp - 0x82c], 1
mov eax, dword [ebp - 0x82c]
mov dword [esp], ebx
lea edx, [eax*4]
mov dword [esp + 4], edx
mov dword [ebp - 0x830], edx
call dword [sym.imp.ucrtbase.dll_realloc]
mov edx, dword [ebp - 0x830]
mov ebx, eax
lea edx, [eax + edx - 4]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x830], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edx, dword [ebp - 0x830]
mov dword [edx], eax
mov esi, dword [esi]
cmp esi, 0x415860
jne 0x410dd0
jmp 0x410e3b
mov eax, dword [esi + 0x10]
call fcn.0040ffa0
mov dword [esp + 0xc], str._s_in_list_but_not_registry_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.enumerate_values
mov dword [esp + 4], 0x415868
mov dword [esp], 3
call fcn.00410270
jmp 0x410eb9
movzx eax, byte [0x415868]
test al, 4
jne 0x410fb2
mov dword [ebp - 0x82c], 0
xor ebx, ebx
test al, 8
je 0x410db5
mov dword [esp + 0xc], str.adding_settings_in_list_but_not_registry_n
mov dword [esp + 8], str.enumerate_values
mov dword [esp + 4], 0x415868
mov dword [esp], 3
call fcn.00410270
mov esi, dword [0x415860]
cmp esi, 0x415860
jne 0x410dd0
jmp 0x410e3b
mov eax, dword [ebp + 0xc]
xor ebx, ebx
call fcn.0040ffa0
mov ecx, dword [ebp - 0x82c]
mov dword [esp + 0xc], str.failed_opening_registry_key__s__res0x_lx_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 8], str.enumerate_values
mov dword [esp + 4], 0x415868
mov dword [esp], 2
call fcn.00410270
movzx eax, byte [0x415868]
mov dword [ebp - 0x82c], 0
jmp 0x410dad