Function at 0x100d1e2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov edi, dword [ebp + 8]
mov esi, dword [eax*8 + 0x10116a4]
push 4
pop ecx
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x100d221
inc eax
cmp eax, 6
jb 0x100d206
jmp 0x100d22b
mov ecx, dword [eax*8 + 0x10116a8]
mov dword [ebp - 0x10], ecx
cmp eax, 6
jae 0x100d255
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push dword [ebp - 0x10]
call fcn.0100ca95
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x100d53f
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
jmp 0x100d53f
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.0100e017
cmp eax, ebx
jge 0x100d27c
cmp dword [0x1011724], ebx
je 0x100d504
push eax
push 0x1003028
jmp 0x100d38c
mov edi, 0x1002e18
push edi
mov dword [ebp - 0x1c], 1
call fcn.010093aa
lea esi, [eax + eax + 4]
movzx eax, word [ebp - 0x3c]
pop ecx
add esi, eax
push esi
call fcn.0100de9b
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x100d2bd
cmp dword [0x1011724], ebx
je 0x100d504
push esi
push 0x1002ffc
jmp 0x100d38c
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 0x24]
mov word [ebp - 0x22], si
mov esi, dword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
push eax
mov word [ebp - 0x24], bx
call esi
push 0x100128c
lea eax, [ebp - 0x24]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ntdll.dll_RtlAppendUnicodeStringToString]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x18
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call fcn.0100cce7
or eax, 0x80000000
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKey]
cmp eax, ebx
jge 0x100d342
cmp dword [0x1011724], ebx
je 0x100d504
push eax
push dword [ebp - 0x20]
push 0x1002fd4
jmp 0x100d3cc
mov esi, dword [sym.imp.ntdll.dll_NtQueryValueKey]
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 2
mov edi, 0x1011670
push edi
push dword [ebp - 4]
call esi
cmp eax, 0x80000005
je 0x100d369
cmp eax, 0xc0000023
jne 0x100d3b4
push dword [ebp - 0xc]
call fcn.0100de9b
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x100d3a0
cmp dword [0x1011724], ebx
je 0x100d504
push dword [ebp - 0xc]
push 0x1002fa8
push 0x1002f94
push 1
call fcn.0100d7ab
add esp, 0x10
jmp 0x100d504
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0xc]
push eax
push 2
push edi
push dword [ebp - 4]
call esi
cmp eax, ebx
jge 0x100d3e0
cmp dword [0x1011724], ebx
je 0x100d504
push eax
push dword [0x1011674]
push 0x1002f64
push 0x1002f94
push 1
call fcn.0100d7ab
add esp, 0x14
jmp 0x100d504
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov edx, ecx
dec edx
je 0x100d47d
dec edx
je 0x100d417
cmp dword [0x1011724], ebx
je 0x100d40f
push ecx
push 0x1002f4c
push 0x1002f94
push 1
call fcn.0100d7ab
add esp, 0x10
mov dword [ebp - 8], ebx
jmp 0x100d504
lea ecx, [eax + 0xc]
mov dword [ebp - 0x30], ecx
mov cx, word [eax + 8]
sub cx, 2
mov word [ebp - 0x34], cx
mov ax, word [eax + 8]
mov word [ebp - 0x32], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
add eax, eax
mov word [ebp - 0x2a], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
mov word [ebp - 0x2c], bx
call dword [sym.imp.ntdll.dll_RtlExpandEnvironmentStrings_U]
cmp eax, 0xc0000023
jne 0x100d474
cmp dword [0x1011724], ebx
je 0x100d504
push 0x1002f28
jmp 0x100d4f5
cmp eax, ebx
jge 0x100d4a1
mov dword [ebp - 8], ebx
jmp 0x100d4a1
cmp dword [ebp + 0x10], ebx
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
je 0x100d4e8
mov edx, dword [ebp + 0x14]
add edx, edx
cmp edx, ecx
jb 0x100d4e8
push ecx
add eax, 0xc
push eax
push dword [ebp + 0x10]
call fcn.01009d50
add esp, 0xc
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x100d504
lea eax, [ebp - 0x10]
push eax
push 0x1011678
push dword [ebp - 4]
call fcn.0100c41d
cmp eax, ebx
jge 0x100d4e1
cmp dword [0x1011724], ebx
je 0x100d4da
push eax
push 0x1002efc
push 0x1002f94
push 1
call fcn.0100d7ab
add esp, 0x10
mov dword [ebp - 8], ebx
mov dword [esi], ebx
jmp 0x100d504
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
jmp 0x100d504
cmp dword [0x1011724], ebx
je 0x100d504
push 0x1002ed0
push 0x1002f94
push 2
call fcn.0100d7ab
add esp, 0xc
cmp dword [ebp - 4], ebx
je 0x100d512
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [ebp - 0x18], ebx
je 0x100d51f
push dword [ebp - 0x18]
call fcn.0100dec0
cmp dword [ebp - 0x14], ebx
je 0x100d52c
push dword [ebp - 0x14]
call fcn.0100dec0
cmp dword [ebp - 0x1c], ebx
je 0x100d53a
lea eax, [ebp - 0x3c]
push eax
call fcn.0100e0b2
mov eax, dword [ebp - 8]
shr eax, 1
pop edi
pop esi
pop ebx
leave
ret 0x10