Function at 0x100328a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f490
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x1017222c]
lea ecx, [ebp - 0x10]
push 0x1012ec60
call fcn.10023fc0
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 0x2000
call fcn.100326e0
cmp dword [esi + 0x14], 0
je 0x1003298e
mov edi, dword [ebp - 0x14]
shr edi, 1
inc edi
jns 0x10032912
push 0x80070057
call fcn.100223c0
mov eax, dword [ebp - 0x10]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x10032932
push edi
lea ecx, [ebp - 0x10]
call fcn.100249c0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.DataIntegrity
push dword [esi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.1010374b
mov edx, eax
add esp, 8
test edx, edx
js 0x10032908
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x10032908
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
lea eax, [ebp - 0x18]
push dword [ebp - 0x10]
push str.AutoRecoverPreviousSession:_DataIntegrity_s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 1
jmp 0x100329a3
lea eax, [ebp - 0x18]
push str._AutoRecoverPreviousSession:_hDataIntegrityKeyNULL
push eax
call fcn.10044f30
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
mov ecx, str.CIpcCfgValidator
call fcn.10043b30
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100329d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 0xc]
test edx, edx
je 0x10032a0b
mov ecx, dword [esi + 0x18]
add ecx, 4
cmp word [ecx], 0
jne 0x10032a0b
cmp edx, 0x1000
jge 0x10032a0b
push eax
mov eax, 0x1000
sub eax, dword [esi + 4]
push eax
push ecx
call fcn.10104b58
add esp, 0xc
mov ecx, esi
call fcn.10032410
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 8]
mov ecx, esi
call fcn.10031d30
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x10032a71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x18]
push str._Lock:_failed_releasing__LE_d
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, str.CIpcCfgValidator
mov edx, dword [ebp - 0x18]
call fcn.10043b30
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10032a71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x10032a92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret