Function at 0x1001d0e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x100572c0]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0x48
mov eax, 0x10043a39
call fcn.1002b113
mov eax, dword [ebp + 0x444]
mov dword [ebp - 0x28], eax
xor ebx, ebx
xor ecx, ecx
cmp byte [ebp + 0x448], bl
mov edi, 0x100
sete cl
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x42c]
mov dword [ebp - 0x14], ebx
dec ecx
and ecx, edi
add ecx, 0x20019
cmp dword [ebp + 0x440], 8
jae 0x1001d146
lea eax, [ebp + 0x42c]
lea edx, [ebp - 0x14]
push edx
push ecx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], ebx
jne 0x1001d1e4
call fcn.1001a60e
test eax, eax
je 0x1001d3b8
sub esp, 0x1c
lea eax, [ebp + 0x428]
mov esi, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.10002160
push 0x36
push str.JustUtil::EnumValues
mov byte [ebp - 4], 1
call fcn.1001a60e
push eax
mov ecx, 0x10049924
lea ebx, [ebp - 0x54]
call fcn.1001ac41
push 3
pop edi
mov esi, eax
mov byte [ebp - 4], 2
call fcn.1001aa80
mov ecx, eax
push dword [ebp - 0x10]
mov eax, str.Cant_open_key:
call fcn.1001ab2c
mov ecx, eax
call fcn.1001a914
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1001abe7
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.1001a66c
xor ebx, ebx
jmp 0x1001d3b8
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x21c]
push eax
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1001d3a7
push 7
pop ecx
xor eax, eax
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
dec eax
je 0x1001d2dd
sub eax, 3
je 0x1001d282
sub eax, ecx
jne 0x1001d33d
push dword [ebp + 0x448]
lea eax, [ebp + 0x21c]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.10002136
sub esp, 0x1c
mov byte [ebp - 4], 8
lea eax, [ebp + 0x428]
mov esi, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.10002160
mov byte [ebp - 4], 4
call fcn.1001dd18
push 0xa
lea ecx, [ebp + 0x1c]
push ecx
push edx
push eax
call fcn.10028de4
jmp 0x1001d2ce
push dword [ebp + 0x448]
lea eax, [ebp + 0x21c]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.10002136
sub esp, 0x1c
mov byte [ebp - 4], 7
lea eax, [ebp + 0x428]
mov esi, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.10002160
push SysReAllocString
mov byte [ebp - 4], 4
call fcn.1001dbd8
push 0xa
lea ecx, [ebp + 0x1c]
push ecx
push eax
call fcn.10028d3b
add esp, 0x4c
push eax
lea eax, [ebp]
push eax
call fcn.1000ecc8
jmp 0x1001d33d
push dword [ebp + 0x448]
lea eax, [ebp + 0x21c]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.10002136
sub esp, 0x1c
mov byte [ebp - 4], 5
lea eax, [ebp + 0x428]
mov esi, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.10002160
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call fcn.1001d9b5
add esp, 0x40
push 0xffffffffffffffff
push ebx
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.10002c83
push ebx
push 1
lea esi, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.10002d0f
lea eax, [ebp + 0x21c]
push eax
lea esi, [ebp - 0x44]
call fcn.10002136
mov eax, esi
mov byte [ebp - 4], 9
mov ebx, dword [ebp - 0x28]
push eax
call fcn.1001e027
push 0xffffffffffffffff
mov ecx, eax
xor ebx, ebx
push ebx
lea eax, [ebp]
call fcn.10002c83
push ebx
push 1
call fcn.10002d0f
inc dword [ebp - 0x10]
push ebx
push 1
lea esi, [ebp]
mov byte [ebp - 4], bl
call fcn.10002d0f
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x21c]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1001d20e
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea esi, [ebp + 0x428]
call fcn.10002d0f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x41c]
xor ecx, ebp
call fcn.10026081
add ebp, 0x420
leave
ret