Function at 0x1002bd70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x768
mov eax, dword [0x1004c024]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x750], ecx
call sym.Comn.dll_GetObjectSys
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
call eax
test eax, eax
je 0x1002c0d8
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x218]
push ecx
push 0
call fcn.10027d70
add esp, 8
mov dword [ebp - 0xc], eax
mov word [ebp - 8], 0x2a
mov dword [ebp - 0x21c], 0
jmp 0x1002bde2
mov edx, dword [ebp - 0x21c]
add edx, 1
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x21c], 2
jge 0x1002c0cc
mov dword [ebp - 0x220], 0
jmp 0x1002be0a
mov eax, dword [ebp - 0x220]
add eax, 1
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0x100
jge 0x1002c0c0
cmp dword [ebp - 0xc], 0
je 0x1002be4d
cmp dword [ebp - 0x218], 0
jne 0x1002be4d
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.1002bc00
add esp, 8
test eax, eax
je 0x1002be4d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x214]
je 0x1002be4d
jmp 0x1002bdfb
call sym.Comn.dll_CreateObjectPat
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x224]
mov edx, dword [eax + 4]
call edx
test eax, eax
je 0x1002c096
mov word [ebp - 0x628], 0
push 0x3fe
push 0
lea eax, [ebp - 0x626]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x63c]
push ecx
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x224]
mov edx, dword [eax + 8]
call edx
test eax, eax
je 0x1002bf8f
cmp dword [ebp - 0xc], 0
je 0x1002befc
cmp dword [ebp - 0x218], 0
jne 0x1002befc
mov eax, dword [ebp - 0x634]
xor ecx, ecx
mov dword [ebp - 0x758], eax
mov dword [ebp - 0x754], ecx
mov edx, dword [ebp - 0x210]
cmp edx, dword [ebp - 0x758]
jne 0x1002befa
mov eax, dword [ebp - 0x20c]
cmp eax, dword [ebp - 0x754]
je 0x1002befc
jmp 0x1002be99
mov ecx, dword [ebp - 0x634]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x220]
push eax
push 0x200
lea ecx, [ebp - 0x628]
push ecx
mov edx, dword [ebp - 0x750]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x750]
mov edx, dword [eax + 0x2c]
call edx
test eax, eax
je 0x1002bf8a
lea eax, [ebp - 0x628]
push eax
call fcn.100286f0
add esp, 4
test eax, eax
je 0x1002bf8a
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx]
call eax
lea ecx, [ebp - 0x628]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
mov eax, 1
jmp 0x1002c229
jmp 0x1002be99
mov dword [ebp - 0x62c], 0
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x63c]
push edx
mov eax, dword [ebp - 0x224]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx + 0xc]
call eax
test eax, eax
je 0x1002c096
cmp dword [ebp - 0xc], 0
je 0x1002c003
cmp dword [ebp - 0x218], 0
jne 0x1002c003
mov ecx, dword [ebp - 0x634]
xor edx, edx
mov dword [ebp - 0x760], ecx
mov dword [ebp - 0x75c], edx
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x760]
jne 0x1002c001
mov ecx, dword [ebp - 0x20c]
cmp ecx, dword [ebp - 0x75c]
je 0x1002c003
jmp 0x1002bf99
mov edx, dword [ebp - 0x62c]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0x220]
push ecx
push 0x200
lea edx, [ebp - 0x628]
push edx
mov eax, dword [ebp - 0x750]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x750]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
je 0x1002c091
lea ecx, [ebp - 0x628]
push ecx
call fcn.100286f0
add esp, 4
test eax, eax
je 0x1002c091
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x224]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 0x224]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx]
call eax
lea ecx, [ebp - 0x628]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
mov eax, 1
jmp 0x1002c229
jmp 0x1002bf99
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx]
call eax
jmp 0x1002bdfb
mov dword [ebp - 0xc], 0
jmp 0x1002bdd3
xor eax, eax
jmp 0x1002c229
mov dword [ebp - 0x648], 0
lea ecx, [ebp - 0x648]
push ecx
push str.SystemSetup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x640], eax
cmp dword [ebp - 0x640], 0
je 0x1002c149
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0x764], eax
push 0x26e
push 0x10040540
call fcn.100287f0
add esp, 8
push eax
push str._s:_Failed_to_RegOpenKey.
mov edx, dword [ebp - 0x764]
push edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0xc
xor eax, eax
jmp 0x1002c229
mov word [ebp - 0x748], 0
push 0xfe
push 0
lea eax, [ebp - 0x746]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x644], 0x80
mov dword [ebp - 0x74c], 0
lea ecx, [ebp - 0x644]
push ecx
lea edx, [ebp - 0x748]
push edx
lea eax, [ebp - 0x74c]
push eax
push 0
push 0x10040568
mov ecx, dword [ebp - 0x648]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x640], eax
cmp dword [ebp - 0x640], 0
je 0x1002c1ff
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0x768], eax
push 0x279
push 0x10040588
call fcn.100287f0
add esp, 8
push eax
push str._s:_Failed_to_RegQueryValueEx.
mov edx, dword [ebp - 0x768]
push edx
mov eax, dword [ebp - 0x768]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0xc
mov eax, dword [ebp - 0x648]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1002c229
mov ecx, dword [ebp - 0x648]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x748]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000f6c2
mov esp, ebp
pop ebp
ret 8