Function at 0x100410c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100bc918
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100fc018]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100fc018]
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 0x100411a4
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 0x100411a4
test edi, edi
je 0x1004117a
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1004118b
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 0x10041293
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 0x100411f5
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
test edi, edi
je 0x100411ee
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebp, ebp
je 0x1004118b
push ebp
jmp 0x10041183
test eax, eax
jne 0x100411e1
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 0x10041241
cmp byte [ebp], 0
je 0x10041241
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x10041227
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 0x10041241
cmp eax, 4
jne 0x10041241
mov ecx, dword [ebp]
push ecx
push 0x100df094
lea eax, [esp + 0x38]
call fcn.10039f80
add esp, 8
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x30]
cmp ecx, edx
je 0x10041263
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x1004125c
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 0x10041272
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebp, ebp
je 0x1004127f
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.100ba2f9
add esp, 0x48
ret 0x18