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

Disassembly:
push 0xffffffffffffffff
push 0x1003bfe9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x64]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
call fcn.1001b410
mov ecx, dword [esp + 0x1a8]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x198], ebx
mov dword [esp + 0x4c], 0x1003d338
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
je 0x1000d9c7
cmp byte [ecx], 0
je 0x1000d9c7
mov dl, byte [eax + ecx + 1]
inc eax
test dl, dl
jne 0x1000d9ba
mov dword [esp + 0x54], eax
push ebp
push ebx
push eax
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x1a8], 1
call fcn.1001b540
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1a4]
lea eax, [esp + 0x10]
mov dword [esp + 0x19c], 2
push eax
push 0xf003f
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000dcf0
push ebx
lea eax, [esp + 0x2c]
push ebx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x38]
push ebx
lea ecx, [esp + 0x2c]
push eax
push ecx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1000dcf0
cmp dword [esp + 0x1c], ebx
je 0x1000dbba
mov eax, dword [esp + 0x2c]
inc eax
push eax
call fcn.10030d66
mov ecx, dword [esp + 0x2c]
mov edi, eax
inc ecx
push ecx
call fcn.10030d66
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 8
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x20], esi
jbe 0x1000db9d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
inc edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], edx
inc eax
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x68]
mov dword [esp + 0x38], eax
push esi
push edx
lea eax, [esp + 0x44]
push 0
push eax
push edi
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1000db9d
push eax
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push edi
push edx
lea ecx, [esp + 0x78]
call fcn.100191d0
mov ecx, dword [eax + 8]
mov byte [esp + 0x19c], 3
test ecx, ecx
jle 0x1000dadd
mov eax, dword [eax + 4]
cmp dword [eax], 0
jne 0x1000db29
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
push esi
push ecx
lea ecx, [esp + 0x78]
call fcn.100191d0
mov ecx, dword [eax + 8]
test ecx, ecx
jg 0x1000dafb
xor esi, esi
jmp 0x1000db00
mov edx, dword [eax + 4]
mov esi, dword [edx]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], 0x1003d370
test eax, eax
je 0x1000db19
push eax
call fcn.10030c72
add esp, 4
test esi, esi
mov dword [esp + 0x50], 0x1003d36c
jne 0x1000db29
xor bl, bl
jmp 0x1000db2b
mov bl, 1
mov eax, dword [esp + 0x48]
mov byte [esp + 0x19c], 2
test eax, eax
mov dword [esp + 0x3c], 0x1003d370
je 0x1000db4c
push eax
call fcn.10030c72
add esp, 4
test bl, bl
mov dword [esp + 0x3c], 0x1003d36c
je 0x1000db86
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x18], 1
cmp eax, 1
je 0x1000db70
test eax, eax
jne 0x1000db99
mov eax, dword [esp + 0x10]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x1c]
dec ebp
dec eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jb 0x1000da7b
jmp 0x1000db9d
mov esi, dword [esp + 0x20]
push edi
call fcn.10030d5b
push esi
call fcn.10030d5b
mov eax, dword [esp + 0x20]
xor ebx, ebx
add esp, 8
cmp eax, ebx
jne 0x1000dcf0
cmp dword [esp + 0x14], ebx
je 0x1000dcee
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
call fcn.10030d66
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jbe 0x1000dce5
mov ebp, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push 0
push eax
push esi
inc edx
push ebx
push ecx
mov dword [esp + 0x50], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1000dce5
push eax
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push esi
push edx
lea ecx, [esp + 0x78]
call fcn.100191d0
mov ecx, dword [eax + 8]
test ecx, ecx
jg 0x1000dc2e
xor edi, edi
jmp 0x1000dc33
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], 0x1003d370
test eax, eax
je 0x1000dc4c
push eax
call fcn.10030c72
add esp, 4
test edi, edi
mov dword [esp + 0x3c], 0x1003d36c
je 0x1000dc84
mov edi, dword [esp + 0x1b0]
mov dword [esp + 0x18], 1
cmp edi, 1
je 0x1000dc70
test edi, edi
jne 0x1000dce5
mov ecx, dword [esp + 0x10]
push esi
push ecx
call ebp
mov eax, dword [esp + 0x14]
dec ebx
dec eax
mov dword [esp + 0x14], eax
jmp 0x1000dc8b
mov edi, dword [esp + 0x1b0]
cmp edi, 1
mov eax, 2
je 0x1000dc97
mov eax, edi
mov edx, dword [esp + 0x1ac]
push eax
mov eax, dword [esp + 0x14]
push edx
push esi
push eax
call fcn.1000d960
add esp, 0x10
test eax, eax
je 0x1000dcd8
cmp edi, 1
mov dword [esp + 0x18], 1
jne 0x1000dcd3
mov ecx, dword [esp + 0x10]
push esi
push ecx
call ebp
mov eax, dword [esp + 0x14]
dec ebx
dec eax
mov dword [esp + 0x14], eax
jmp 0x1000dcd8
cmp edi, 2
je 0x1000dce5
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jb 0x1000dbe6
push esi
call fcn.10030d5b
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, ebx
je 0x1000dd00
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x80]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x198], 0xa
jle 0x1000dd39
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0x1000dd2d
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov eax, dword [esp + 0x80]
inc esi
cmp esi, eax
jl 0x1000dd18
lea ecx, [esp + 0x14c]
mov dword [esp + 0x80], ebx
test ecx, ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
je 0x1000dd96
push 4
push 0x44
call fcn.1003114a
mov esi, eax
add esp, 8
test esi, esi
lea edi, [esp + 0x14c]
jle 0x1000dd80
mov ecx, esi
mov eax, ebx
lea edi, [esp + 0x14c]
rep stosd dword es:[edi], eax
lea edi, [esp + esi*4 + 0x14c]
test edx, edx
je 0x1000dd96
jle 0x1000dd96
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xf0], 0x1003d338
test eax, eax
mov dword [esp + 0xdc], 0x1003d330
je 0x1000ddc0
push eax
call fcn.10030c72
add esp, 4
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xdc], 0x1003d32c
test eax, eax
mov dword [esp + 0xc8], 0x1003d358
je 0x1000ddea
push eax
call fcn.10030c72
add esp, 4
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc8], 0x1003d354
test eax, eax
mov dword [esp + 0xb4], 0x1003d350
je 0x1000de14
push eax
call fcn.10030c72
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb4], 0x1003d34c
test eax, eax
mov dword [esp + 0xa0], 0x1003d348
je 0x1000de3e
push eax
call fcn.10030c72
add esp, 4
mov eax, dword [esp + 0x98]
mov esi, 0x1003d340
test eax, eax
mov dword [esp + 0xa0], 0x1003d344
mov dword [esp + 0x8c], esi
je 0x1000de69
push eax
call fcn.10030c72
add esp, 4
mov eax, dword [esp + 0x84]
mov dword [esp + 0x78], esi
pop edi
pop esi
test eax, eax
mov dword [esp + 0x84], 0x1003d33c
pop ebx
je 0x1000de8f
push eax
call fcn.10030c72
add esp, 4
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x190
ret