Function at 0x1002ce8e
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002ceae
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1002d36b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x6c], 0x3556
mov dword [ebp - 0x68], 0x3556
mov dword [ebp - 0x64], 0x3556
mov dword [ebp - 0x60], 0x3556
mov dword [ebp - 8], 1
mov dword [ebp - 0x18], 0
jmp 0x1002cf02
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1002cf18
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xd4], 1
jmp 0x1002cefb
mov dword [ebp - 8], 0
jmp 0x1002cf28
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jg 0x1002d0c6
mov dword [ebp - 0xc], 0xfffffffc
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x94], 0x6986d6
mov dword [ebp - 0x90], 0x6986d6
mov dword [ebp - 0x8c], 0x6986d6
mov dword [ebp - 0x88], 0x6986d6
push 0x3123
push 0x6b9f
push 0x69d1
push 0
call fcn.1002db2b
add esp, 0x10
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1002cfa6
push 0
push 0x2c00
push 0x5284
push 0x1cae
call fcn.1002dd75
add esp, 0x10
mov dword [ebp - 0xc], 3
jmp 0x1002cfb6
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1002d0c1
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x1002cfea
push 0x34b9
push 0x385a
push 0x430b
push 0x3323
push 1
call fcn.10027906
add esp, 0x14
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x6c], 0xffffffff
je 0x1002cffd
mov dword [ebp - 0x48], 1
jmp 0x1002d001
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x6c]
cmp eax, dword [ebp - 0x50]
jne 0x1002d052
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x6c]
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0xd4]
test eax, eax
je 0x1002d03f
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x6c], 0
je 0x1002d03f
mov dword [ebp - 0x3c], 1
jmp 0x1002d043
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x7747
jne 0x1002d052
and dword [ebp - 0x4c], 0
jmp 0x1002d059
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x6c]
cmp dword [ebp - 0x4c], eax
jl 0x1002d06e
mov dword [ebp - 0x44], 1
jmp 0x1002d072
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 8]
cmp eax, dword [ebp + ecx*4 - 0x6c]
jg 0x1002d08a
mov dword [ebp - 0x58], 1
jmp 0x1002d08e
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
neg eax
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x6c]
jl 0x1002d0a8
mov dword [ebp - 0x34], 1
jmp 0x1002d0ac
and dword [ebp - 0x34], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34]
mov dword [ebp + eax - 0x94], ecx
jmp 0x1002cfaf
jmp 0x1002cf21
mov dword [ebp - 0xb0], 0x48d327cb
mov dword [ebp - 0xc4], 0xdb505206
mov dword [ebp - 0xb8], 0x83c8fc55
mov dword [ebp - 0xc0], 0x7d214c40
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0x98], 0x7822e6e7
mov dword [ebp - 0xbc], 0x971867b8
mov dword [ebp - 0xb4], 0x69f30c
mov dword [ebp - 0x9c], 0xba47
mov dword [ebp - 0x74], 0xde0980db
mov dword [ebp - 0x20], 0
jmp 0x1002d137
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1002d14d
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xe0], 0xfffffff8
jmp 0x1002d130
lea eax, [ebp - 0x74]
push eax
push 0
call fcn.10027c02
pop ecx
pop ecx
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002d174
push 0x28a5
push 0
call fcn.10027b8d
pop ecx
pop ecx
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x1007b844]
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov dword [ebp - 4], 0xc558
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
jmp 0x1002d1b6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1002d1c9
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x70], 0xffff
jmp 0x1002d1af
push 0
call fcn.1002b80e
pop ecx
cmp dword [ebp - 4], 0
je 0x1002d20b
cmp dword [ebp - 4], 0
je 0x1002d1f6
imul eax, dword [ebp - 4], 0xdcba
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1002d1f6
mov dword [ebp - 0x38], 1
jmp 0x1002d1fa
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x38], eax
jl 0x1002d20b
mov dword [ebp - 0x40], 1
jmp 0x1002d20f
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x40]
cmp eax, 0x4c40
je 0x1002d225
mov dword [ebp - 0x30], 1
jmp 0x1002d229
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x30]
je 0x1002d23a
mov dword [ebp - 0x54], 1
jmp 0x1002d23e
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xffffffff
jbe 0x1002d24d
mov dword [ebp - 0x5c], 1
jmp 0x1002d251
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x5c]
je 0x1002d2eb
mov dword [ebp - 0x1c], 0
jmp 0x1002d26d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002d283
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xec], 0xfffffff8
jmp 0x1002d266
mov dword [ebp - 4], 0
jmp 0x1002d293
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jg 0x1002d2e9
mov dword [ebp - 0x24], 0
jmp 0x1002d2a9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1002d2bf
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xa8], 0x227
jmp 0x1002d2a2
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa8]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xa8], eax
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.10027b8d
pop ecx
pop ecx
jmp 0x1002d28c
jmp 0x1002d34f
mov dword [ebp - 0x14], 0
jmp 0x1002d2fb
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x11
je 0x1002d34f
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1002d31b
push 0
push 0x32e0
call fcn.1002b77c
pop ecx
pop ecx
mov dword [ebp - 4], 0
jmp 0x1002d32b
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x1002d34d
push 0x3f2
push 1
call fcn.10027c02
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x70], 0
je 0x1002d34b
jmp 0x1002d324
jmp 0x1002d324
jmp 0x1002d2f4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x1002d36b
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret