Function at 0x1000b9e0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1005959f
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x10076658]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10076658]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xf4]
xor edi, edi
mov ebx, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0xec], edi
xor eax, eax
mov word [esp + 0x68], ax
push edi
or eax, 0xffffffff
lea edx, [esp + 0x6c]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], edi
call fcn.10003280
mov byte [esp + 0xec], 1
mov eax, dword [esp + 0x68]
mov ebp, 8
cmp dword [esp + 0x7c], ebp
jae 0x1000ba8b
lea eax, [esp + 0x68]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000bad5
push ebx
lea ecx, [esp + 0x40]
call fcn.10007ba0
lea edx, [ebx + 0x10]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xf0], 2
call fcn.1000cc00
cmp dword [esp + 0x7c], ebp
jb 0x1000be54
mov eax, dword [esp + 0x68]
push eax
jmp 0x1000be4c
push edi
push edi
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x80]
push edx
push edi
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1000bb64
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [esp + 0x40]
call fcn.10007ba0
lea edx, [ebx + 0x10]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xf0], 3
call fcn.1000cc00
cmp dword [esp + 0x7c], ebp
jb 0x1000bb43
mov eax, dword [esp + 0x68]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
lea esi, [esp + 0x3c]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], edi
mov word [esp + 0x68], cx
call fcn.1000b980
jmp 0x1000be54
mov eax, dword [esp + 0x60]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003f6f0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
inc eax
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003f6f0
mov ebp, eax
mov eax, dword [esp + 0x3c]
add eax, 0x10
add esp, 4
push eax
call fcn.1003f6f0
add esp, 4
mov esi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x20], edi
jbe 0x1000bd75
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
inc ecx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x1c]
push esi
mov dword [esp + 0x64], ecx
add edx, 0x10
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
push edi
mov dword [esp + 0x38], edx
lea edx, [esp + 0x6c]
push edx
push ebp
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1000bd62
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push edx
lea eax, [esp + 0xc4]
push eax
mov edx, esi
call fcn.1000c7e0
add esp, 8
mov byte [esp + 0xec], 5
mov ecx, dword [esp + 0x34]
xor edx, edx
mov ebx, 7
mov eax, ebp
mov word [esp + 0x88], dx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], edi
lea edx, [eax + 2]
jmp 0x1000bc60
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000bc60
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x8c]
call fcn.10003430
mov byte [esp + 0xec], 6
xor eax, eax
mov word [esp + 0xa4], ax
push edi
or eax, 0xffffffff
lea ecx, [esp + 0xc4]
lea edx, [esp + 0xa8]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], edi
call fcn.10003280
lea ecx, [esp + 0x84]
lea ebx, [esp + 0x4c]
mov byte [esp + 0xec], 7
call fcn.1000ccd0
mov esi, 8
cmp dword [esp + 0xb8], esi
jb 0x1000bceb
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.1004076b
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb4], edi
mov word [esp + 0xa4], dx
cmp dword [esp + 0x9c], esi
jb 0x1000bd21
mov eax, dword [esp + 0x88]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov byte [esp + 0xec], 1
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], edi
mov word [esp + 0x88], cx
cmp dword [esp + 0xd4], esi
jb 0x1000bd5a
mov edx, dword [esp + 0xc0]
push edx
call fcn.1004076b
add esp, 4
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jb 0x1000bbca
mov eax, dword [esp + 0x2c]
push eax
call fcn.10040a88
add esp, 4
push ebp
call fcn.10040a88
add esp, 4
push esi
call fcn.10040a88
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [esp + 0x40]
call fcn.10007ba0
lea edx, [ebx + 0x10]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xf0], 8
call fcn.1000cc00
cmp dword [esp + 0x7c], 8
jb 0x1000bdd2
mov eax, dword [esp + 0x68]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], edi
mov word [esp + 0x68], cx
cmp dword [esp + 0x4c], edi
je 0x1000be0f
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
push edx
mov eax, esi
call fcn.1000d100
add esp, 4
push esi
call fcn.1004076b
mov ebx, dword [esp + 0x20]
add esp, 4
mov esi, dword [esp + 0x3c]
cmp esi, edi
je 0x1000be54
mov ebp, dword [esp + 0x40]
cmp esi, ebp
je 0x1000be47
nop
cmp dword [esi + 0x14], 8
jb 0x1000be31
mov eax, dword [esi]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
add esi, 0x1c
cmp esi, ebp
jne 0x1000be20
mov edx, dword [esp + 0x3c]
push edx
call fcn.1004076b
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.10040061
add esp, 0xdc
ret