Function at 0x1000b2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000fd37
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x1001659c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001659c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x80
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.Usage
mov dword [esp + 0xec], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x38]
push eax
call fcn.10009770
add esp, 0x20
cmp al, bl
jne 0x1000b3e8
push 0x100113cb
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0xcc], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b3be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.1000e1de
add esp, 0xbc
ret
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
push ebx
push ebx
push str.UserType
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x1000b41e
lea eax, [esp + 0x40]
push eax
push 0x100116b4
lea edi, [esp + 0x1c]
call fcn.1000d760
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ebx, [esp + 0x14]
call fcn.1000c980
mov ebx, eax
call fcn.1000ca10
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x1000b450
mov ecx, dword [eax + 4]
push ecx
push esi
call fcn.1000cb30
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0xcc], bl
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x1000b470
xor eax, eax
jmp 0x1000b482
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000b475
sub eax, esi
js 0x1000b4bf
cmp eax, dword [edx - 8]
jg 0x1000b4bf
mov dword [edx - 0xc], eax
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x14]
mov byte [eax + edx], 0
call fcn.1000c740
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0xcc], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x1000b393
push 0x80070057
call fcn.10002bb0
int3