Function at 0x1000bbf0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000fc43
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov eax, dword [esp + 0x184]
xor ebx, ebx
mov esi, ecx
xor ebp, ebp
cmp esi, ebp
mov edi, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov byte [esp + 0x17], bl
je 0x1000bc86
cmp edi, ebp
je 0x1000bc86
push esi
lea ecx, [esp + 0x54]
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 + 0x17c], ebp
cmp dword [eax + 0x14], ebp
mov ebx, 1
mov dword [esp + 0x18], ebx
je 0x1000bc86
push edi
lea ecx, [esp + 0x38]
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__]
cmp dword [eax + 0x14], ebp
lea ebx, [ebp + 3]
mov byte [esp + 0x16], 0
jne 0x1000bc8b
mov byte [esp + 0x16], 1
test bl, 2
je 0x1000bca1
and ebx, 0xfffffffd
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, 1
mov dword [esp + 0x17c], 0xffffffff
je 0x1000bcbb
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp byte [esp + 0x16], 0
jne 0x1000bd19
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.Usage
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 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__]
lea ecx, [esp + 0x34]
push ecx
call fcn.10009770
add esp, 0x20
test al, al
je 0x1000bd19
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push esi
mov esi, dword [esp + 0x38]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
push esi
je 0x1000bd1d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1000bd89
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
mov esi, dword [esp + 0x1c]
push 0x102
lea ecx, [esp + 0x72]
push ebp
push ecx
mov dword [esp + 0x28], ebp
mov word [esp + 0x78], bp
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
push edi
push esi
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x38], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call ebx
cmp edi, ebp
jne 0x1000bd85
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x6c]
push edx
call dword [0x1001114c]
mov al, 1
jmp 0x1000bd89
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.1000e1de
add esp, 0x16c
ret