Function at 0x10009680
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1001b29c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov eax, dword [0x100215e0]
mov dword [esp + 0x164], eax
push edi
lea eax, [esp + 4]
push eax
push 0x2001f
xor edi, edi
push edi
push str.Software
push 0x80000001
mov dword [esp + 0x188], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x100098fe
push ebp
mov ebp, dword [esp + 8]
push esi
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [str.46C23500_1D2F_4702_9E3F_18CC5703077F]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x18]
push eax
push edi
push ecx
push ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], 0x2c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
je 0x10009710
mov esi, eax
jmp 0x1000971c
cmp dword [esp + 0x10], 3
je 0x1000972e
mov esi, 0xd
cmp ebp, edi
je 0x10009727
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100098fc
push edi
lea ecx, [esp + 0x70]
call fcn.1000ca40
mov edx, dword [str.46C23500_1D2F_4702_9E3F_18CC5703077F]
push 0x10
add edx, 6
push edx
lea ecx, [esp + 0x74]
mov byte [esp + 0x184], 1
call fcn.1000c8c0
push 0x2c
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x74]
call fcn.1000c8b0
test al, al
jne 0x1000978f
lea ecx, [esp + 0x6c]
mov byte [esp + 0x17c], 0
call fcn.1000a820
cmp ebp, edi
je 0x10009785
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xd
jmp 0x100098fc
lea ecx, [esp + 0x40]
push 0x18
push ecx
call fcn.1000d210
add esp, 8
cmp eax, edi
je 0x10009769
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x70]
push str._d__d__d__d:_d:_d
push edx
call fcn.10010bb0
add esp, 0x20
cmp eax, 6
je 0x100097fb
lea ecx, [esp + 0x6c]
mov byte [esp + 0x17c], 0
call fcn.1000a820
lea ecx, [esp + 0xc]
call fcn.10001922
mov eax, 0xd
jmp 0x100098fc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.10008c40
lea ecx, [esp + 0x10]
call fcn.10001a46
push str._d__d__d__d:_d:_d
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x184], 2
call fcn.10009600
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 3
call fcn.10002490
lea ecx, [esp + 0x38]
call fcn.100019f0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
call fcn.10002150
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push 0
sub ecx, esi
push 0x3c
sbb eax, edi
push eax
push ecx
call fcn.1000fe00
test edx, edx
jl 0x100098be
jg 0x10009894
cmp eax, 0x3c
jb 0x100098be
lea ecx, [esp + 0x10]
call fcn.100019f0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x17c], 0
call fcn.1000a820
lea ecx, [esp + 0xc]
call fcn.10001922
mov eax, 0x41d
jmp 0x100098fc
mov al, byte [esp + 0x184]
test al, al
je 0x100098d7
mov edx, dword [str.46C23500_1D2F_4702_9E3F_18CC5703077F]
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x10]
call fcn.100019f0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x17c], 0
call fcn.1000a820
lea ecx, [esp + 0xc]
call fcn.10001922
xor eax, eax
pop esi
pop ebp
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x168]
pop edi
call fcn.1000e24e
add esp, 0x174
ret