Function at 0x1000b4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x1000ff40
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1001601c]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x110]
mov edx, dword [0x1001659c]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x28], ecx
xor ebx, ebx
mov ecx, 0x1001659c
mov dword [ebp - 0x24], 0x104
mov dword [ebp - 0x20], ebx
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
mov edx, dword [0x1001659c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1001659c
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
push ecx
push 0x10011ecc
push 0x80000000
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
je 0x1000b5ee
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b59e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b5c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.1000e1de
add ebp, 0x108
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp]
push edx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x1000b62f
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x20], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1000b592
mov edx, dword [0x1001659c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1001659c
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp]
push ecx
push 0x100116b4
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000d760
add esp, 8
call fcn.1000c580
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], ebx
jl 0x1000b747
mov esi, dword [sym.imp.MSVCR80.dll__mbsstr]
push str..exe
push ecx
call esi
mov ecx, dword [ebp - 0x14]
add esp, 8
cmp eax, ebx
je 0x1000b747
sub eax, ecx
js 0x1000b747
cmp dword [ecx - 0xc], ebx
jge 0x1000b69c
or eax, 0xffffffff
jmp 0x1000b6b3
push str..exe
push ecx
call esi
add esp, 8
cmp eax, ebx
jne 0x1000b6b0
or eax, 0xffffffff
jmp 0x1000b6b3
sub eax, dword [ebp - 0x14]
lea esi, [eax + 4]
lea edi, [ebp - 0x14]
call fcn.1000c7e0
push 0x100113cb
push 0x10011d78
mov edx, edi
push edx
call fcn.1000c370
mov ebx, edi
call fcn.1000c980
mov ebx, eax
call fcn.1000ca10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x1000b6fa
mov eax, dword [eax - 0xc]
push eax
mov ecx, edi
push ecx
call fcn.1000cb30
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x38]
call fcn.1000dbf0
lea edx, [ebp - 0x1c]
push edx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.1000ddb0
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.1000de90
lea edi, [ebp - 0x14]
call fcn.1000c7a0
mov esi, edi
call fcn.1000c740
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1000b73b
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b767
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
lea ebx, [ebp - 0x1c]
call fcn.1000c980
mov ebx, eax
call fcn.1000ca10
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x1000b79a
mov edx, dword [eax + 4]
push edx
push esi
call fcn.1000cb30
mov esi, dword [esi]
mov ecx, dword [ebp - 0x2c]
push esi
call dword [0x1001114c]
lea ebx, [ebp - 0x18]
call fcn.1000c980
mov ebx, eax
call fcn.1000ca10
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x1000b7cc
mov eax, dword [eax + 4]
push eax
push esi
call fcn.1000cb30
mov esi, dword [esi]
mov ecx, dword [ebp - 0x28]
push esi
call dword [0x1001114c]
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x1000b7f0
xor eax, eax
jmp 0x1000b806
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000b7f5
sub eax, esi
js 0x1000b8a5
cmp eax, dword [edx - 8]
jg 0x1000b8a5
mov dword [edx - 0xc], eax
mov ecx, dword [ebp - 0x1c]
lea esi, [ebp - 0x1c]
mov byte [eax + ecx], 0
call fcn.1000c740
mov edx, dword [ebp - 0x18]
test edx, edx
jne 0x1000b82c
xor eax, eax
jmp 0x1000b83e
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000b831
sub eax, esi
js 0x1000b8a5
cmp eax, dword [edx - 8]
jg 0x1000b8a5
mov dword [edx - 0xc], eax
mov edx, dword [ebp - 0x18]
lea esi, [ebp - 0x18]
mov byte [eax + edx], 0
call fcn.1000c740
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b878
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b89e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x1000b5c9
push 0x80070057
call fcn.10002bb0
int3