Function at 0x10010b60
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100169fb
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x1001c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x1e8]
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1e8], 0x5e
sub esp, 0xc
mov dword [ebp - 0x1e4], 0xb
sub eax, ecx
mov dword [ebp - 0x1e0], 0x5a
mov ebx, esp
mov dword [ebp - 0x1f4], eax
sar eax, 2
mov dword [ebp - 0x1dc], 0x51
mov dword [ebp - 0x1d8], 0x5f
mov dword [ebp - 0x1d4], 0x62
mov dword [ebp - 0x1d0], 0x4c
mov dword [ebp - 0x1cc], 0x5d
mov dword [ebp - 0x1c8], 0x50
mov dword [ebp - 0x1c4], 0x67
mov dword [ebp - 0x1c0], 0x67
mov dword [ebp - 0x1bc], 0x5f
mov dword [ebp - 0x1b8], 0x74
mov dword [ebp - 0x1b4], 0x6d
mov dword [ebp - 0x1b0], 0x74
mov dword [ebp - 0x1ac], 0x6c
mov dword [ebp - 0x1a8], 0x67
mov dword [ebp - 0x1a4], 0x67
mov dword [ebp - 0x1a0], 0x85
mov dword [ebp - 0x19c], 0x5c
mov dword [ebp - 0x198], 0x7f
mov dword [ebp - 0x194], 0x6a
mov dword [ebp - 0x190], 0x4f
mov dword [ebp - 0x18c], 0x57
mov dword [ebp - 0x188], 0x57
mov dword [ebp - 0x184], 0x6a
mov dword [ebp - 0x180], 0x4f
mov dword [ebp - 0x17c], 0x74
mov dword [ebp - 0x178], 0x7b
mov dword [ebp - 0x174], 0x7e
mov dword [ebp - 0x170], 0x70
mov dword [ebp - 0x16c], 0x7f
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x1f0], eax
test eax, eax
je 0x10010d37
push eax
mov ecx, ebx
call fcn.10007880
push dword [ebp - 0x1f4]
mov esi, dword [ebx]
lea eax, [ebp - 0x1e8]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1f0]
add esp, 0xc
lea eax, [esi + eax*4]
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x140]
call fcn.100129f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x164]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x164], 0xb6
sub eax, ecx
mov dword [ebp - 0x160], 0x44
mov ebx, esp
mov dword [ebp - 0x1f0], eax
sar eax, 2
mov dword [ebp - 0x15c], 0xa9
mov dword [ebp - 0x158], 0xb1
mov dword [ebp - 0x154], 0xa9
mov dword [ebp - 0x150], 0xb1
mov dword [ebp - 0x14c], 0xa6
mov dword [ebp - 0x148], 0xa9
mov dword [ebp - 0x144], 0xb6
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x1f4], eax
test eax, eax
je 0x10010e06
push eax
mov ecx, ebx
call fcn.10007880
push dword [ebp - 0x1f0]
mov esi, dword [ebx]
lea eax, [ebp - 0x164]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1f4]
add esp, 0xc
lea eax, [esi + eax*4]
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x128]
call fcn.100129f0
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1fc], 0xff
mov dword [ebp - 0x1f8], 0
test eax, eax
jne 0x10010ee6
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
jb 0x10010e4c
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x1ec]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10010ff4
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
jb 0x10010e83
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x1f8]
push ecx
push 0
push eax
push dword [ebp - 0x1ec]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10010fe8
cmp dword [ebp - 0x1f8], 1
jne 0x10010fe8
lea ecx, [ebp - 0x110]
mov byte [0x1001c774], 1
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010ed0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
jmp 0x10010fde
cmp eax, 1
jne 0x10010f7d
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
jb 0x10010f04
mov eax, dword [ebp - 0x140]
push 0
lea ecx, [ebp - 0x1ec]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10010ff4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010f33
sub ecx, edx
cmp dword [ebp - 0x114], 0x10
lea edx, [ebp - 0x128]
jb 0x10010f51
mov edx, dword [ebp - 0x128]
lea eax, [ecx + 1]
push eax
push edi
push 1
push 0
push edx
push dword [ebp - 0x1ec]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10010fe8
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010f70
sub ecx, edx
push ecx
push edi
jmp 0x10010fde
cmp eax, 2
jne 0x10010ff4
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
jb 0x10010f97
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x1ec]
push ecx
push 2
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10010ff4
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
jb 0x10010fc7
mov eax, dword [ebp - 0x128]
push eax
push dword [ebp - 0x1ec]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10010fe8
push eax
push 0x100173cc
mov ecx, 0x1001c778
call fcn.10007670
push dword [ebp - 0x1ec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x1001102a
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10011020
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011071
push ecx
push edx
call fcn.100151aa
add esp, 8
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp ecx, 0x10
jb 0x10011081
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10011077
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011077
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100151aa
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10014f6f
mov esp, ebp
pop ebp
ret 8