Function at 0x3000293f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x300014c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x198], edi
je 0x30002bfc
mov eax, dword [esi]
cmp eax, dword [0x300014a8]
jne 0x3000299a
mov ecx, dword [esi + 4]
cmp ecx, dword [0x300014ac]
jne 0x3000299a
mov edx, dword [esi + 8]
cmp edx, dword [0x300014b0]
jne 0x3000299a
mov eax, dword [esi + 0xc]
cmp eax, dword [0x300014b4]
je 0x30002bfc
lea ecx, [ebp - 0x198]
push ecx
push 0x300012f0
push 1
push edi
push 0x30001498
call fcn.30005bc4
test eax, eax
jl 0x30002bea
cmp dword [ebx], edi
je 0x30002a30
cmp dword [ebp + 0x10], edi
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x194], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x190], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x188], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x194]
push edx
push 1
push esi
push eax
je 0x30002a1a
cmp dword [ebx], 1
jne 0x30002a07
mov eax, dword [ecx + 0x14]
jmp 0x30002a0a
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
test edi, edi
jl 0x30002c11
xor edi, edi
jmp 0x30002a29
cmp dword [ebx], 1
jne 0x30002a24
mov eax, dword [ecx + 0x18]
jmp 0x30002a27
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], edi
jne 0x300029bf
cmp dword [ebp + 0x10], edi
jne 0x30002bea
push 0x40
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x30009128]
push 0x300012e0
lea ecx, [ebp - 0x104]
push 0x80
push ecx
mov dword [ebp - 0x1a8], edi
call fcn.30001b01
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.30001b21
push 0x300012b4
lea ecx, [ebp - 0x104]
push 0x80
push ecx
call fcn.30001b21
add esp, 0x24
push 0x20019
lea edx, [ebp - 0x104]
push edx
push 0x80000000
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x1a4], 0x80000000
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a0], edi
call fcn.30001dba
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jne 0x30002b1d
mov ecx, dword [ebp - 0x19c]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1a0]
push eax
push edi
push edi
push edi
push ecx
call ebx
lea ecx, [ebp - 0x19c]
mov esi, eax
call fcn.30001da0
cmp esi, edi
jne 0x30002b1d
cmp dword [ebp - 0x1a0], edi
jne 0x30002b1d
lea edx, [ebp - 0x104]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x300012e0
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.30001b01
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x104]
push 0x80
push edx
call fcn.30001b21
push 0x30001284
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.30001b21
add esp, 0x24
push 0x20019
lea ecx, [ebp - 0x104]
push ecx
push 0x80000000
lea ecx, [ebp - 0x19c]
call fcn.30001dba
test eax, eax
jne 0x30002bc9
mov eax, dword [ebp - 0x19c]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea edx, [ebp - 0x1a0]
push edx
push edi
push edi
push edi
push eax
call ebx
lea ecx, [ebp - 0x19c]
mov esi, eax
call fcn.30001da0
cmp esi, edi
jne 0x30002bc9
cmp dword [ebp - 0x1a0], edi
jne 0x30002bc9
lea ecx, [ebp - 0x104]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x19c]
call fcn.3000203a
lea ecx, [ebp - 0x1a4]
call fcn.3000203a
lea ecx, [ebp - 0x1a8]
call fcn.30001f7a
mov eax, dword [ebp - 0x198]
cmp eax, edi
je 0x30002bfc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30005687
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x30002c23
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30005687
mov esp, ebp
pop ebp
ret 0xc