Function at 0x101d9d9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x102a0ec]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push dword [0x102a0f4]
mov dword [ebp - 0x428], ecx
mov ecx, dword [ebp + 0x14]
push 0x10072a4
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x20c]
xor esi, esi
push 0x103
push eax
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x42c], esi
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x418]
push eax
mov ebx, 0x2001f
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x80000002
push edi
call esi
test eax, eax
jne 0x101dcec
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x10077f0
push dword [ebp - 0x418]
mov dword [ebp - 0x420], 0x208
mov dword [ebp - 0x41c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101dad0
cmp dword [ebp - 0x41c], 1
jne 0x101dad0
lea eax, [ebp - 0x20c]
push 0x1001780
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x101dad0
inc eax
jmp 0x101dad2
xor eax, eax
mov ecx, dword [ebp - 0x434]
mov dword [ecx], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x10077e0
push dword [ebp - 0x418]
mov dword [ebp - 0x420], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101dbb0
cmp dword [ebp - 0x41c], 1
jne 0x101dbb0
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
push dword [0x102a0f4]
lea eax, [ebp - 0x39c]
push 0x10072a4
push 0xc7
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x418]
push eax
push ebx
push 0
lea eax, [ebp - 0x39c]
push eax
push edi
call esi
test eax, eax
je 0x101dbb0
push dword [ebp - 0x430]
lea eax, [ebp - 0x20c]
push dword [0x102a0f4]
push 0x10072a4
push 0x103
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x418]
push eax
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
test eax, eax
je 0x101dbb2
xor eax, eax
jmp 0x101dcf2
xor ebx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push ebx
push 0x10077c4
push dword [ebp - 0x418]
mov dword [ebp - 0x420], 0x208
call esi
test eax, eax
jne 0x101dc37
cmp dword [ebp - 0x41c], 1
jne 0x101dc37
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 5
pop ecx
jbe 0x101dc37
push 1
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01028ba7
test eax, eax
jl 0x101dc37
lea eax, [ebp - 0x414]
push eax
call fcn.01016f8a
test eax, eax
je 0x101dce0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
lea eax, [ebp - 0x41c]
push eax
push ebx
push 0x10074b8
push dword [ebp - 0x418]
call esi
test eax, eax
mov edi, 0x1003c14
jne 0x101dc74
cmp dword [ebp - 0x41c], 1
je 0x101dc82
push edi
push 1
push dword [ebp - 0x428]
call fcn.0100c535
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x424]
lea eax, [ebp - 0x41c]
push eax
push ebx
push ebx
push dword [ebp - 0x418]
call esi
test eax, eax
jne 0x101dcc8
cmp dword [ebp - 0x41c], 1
jne 0x101dcc8
push dword [ebp - 0x424]
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 2
pop ecx
jae 0x101dcd6
push edi
push 1
push dword [ebp - 0x424]
call fcn.0100c535
mov dword [ebp - 0x42c], 1
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret 0x18