Function at 0x10a71f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11398c3
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x128], ebx
mov eax, dword [edi]
mov ecx, dword [esi]
push eax
push ecx
push 0x10115e8
push 0x10115ac
lea edx, [ebp - 0x120]
push edx
push 0x1011538
lea eax, [ebp - 0x11c]
push 2
push eax
mov byte [ebp - 4], 1
call fcn.01075110
add esp, 0x20
lea ecx, [ebp - 0x12c]
push ecx
push 0x20006
mov byte [ebp - 4], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
cmp eax, ebx
je 0x10a72d0
jle 0x10a729e
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10a745c
mov edx, dword [ebp - 0x120]
push edx
push 0x100d398
push 0x10114c0
push ebx
call fcn.01128b70
add esp, 0x10
jmp 0x10a745c
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x124]
push ecx
push 0x20006
push ebx
push 0x100b2b8
push eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x124], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10a730d
mov edx, dword [ebp - 0x124]
xor eax, eax
mov dword [ebp - 0x128], edx
cmp eax, 2
jne 0x10a7364
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x124]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push 0x100b2b8
push edx
mov dword [ebp - 0x124], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x10a7368
mov ecx, dword [ebp - 0x128]
xor eax, eax
cmp ecx, ebx
je 0x10a7358
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ecx
cmp eax, ebx
je 0x10a73ab
jle 0x10a7374
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10a745c
mov edx, dword [ebp - 0x120]
push edx
push 0x100b2b8
push 0x1011450
push 0x10113d8
push ebx
call fcn.01128b70
add esp, 0x14
jmp 0x10a745c
mov eax, dword [edi]
cmp eax, ebx
je 0x10a73c9
cmp dword [eax - 0xc], ebx
je 0x10a73c9
mov ecx, dword [esi]
push 1
push eax
push ecx
lea ecx, [ebp - 0x128]
call fcn.01071e70
jmp 0x10a73d9
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10a745c
jle 0x10a73e9
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10a745c
mov eax, dword [edi]
cmp eax, ebx
jne 0x10a741e
push 0x1009cc8
lea ecx, [ebp - 0x124]
call fcn.0107f6b0
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov dword [ebp - 0x134], 1
mov ecx, dword [ebp - 0x120]
mov edx, dword [esi]
push ecx
push 0x100b2b8
push eax
push edx
push 0x1011360
push 0x10112e8
push ebx
call fcn.01128b70
add esp, 0x1c
test byte [ebp - 0x134], 1
mov dword [ebp - 4], 2
je 0x10a745c
lea ecx, [ebp - 0x124]
call fcn.0111cdb0
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 1
call fcn.01075230
mov eax, dword [ebp - 0x128]
cmp eax, ebx
je 0x10a7482
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x130]
cmp eax, ebx
je 0x10a7493
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 8