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

Disassembly:
push 0x22c
mov eax, 0x1000bca6
call fcn.1000b48f
push 0x5e
pop ecx
push 0x66
pop eax
push 0x73
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1cc], ecx
pop ecx
push 0x6c
pop ebx
push 0x6b
pop edi
push 0x7e
pop edx
mov esi, dword [ebp + 0xc]
push 0x69
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1c0], ecx
pop ecx
push 0x56
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
pop eax
push 0x73
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], 0x5d
mov dword [ebp - 0x1f4], 0xa
mov dword [ebp - 0x1f0], 0x59
mov dword [ebp - 0x1ec], 0x50
mov dword [ebp - 0x1e4], 0x61
mov dword [ebp - 0x1e0], 0x4b
mov dword [ebp - 0x1dc], 0x5c
mov dword [ebp - 0x1d8], 0x4f
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1b0], 0x84
mov dword [ebp - 0x1ac], 0x5b
mov dword [ebp - 0x1a0], 0x4e
mov dword [ebp - 0x190], 0x5e
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x17c], 0x78
mov dword [ebp - 0x170], 0x6d
call fcn.10003067
lea ecx, [ebp - 0x210]
call fcn.10008237
add esp, 0xc
xor ebx, ebx
push 0xf
pop edi
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], edi
jbe 0x100079f9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x140]
call fcn.10003193
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 2
call fcn.10003170
mov edx, 0xa1
mov dword [ebp - 0x160], 0x2f
sub esp, 0xc
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], 0x91
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.10003067
lea ecx, [ebp - 0x228]
call fcn.10008237
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jbe 0x10007a8f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
call fcn.10003193
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.10003170
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], 0xff
mov dword [ebp - 0x230], ebx
test eax, eax
jne 0x10007b68
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jbe 0x10007ad9
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 0x10007c5f
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jbe 0x10007b0e
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 0x10007c53
cmp dword [ebp - 0x230], 1
jne 0x10007c53
lea eax, [ebp - 0x110]
mov byte [0x10010760], 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 0x10007c49
cmp eax, 1
jne 0x10007be2
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jbe 0x10007b81
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 0x10007c5f
cmp dword [ebp - 0x114], 0xf
lea edi, [ebp - 0x128]
jbe 0x10007bbb
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 0x10007c53
push esi
call ebx
jmp 0x10007c46
cmp eax, 2
jne 0x10007c5f
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jbe 0x10007bfb
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 0x10007c5f
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jbe 0x10007c29
mov eax, dword [ebp - 0x128]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10007c53
mov esi, 0x1000c3e9
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
push esi
mov ecx, 0x10010764
call fcn.10003ce9
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x128]
call fcn.10003170
lea ecx, [ebp - 0x140]
call fcn.10003170
call fcn.1000b44d
ret 8