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

Disassembly:
push 0x22c
mov eax, 0x1000c306
call fcn.1000baef
push 0x62
pop ecx
push 0x6a
pop eax
push 0x77
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1cc], ecx
pop ecx
push 0x70
pop ebx
push 0x6f
pop edi
mov esi, dword [ebp + 0xc]
lea edx, [eax + 0x18]
push 0x6d
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1c0], ecx
pop ecx
push 0x5a
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
pop eax
push 0x77
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], eax
pop eax
sub esp, 0xc
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x194], ecx
mov ecx, esp
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x16c]
push ecx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x178], edx
lea edx, [ebp - 0x1f8]
push eax
push edx
mov dword [ebp - 0x1f8], 0x61
mov dword [ebp - 0x1f4], 0xe
mov dword [ebp - 0x1f0], 0x5d
mov dword [ebp - 0x1ec], 0x54
mov dword [ebp - 0x1e4], 0x65
mov dword [ebp - 0x1e0], 0x4f
mov dword [ebp - 0x1dc], 0x60
mov dword [ebp - 0x1d8], 0x53
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1b0], 0x88
mov dword [ebp - 0x1ac], 0x5f
mov dword [ebp - 0x1a0], 0x52
mov dword [ebp - 0x190], 0x62
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x17c], 0x7c
mov dword [ebp - 0x170], 0x71
call fcn.100030b1
lea ecx, [ebp - 0x210]
call fcn.10008893
add esp, 0xc
xor ebx, ebx
push 0xf
pop edi
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], edi
jbe 0x10007a83
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x140]
call fcn.100031e8
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 2
call fcn.100031c5
mov edx, 0xaf
mov dword [ebp - 0x160], 0x3d
sub esp, 0xc
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], 0x9f
lea ecx, [edx - 0xd]
lea eax, [edx - 5]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], ecx
lea edx, [ebp - 0x164]
mov dword [ebp - 0x148], ecx
mov ecx, esp
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x140]
push ecx
push eax
push edx
call fcn.100030b1
lea ecx, [ebp - 0x228]
call fcn.10008893
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jbe 0x10007b19
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
call fcn.100031e8
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.100031c5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], 0xff
mov dword [ebp - 0x230], ebx
test eax, eax
jne 0x10007bf2
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jbe 0x10007b63
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x22c]
push ecx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007ce9
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jbe 0x10007b98
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x230]
push ecx
push ebx
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10007cdd
cmp dword [ebp - 0x230], 1
jne 0x10007cdd
lea eax, [ebp - 0x110]
mov byte [0x10011778], 1
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
jmp 0x10007cd3
cmp eax, 1
jne 0x10007c6c
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jbe 0x10007c0b
mov eax, dword [ebp - 0x140]
push ebx
lea ecx, [ebp - 0x22c]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10007ce9
cmp dword [ebp - 0x114], 0xf
lea edi, [ebp - 0x128]
jbe 0x10007c45
mov edi, dword [ebp - 0x128]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
push esi
call ebx
pop ecx
inc eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10007cdd
push esi
call ebx
jmp 0x10007cd0
cmp eax, 2
jne 0x10007ce9
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jbe 0x10007c85
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x22c]
push ecx
push 2
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007ce9
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jbe 0x10007cb3
mov eax, dword [ebp - 0x128]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10007cdd
mov esi, 0x1000d3f9
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
push esi
mov ecx, 0x1001177c
call fcn.10003d3e
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x128]
call fcn.100031c5
lea ecx, [ebp - 0x140]
call fcn.100031c5
call fcn.1000baad
ret 8