Function at 0xba0bd0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc805c0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0xcaf584]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, 0xf
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov edi, 0x10
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], edi
jb 0xba0c3b
mov esi, dword [eax]
jmp 0xba0c3d
mov esi, eax
mov eax, esi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
lea edx, [eax + 1]
jmp 0xba0c50
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xba0c50
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x80]
call fcn.00b92a60
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00b98070
add esp, 8
mov byte [ebp - 4], 2
mov esi, eax
cmp dword [ebp - 0x6c], edi
jb 0xba0c94
mov edx, dword [ebp - 0x80]
push edx
call fcn.00c125e4
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp esi, ebx
je 0xba0d0a
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jb 0xba0cba
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00c125e4
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0xba0cdb
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00c125e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0xba0d00
mov edx, dword [ebp - 0x64]
push edx
call fcn.00c125e4
add esp, 4
mov eax, 0x57
jmp 0xba0e3c
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0xba0d15
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0xba0d20
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x84]
push edx
movzx edx, byte [ebp + 0xc]
neg edx
sbb edx, edx
and edx, 0x100
add edx, 0xf003f
push edx
push ebx
push eax
call fcn.00b96f30
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
je 0xba0db2
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jb 0xba0d65
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00c125e4
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0xba0d86
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00c125e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0xba0dab
mov edx, dword [ebp - 0x64]
push edx
call fcn.00c125e4
add esp, 4
mov eax, esi
jmp 0xba0e3c
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0xba0dbd
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x84]
push ecx
mov dword [ebp - 0x88], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jb 0xba0df3
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00c125e4
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0xba0e15
mov eax, dword [ebp - 0x48]
push eax
call fcn.00c125e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0xba0e36
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00c125e4
add esp, 4
mov eax, dword [ebp - 0x88]
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.00c12239
mov esp, ebp
pop ebp
ret