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

Disassembly:
push 0x22c
mov eax, 0x1000bb98
call fcn.1000b3ac
mov esi, dword [ebp + 0xc]
mov ecx, 0x9c
mov dword [ebp - 0x1e8], ecx
sub esp, 0xc
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1f8], 0x9b
lea eax, [ecx + 8]
mov dword [ebp - 0x1f4], 0x48
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], 0x97
mov dword [ebp - 0x1ec], 0x8e
mov dword [ebp - 0x1e4], 0x9f
mov dword [ebp - 0x1e0], 0x89
mov dword [ebp - 0x1dc], 0x9a
mov dword [ebp - 0x1d8], 0x8d
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1b0], 0xc2
mov dword [ebp - 0x1ac], 0x99
mov dword [ebp - 0x1a0], 0x8c
mov dword [ebp - 0x190], 0x9c
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x17c], 0xb6
mov dword [ebp - 0x170], 0xab
call fcn.1000309a
lea ecx, [ebp - 0x210]
call fcn.10008025
add esp, 0xc
xor ebx, ebx
push 0x10
pop edi
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], edi
jb 0x10007846
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x140]
call fcn.100031be
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 2
call fcn.1000319b
push 0x73
pop ecx
push 0x7b
pop eax
sub esp, 0xc
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], ecx
mov edx, 0x80
mov dword [ebp - 0x148], ecx
mov ecx, esp
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x140]
push ecx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x144], edx
lea edx, [ebp - 0x164]
push eax
push edx
mov dword [ebp - 0x160], 0xe
mov dword [ebp - 0x14c], 0x70
call fcn.1000309a
lea ecx, [ebp - 0x228]
call fcn.10008025
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x100078dc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
call fcn.100031be
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.1000319b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], 0xff
mov dword [ebp - 0x230], ebx
test eax, eax
jne 0x100079b5
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jb 0x10007926
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 0x10007aac
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jb 0x1000795b
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 0x10007aa0
cmp dword [ebp - 0x230], 1
jne 0x10007aa0
lea eax, [ebp - 0x110]
mov byte [0x10010700], 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 0x10007a96
cmp eax, 1
jne 0x10007a2f
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jb 0x100079ce
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 0x10007aac
cmp dword [ebp - 0x114], 0x10
lea edi, [ebp - 0x128]
jb 0x10007a08
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 0x10007aa0
push esi
call ebx
jmp 0x10007a93
cmp eax, 2
jne 0x10007aac
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], edi
jb 0x10007a48
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 0x10007aac
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jb 0x10007a76
mov eax, dword [ebp - 0x128]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10007aa0
mov esi, 0x1000c4a0
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
push esi
mov ecx, 0x10010704
call fcn.10003cfe
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x128]
call fcn.1000319b
lea ecx, [ebp - 0x140]
call fcn.1000319b
call fcn.1000b36a
ret 8