Function at 0x1002fe20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100359d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1005a018]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005a018]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
push 0x13880
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
push 0x9c40
mov edi, eax
mov dword [esp + 0x2c], 0x9c40
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 8
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x9c40
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0x58], 0
cmp dword [esi], 0
jne 0x1002ff04
mov eax, dword [ebx]
push esi
push 1
push 0
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002ff04
test edi, edi
je 0x1002feda
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002feeb
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x1002fff3
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebx]
push ebp
lea edx, [esp + 0x28]
push edx
mov edx, dword [esi]
push 0
lea eax, [esp + 0x34]
push eax
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x1002ff55
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
test edi, edi
je 0x1002ff4e
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebp, ebp
je 0x1002feeb
push ebp
jmp 0x1002fee3
test eax, eax
jne 0x1002ff41
mov ecx, dword [esp + 0x2c]
push edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
cmp dword [esp + 0x18], 0
je 0x1002ffa1
cmp byte [ebp], 0
je 0x1002ffa1
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x1002ff87
push ebp
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
jmp 0x1002ffa1
cmp eax, 4
jne 0x1002ffa1
mov ecx, dword [ebp]
push ecx
push 0x1004b6a4
lea eax, [esp + 0x38]
call fcn.10028e40
add esp, 8
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x30]
cmp ecx, edx
je 0x1002ffc3
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x1002ffbc
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
inc dword [ebx]
test edi, edi
je 0x1002ffd2
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebp, ebp
je 0x1002ffdf
push ebp
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100344d1
add esp, 0x48
ret 0x18