Function at 0x10ba7d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x113c022
mov eax, dword fs:[0]
push eax
sub esp, 0x138
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
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x124], ebx
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
push ebx
push 0x10173e4
lea eax, [ebp - 0x120]
push eax
push 0x1017368
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov byte [ebp - 4], 4
call fcn.01075110
add esp, 0x18
mov edx, dword [esi + 8]
mov eax, dword [edx - 0xc]
cmp eax, ebx
mov byte [ebp - 4], 5
jne 0x10ba88a
mov eax, 0x80070057
mov dword [ebp - 0x120], eax
jmp 0x10babcf
mov ecx, esi
call fcn.010b9c20
cmp eax, ebx
mov dword [ebp - 0x120], eax
jl 0x10babcf
cmp dword [0x100320c], ebx
jne 0x10ba8dd
lea eax, [ebp - 0x13c]
push eax
push 1
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x10ba991
call edi
cmp eax, 0x3f0
jne 0x10ba9a7
push 0x1015960
lea ecx, [ebp - 0x128]
call fcn.0107f660
push 0x100e2bc
lea ecx, [ebp - 0x128]
call fcn.0109f810
mov eax, dword [esi + 8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.0109dbe0
cmp dword [esi + 0x18], ebx
jne 0x10ba9f0
push 1
mov ecx, esi
call fcn.010b6d20
test eax, eax
jne 0x10ba9f0
lea ecx, [ebp - 0x12c]
push ecx
call fcn.0112deb0
mov eax, dword [eax]
push 0x2001f
push 0x1015960
push eax
lea ecx, [ebp - 0x130]
call fcn.01071d80
lea ecx, [ebp - 0x12c]
call fcn.01073770
mov eax, dword [esi + 8]
push eax
lea ecx, [ebp - 0x130]
call fcn.01073790
cmp eax, ebx
je 0x10babc2
cmp eax, 2
je 0x10babc2
cmp eax, 3
je 0x10babc2
cmp eax, ebx
jg 0x10ba9db
mov dword [ebp - 0x120], eax
jmp 0x10babcf
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
cmp eax, ebx
mov dword [ebp - 0x140], eax
jne 0x10ba8dd
call edi
test eax, eax
jg 0x10ba9b1
call edi
jmp 0x10ba9bd
call edi
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x120], eax
jl 0x10babcf
mov eax, 0x80070005
mov dword [ebp - 0x120], eax
jmp 0x10babcf
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
jmp 0x10babcf
lea edx, [ebp - 0x134]
push edx
call fcn.0112deb0
mov eax, dword [eax]
lea ecx, [ebp - 0x144]
push ecx
mov ecx, dword [ebp - 0x128]
lea edx, [ebp - 0x12c]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push ecx
push eax
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x10baa3d
mov edx, dword [ebp - 0x12c]
xor edi, edi
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x134]
cmp eax, ebx
je 0x10baa4e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x10baa7a
jg 0x10baa61
mov eax, edi
mov dword [ebp - 0x120], eax
jmp 0x10babcf
and edi, 0xffff
or edi, 0x80070000
mov eax, edi
mov dword [ebp - 0x120], eax
jmp 0x10babcf
push 1
lea eax, [ebp - 0x124]
push eax
mov ecx, esi
call fcn.010b6950
cmp eax, ebx
mov dword [ebp - 0x120], eax
jl 0x10babcf
cmp dword [esi + 0x30], ebx
jne 0x10bab2d
push ebx
mov ecx, esi
call fcn.010b6d20
test eax, eax
mov eax, dword [esi + 0x10]
jne 0x10baadf
mov ecx, dword [ebp - 0x124]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
je 0x10bab2d
cmp eax, 2
je 0x10bab2d
cmp eax, 3
je 0x10bab2d
cmp eax, ebx
jg 0x10ba9db
mov dword [ebp - 0x120], eax
jmp 0x10babcf
mov edx, dword [ebp - 0x124]
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push eax
push edx
lea ecx, [ebp - 0x138]
call fcn.01071d10
cmp eax, ebx
je 0x10bab10
jg 0x10ba9db
mov dword [ebp - 0x120], eax
jmp 0x10babcf
push ebx
lea eax, [ebp - 0x138]
push eax
mov ecx, esi
call fcn.010b6950
cmp eax, ebx
mov dword [ebp - 0x120], eax
jl 0x10babcf
lea ecx, [ebp - 0x134]
push ecx
mov ecx, esi
call fcn.010b6050
mov eax, dword [eax]
mov edx, dword [0x1162aa0]
push 1
push eax
push edx
lea ecx, [ebp - 0x124]
call fcn.01071e70
lea ecx, [ebp - 0x134]
mov edi, eax
call fcn.0111cdb0
cmp edi, ebx
je 0x10bab73
jg 0x10baa61
mov eax, edi
mov dword [ebp - 0x120], eax
jmp 0x10babcf
mov eax, dword [esi + 0x14]
mov ecx, dword [0x1162aac]
push eax
push ecx
lea ecx, [ebp - 0x124]
call fcn.01071e50
cmp eax, ebx
je 0x10bab9b
jg 0x10ba9db
mov dword [ebp - 0x120], eax
jmp 0x10babcf
mov edx, dword [esi + 0x18]
mov eax, dword [0x1162ab0]
push edx
push eax
lea ecx, [ebp - 0x124]
call fcn.01071e50
cmp eax, ebx
je 0x10babc2
jg 0x10ba9db
mov dword [ebp - 0x120], eax
jmp 0x10babcf
mov ecx, esi
call fcn.010b7ac0
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.01075230
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 3
call fcn.010b5490
mov eax, dword [ebp - 0x138]
cmp eax, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10bac02
push eax
call edi
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10bac28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x124]
cmp eax, ebx
je 0x10bac35
push eax
call edi
mov eax, dword [ebp - 0x130]
cmp eax, ebx
je 0x10bac42
push eax
call edi
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