Function at 0x1007dcc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2304
mov eax, dword fs:[0]
push eax
sub esp, 0x514
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, edx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x480], ecx
jb 0x1007dd06
mov ecx, dword [edi]
jmp 0x1007dd08
mov ecx, edi
mov eax, dword [eax]
lea edx, [ebp - 0x47c]
push edx
push 0x20019
xor ebx, ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x1007deca
lea ecx, [ebp - 0x520]
push ecx
call fcn.10013470
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x478]
push esi
push ecx
push str.__strKeyName:
push ecx
push edi
push ecx
push str.._strSubKey:
push ecx
push edx
push ecx
lea eax, [ebp - 0x520]
push str.RegOpenKeyEx_Failed._lStatus:
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1002a270
add esp, 4
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 0xc
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 8
push 0x19
mov esi, 0xf
push str.CRegUtility::ReadRegValue
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
call fcn.100191b0
mov byte [ebp - 4], 1
push 0xe
push str.RegUtility.cpp
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
call fcn.100191b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x474]
push ecx
lea edx, [ebp - 0x520]
push edx
call fcn.10013570
mov byte [ebp - 4], 3
push eax
push 0x1c
push ebx
call fcn.10013c70
push eax
lea edx, [ebp - 0x43c]
lea ecx, [ebp - 0x458]
call fcn.10072520
mov byte [ebp - 4], 2
cmp dword [ebp - 0x460], 8
jb 0x1007de3a
mov eax, dword [ebp - 0x474]
push eax
call fcn.1009c0c0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], ebx
mov word [ebp - 0x474], cx
mov byte [ebp - 4], 1
mov edi, 0x10
cmp dword [ebp - 0x444], edi
jb 0x1007de73
mov edx, dword [ebp - 0x458]
push edx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x428], edi
jb 0x1007de9f
mov eax, dword [ebp - 0x43c]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x520]
call fcn.10002af0
xor al, al
jmp 0x1007e2d2
push 0x40e
lea edx, [ebp - 0x41e]
xor ecx, ecx
push ebx
push edx
mov byte [ebp - 0x478], bl
mov word [ebp - 0x420], cx
call fcn.100a39b0
add esp, 0xc
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x484]
push edx
push ebx
mov eax, esi
mov dword [ebp - 0x488], 0x410
call fcn.10016880
push eax
mov eax, dword [ebp - 0x47c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1007e0c8
lea ecx, [ebp - 0x520]
push ecx
call fcn.10013470
mov dword [ebp - 4], 4
push esi
push ecx
push str.__strKeyName:
push ecx
push edi
push ecx
push str.._strSubKey:
push ecx
push ebx
push ecx
lea edx, [ebp - 0x520]
push str.RegQueryValueEx_Failed._lStatus:
push edx
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1002a270
add esp, 4
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 0xc
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 8
push 0x19
push str.CRegUtility::ReadRegValue
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
call fcn.100191b0
mov byte [ebp - 4], 5
push 0xe
push str.RegUtility.cpp
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], 0xf
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
call fcn.100191b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x520]
push ecx
call fcn.10013570
mov byte [ebp - 4], 7
push eax
push 0x29
push ebx
call fcn.10013c70
push eax
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x43c]
call fcn.10072520
mov byte [ebp - 4], 6
cmp dword [ebp - 0x460], 8
jb 0x1007e037
mov edx, dword [ebp - 0x474]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], ebx
mov word [ebp - 0x474], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x428], 0x10
jb 0x1007e06c
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x428], 0xf
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
mov byte [ebp - 4], 4
cmp dword [ebp - 0x444], 0x10
jb 0x1007e09e
mov edx, dword [ebp - 0x458]
push edx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x520]
call fcn.10002af0
jmp 0x1007e0e6
cmp dword [ebp - 0x484], 4
jne 0x1007e0e6
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x480]
mov byte [ebp - 0x478], 1
mov dword [ecx], eax
mov edx, dword [ebp - 0x47c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x520]
push eax
mov dword [ebp - 0x47c], ebx
call fcn.10013470
mov dword [ebp - 4], 8
push ebx
push ecx
push str.._samDesired:
push ecx
mov ecx, dword [ebp - 0x480]
mov edx, dword [ecx]
push edx
push ecx
mov eax, dword [ebp - 0x478]
push str.._dwKeyValue:
push ecx
push esi
push ecx
push str.._strKeyName:
push ecx
push edi
push ecx
push str._strSubKey:
push ecx
push eax
push ecx
lea ecx, [ebp - 0x520]
push 0x100cdbf4
push ecx
call fcn.1001c530
add esp, 0xc
push eax
call fcn.10012120
add esp, 4
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 0xc
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 0xc
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1006fa80
add esp, 4
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1006fa80
push 0x19
mov esi, 0xf
push str.CRegUtility::ReadRegValue
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
call fcn.100191b0
mov byte [ebp - 4], 9
push 0xe
push str.RegUtility.cpp
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
call fcn.100191b0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x520]
push eax
call fcn.10013570
mov byte [ebp - 4], 0xb
push eax
push 0x38
push 3
call fcn.10013c70
push eax
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x43c]
call fcn.10072520
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x460], 8
jb 0x1007e242
mov ecx, dword [ebp - 0x474]
push ecx
call fcn.1009c0c0
add esp, 4
xor edx, edx
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], ebx
mov word [ebp - 0x474], dx
mov byte [ebp - 4], 9
mov edi, 0x10
cmp dword [ebp - 0x428], edi
jb 0x1007e27b
mov eax, dword [ebp - 0x43c]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
mov byte [ebp - 4], 8
cmp dword [ebp - 0x444], edi
jb 0x1007e2a8
mov ecx, dword [ebp - 0x458]
push ecx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x520]
call fcn.10002af0
mov al, byte [ebp - 0x478]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret 8