Function at 0x10013137
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x100898df
call fcn.100891c0
sub esp, 0x58
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x20], 0x1713b910
push 4
lea ecx, [ebp - 0x4c]
call fcn.1001a36d
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x18], ecx
jmp 0x10013179
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x34], 1
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1001316b
push 0x72ea
push 0x2b9
push 0x405d
push ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x6422
call fcn.1001414b
add esp, 0x1c
mov dword [ebp - 0x20], 0xffffffe2
jmp 0x10013300
mov dword [ebp - 0x14], 0x62751c76
mov dword [ebp - 0x24], 0xa83afd47
mov dword [ebp - 0x28], 0xede048ff
mov dword [ebp - 0x28], 0xb31915e3
mov dword [ebp - 0x28], 0xf8c547fc
mov dword [ebp - 0x28], 0xe9ee
mov byte [ebp - 0xd], 0
cmp byte [ebp - 0xd], 0
je 0x100131ee
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x14], 0
jmp 0x100132f3
push 1
lea ecx, [ebp - 0x40]
call fcn.1001a36d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x24], 0x39956a21
mov dword [ebp - 0x24], 0xb4db
push 2
call fcn.1001a36d
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0
jmp 0x1001323d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x40]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 1
jl 0x1001322d
lea eax, [ebp - 0x58]
push eax
push 0x2c2
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.10017ca5
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov eax, dword [ebp - 0x14]
add esp, 0x10
cmp eax, ecx
setg dl
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x34]
mov ecx, dword [ebp - 0x24]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add eax, 0xfc35
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x34]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp + eax*4 - 0x34], ecx
lea ecx, [ebp - 0x58]
inc dword [ebp - 0x28]
call fcn.1001ac0d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1001ac0d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jle 0x100131fa
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 1
jne 0x100131b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.1001ac0d
lea eax, [ebp - 0x64]
push eax
call fcn.10009554
mov esi, eax
lea edi, [ebp - 0x58]
pop ecx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10013128
mov ecx, eax
mov eax, dword [ebp - 0x50]
pop edi
pop esi
pop ebx
mov eax, dword [eax + ecx*8 + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret