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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
xor edx, edx
mov eax, dword [ebp + 0x34]
mov dword [eax], edx
push 1
push edi
call fcn.0072c53c
test eax, eax
jne 0x726111
push 2
call sub.kernel32.dll_SetLastError
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797a52
call fcn.0072d860
add esp, 8
push eax
push 0xeb
push 0x797a27
push 0x797a1b
push 1
call fcn.0072d754
xor eax, eax
jmp 0x726620
cmp dword [ebp + 0x18], 0
je 0x726162
mov edx, dword [ebp + 0x18]
push edx
push edi
call fcn.0072c7a4
test eax, eax
jne 0x726162
push 0x7d1
call sub.kernel32.dll_SetLastError
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797a8e
call fcn.0072d860
add esp, 8
push eax
push 0xf3
push 0x797a64
push 0x797a58
push 1
call fcn.0072d754
xor eax, eax
jmp 0x726620
lea edx, [ebp - 0x38]
lea ecx, [ebp - 4]
push edx
push ecx
push ebx
call fcn.0072ba00
test eax, eax
jne 0x7261b4
call sub.kernel32.dll_GetLastError_2
cmp eax, 8
jne 0x7261af
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797aca
call fcn.0072d860
add esp, 8
push eax
push 0x101
push 0x797aa0
push 0x797a94
push 1
call fcn.0072d754
jmp 0x7265e3
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x7264f0
cmp dword [ebp + 0x2c], 0
je 0x726263
mov edx, dword [ebp + 0x2c]
cmp dword [edx], 0
jbe 0x726263
cmp dword [ebp - 0x34], 4
jne 0x7261fa
mov ecx, dword [ebp + 0x30]
push ecx
push ebx
call fcn.0072bb68
test eax, eax
jne 0x7261f3
mov eax, dword [ebp + 0x34]
mov dword [eax], 1
jmp 0x7261fa
mov dword [ebp - 0xc], 1
lea edx, [ebp - 0x38]
lea ecx, [ebp - 4]
push edx
push ecx
push ebx
call fcn.0072ba00
test eax, eax
jne 0x726211
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x726221
xor edx, edx
mov dword [ebp - 0xc], edx
jmp 0x7264f0
mov ecx, dword [ebp + 0x2c]
push ecx
push ebx
call fcn.0072605c
add esp, 8
test eax, eax
jne 0x726263
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797b06
call fcn.0072d860
add esp, 8
push eax
push 0x133
push 0x797adc
push 0x797ad0
push 1
call fcn.0072d754
jmp 0x7265e3
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.0072bbf4
test eax, eax
jne 0x7262ba
call sub.kernel32.dll_GetLastError_2
cmp eax, 8
jne 0x7262ac
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797b42
call fcn.0072d860
add esp, 8
push eax
push 0x13c
push 0x797b18
push 0x797b0c
push 1
call fcn.0072d754
jmp 0x7265e3
mov edx, dword [ebp + 0x34]
mov dword [edx], 1
jmp 0x7264f0
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0072c53c
test eax, eax
jne 0x7262d2
mov dword [ebp - 0x1c], 1
jmp 0x7262ed
lea eax, [ebp - 0x1c]
push eax
push 1
mov edx, dword [ebp - 0x10]
push edx
push edi
call fcn.0072c250
test eax, eax
jne 0x7262ed
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jle 0x7263a9
cmp dword [ebp - 0x34], 4
jne 0x726344
mov ecx, dword [ebp + 0x30]
push ecx
push ebx
call fcn.0072bb68
test eax, eax
jne 0x726316
mov eax, dword [ebp + 0x34]
mov dword [eax], 1
jmp 0x72631d
mov dword [ebp - 0xc], 1
lea edx, [ebp - 0x38]
lea ecx, [ebp - 4]
push edx
push ecx
push ebx
call fcn.0072ba00
test eax, eax
jne 0x726334
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x726344
xor edx, edx
mov dword [ebp - 0xc], edx
jmp 0x7264f0
push 1
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push edi
call fcn.0072c3e4
test eax, eax
jne 0x726387
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797b7e
call fcn.0072d860
add esp, 8
push eax
push 0x16f
push 0x797b54
push 0x797b48
push 1
call fcn.0072d754
jmp 0x7265e3
mov eax, dword [ebp + 0x34]
cmp dword [eax], 0
jne 0x7263a9
push ebx
call fcn.0072ba9c
test eax, eax
jne 0x7263a4
mov edx, dword [ebp + 0x34]
mov dword [edx], 1
jmp 0x7263a9
xor ecx, ecx
mov dword [ebp - 0xc], ecx
push 3
push ebx
call fcn.0072b008
add esp, 8
mov esi, eax
test esi, esi
jne 0x7263eb
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797bba
call fcn.0072d860
add esp, 8
push eax
push 0x189
push 0x797b90
push 0x797b84
push 1
call fcn.0072d754
jmp 0x7265e3
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x797bc0
push esi
call sub.advapi32.dll_RegQueryValueExW_1
mov edi, eax
test edi, edi
jne 0x7264e3
cmp dword [ebp - 0x14], 0
je 0x7264e3
push str.DeleteFlag
push esi
call sub.advapi32.dll_RegDeleteValueW
mov edi, eax
test edi, edi
je 0x726465
push edi
call sub.kernel32.dll_SetLastError
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797c22
call fcn.0072d860
add esp, 8
push eax
push 0x19a
push 0x797bf8
push 0x797bec
push 1
call fcn.0072d754
jmp 0x7265e3
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x797c28
push esi
call sub.advapi32.dll_RegQueryValueExW_1
mov edi, eax
test edi, edi
jne 0x7264e3
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x20]
je 0x7264e3
push 4
lea edx, [ebp + 0x20]
push edx
push 4
push 0
push str.Start
push esi
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
test edi, edi
je 0x7264e3
push edi
call sub.kernel32.dll_SetLastError
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797c76
call fcn.0072d860
add esp, 8
push eax
push 0x1b0
push 0x797c4c
push 0x797c40
push 1
call fcn.0072d754
jmp 0x7265e3
push esi
call sub.advapi32.dll_RegCloseKey_1
xor esi, esi
jmp 0x726599
mov eax, dword [ebp + 0x28]
push eax
mov edx, dword [ebp + 0x14]
push edx
push edi
mov ecx, dword [ebp + 0x24]
push ecx
mov eax, dword [ebp + 0x20]
push eax
mov edx, dword [ebp + 0x1c]
push edx
push ebx
push ebx
call fcn.0072b74c
test eax, eax
jne 0x726541
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797cb2
call fcn.0072d860
add esp, 8
push eax
push 0x1c7
push 0x797c88
push 0x797c7c
push 1
call fcn.0072d754
jmp 0x7265e3
cmp dword [ebp + 0x2c], 0
je 0x726586
mov ecx, dword [ebp + 0x2c]
push ecx
push ebx
call fcn.0072605c
add esp, 8
test eax, eax
jne 0x726586
push 1
call sub.kernel32.dll_GetLastError_2
push eax
push 0x797cee
call fcn.0072d860
add esp, 8
push eax
push 0x1d4
push 0x797cc4
push 0x797cb8
push 1
call fcn.0072d754
jmp 0x7265e3
push ebx
call fcn.0072ba9c
test eax, eax
jne 0x726599
mov eax, dword [ebp + 0x34]
mov dword [eax], 1
cmp dword [ebp + 0xc], 0
je 0x7265dc
mov eax, dword [ebp + 0xc]
mov edx, dword [str.82B5234F_DF61_4638_95D5_341CAD244D19]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x7265cf
test cl, cl
je 0x7265c4
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x7265cf
add eax, 2
add edx, 2
test cl, cl
jne 0x7265a8
jne 0x7265cf
push ebx
call fcn.0072b154
pop ecx
jmp 0x7265dc
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.0072b2c4
add esp, 8
mov dword [ebp - 8], 1
call sub.kernel32.dll_GetLastError_2
mov edi, eax
test esi, esi
je 0x7265f4
push esi
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0x10]
push eax
call fcn.00724ba4
cmp dword [ebp - 0xc], 0
pop ecx
je 0x726617
push ebx
call fcn.0072ba9c
test eax, eax
jne 0x726617
mov edx, dword [ebp + 0x34]
mov dword [edx], 1
push edi
call sub.kernel32.dll_SetLastError
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret