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

Disassembly:
push 0x22c
mov eax, 0x10007bec
call fcn.1000773d
mov esi, dword [ebp + 0xc]
mov ecx, 0x9f
mov dword [ebp - 0x1e8], ecx
sub esp, 0xc
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1f8], 0x9e
lea eax, [ecx + 8]
mov dword [ebp - 0x1f4], 0x4b
add ecx, 0x15
mov dword [ebp - 0x1d4], eax
lea edx, [eax + 0x18]
mov dword [ebp - 0x1d0], eax
lea ebx, [eax + 6]
mov dword [ebp - 0x1c8], ecx
lea edi, [eax + 5]
mov dword [ebp - 0x1c0], ecx
lea ecx, [eax + 3]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
add eax, 0xfffffff0
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], eax
lea eax, [ebx + 7]
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 - 0x1f0], 0x9a
mov dword [ebp - 0x1ec], 0x91
mov dword [ebp - 0x1e4], 0xa2
mov dword [ebp - 0x1e0], 0x8c
mov dword [ebp - 0x1dc], 0x9d
mov dword [ebp - 0x1d8], 0x90
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1b0], 0xc5
mov dword [ebp - 0x1ac], 0x9c
mov dword [ebp - 0x1a0], 0x8f
mov dword [ebp - 0x190], 0x9f
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x17c], 0xb9
mov dword [ebp - 0x170], 0xae
call fcn.10004f68
lea ecx, [ebp - 0x210]
call fcn.10005b0f
add esp, 0xc
xor ebx, ebx
push 0xf
pop edi
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], edi
jbe 0x10004ca5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x140]
call fcn.10001ab6
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 2
call fcn.10001557
mov edx, 0xae
mov dword [ebp - 0x160], 0x3c
sub esp, 0xc
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], 0x9e
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.10004f68
lea ecx, [ebp - 0x228]
call fcn.10005b0f
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jbe 0x10004d3b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
call fcn.10001ab6
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.10001557
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], 0xff
mov dword [ebp - 0x230], ebx
test eax, eax
jne 0x10004e14
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jbe 0x10004d85
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 0x10004f0b
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jbe 0x10004dba
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 0x10004eff
cmp dword [ebp - 0x230], 1
jne 0x10004eff
lea eax, [ebp - 0x110]
mov byte [0x1000b534], 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 0x10004ef5
cmp eax, 1
jne 0x10004e8e
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jbe 0x10004e2d
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 0x10004f0b
cmp dword [ebp - 0x114], 0xf
lea edi, [ebp - 0x128]
jbe 0x10004e67
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 0x10004eff
push esi
call ebx
jmp 0x10004ef2
cmp eax, 2
jne 0x10004f0b
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jbe 0x10004ea7
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 0x10004f0b
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jbe 0x10004ed5
mov eax, dword [ebp - 0x128]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10004eff
mov esi, 0x10008264
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
push esi
mov ecx, 0x1000b538
call fcn.10001610
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x128]
call fcn.10001557
lea ecx, [ebp - 0x140]
call fcn.10001557
call fcn.100076fb
ret 8