Function at 0x10032e09
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x18
mov eax, 0x100428f4
call fcn.1003e7e6
mov eax, dword [ebp + 0x420]
mov edi, dword [ebp + 0x41c]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x428]
and dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
jmp 0x1003326a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x1c], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x10032e85
test ebx, ebx
je 0x10032f16
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003141a
mov esi, eax
test esi, esi
jl 0x100332cf
cmp dword [ebp + 0x424], 0
je 0x10032f16
and dword [ebp - 0x14], 0
push 0x5c
push edi
call fcn.100313aa
test eax, eax
pop ecx
pop ecx
jne 0x10033282
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003151d
test eax, eax
je 0x10032ed7
mov eax, dword [ebp - 0x20]
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.100317b7
and dword [ebp - 0x14], 0
test ebx, ebx
je 0x10032f0e
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003141a
mov esi, eax
test esi, esi
jl 0x10033291
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003157e
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.1003108d
test esi, esi
jl 0x100332cf
jmp 0x10033232
lea ecx, [ebp - 0x14]
call fcn.1003108d
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10032f3c
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x1c], eax
push edi
call fcn.1003141a
mov esi, eax
test esi, esi
jl 0x100332cf
push 0x10044cb4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1003301d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.1003141a
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x100332cf
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003141a
mov esi, eax
cmp esi, ebx
jl 0x100332cf
cmp word [edi], 0x3d
jne 0x1003328a
cmp dword [ebp + 0x424], ebx
je 0x10032fc0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.10032b20
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x1c]
jl 0x100332ca
mov byte [ebp - 4], bl
jmp 0x1003322d
cmp dword [ebp + 0x428], ebx
jne 0x1003300b
cmp dword [ebp - 0x1c], ebx
je 0x1003300b
push 0x20006
push ebx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.100310f2
cmp eax, ebx
jne 0x10033296
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10033003
cmp eax, 2
jne 0x10033296
lea ecx, [ebp - 0x14]
call fcn.1003108d
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003157e
mov esi, eax
cmp esi, ebx
jmp 0x10033274
push 0x5c
push edi
call fcn.100313aa
test eax, eax
pop ecx
pop ecx
jne 0x1003328a
cmp dword [ebp + 0x424], eax
je 0x100330b2
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.100310f2
test eax, eax
je 0x1003307f
push 0x20019
push edi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.100310f2
test eax, eax
je 0x1003307f
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.100310a4
mov esi, eax
cmp esi, ebx
jne 0x100332a2
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003141a
mov esi, eax
test esi, esi
jl 0x100332cf
cmp word [edi], 0x3d
jne 0x10033232
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.10032b20
mov esi, eax
jmp 0x10032f01
cmp dword [ebp + 0x428], 0
jne 0x100330d0
push 0x20019
push edi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.100310f2
mov ebx, eax
jmp 0x100330d3
push 2
pop ebx
test ebx, ebx
je 0x100330e1
mov dword [ebp + 0x428], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x208]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
push eax
call fcn.100028b9
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.1003141a
mov esi, eax
test esi, esi
jl 0x100332cf
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003157e
mov esi, eax
test esi, esi
jl 0x100332cf
cmp word [edi], 0x7b
jne 0x10033171
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10033171
push dword [ebp + 0x428]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x18]
push edi
call fcn.10032e09
mov esi, eax
test esi, esi
jge 0x1003315e
cmp dword [ebp + 0x428], 0
je 0x100332cf
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003141a
mov esi, eax
test esi, esi
jl 0x100332cf
cmp ebx, 2
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x428], eax
je 0x10033276
test ebx, ebx
je 0x1003319d
test eax, eax
jne 0x10033276
push ebx
call fcn.1003100f
pop ecx
mov esi, eax
jmp 0x100332cf
test eax, eax
je 0x100331e5
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
call fcn.10031549
test eax, eax
je 0x100331e5
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x208]
push eax
call fcn.1003151d
test eax, eax
je 0x10033276
cmp dword [ebp - 0x1c], 0
je 0x10033276
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x18]
call fcn.100317b7
jmp 0x10033276
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
call fcn.10031549
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call fcn.1003108d
mov ebx, eax
test ebx, ebx
jne 0x100332b3
cmp dword [ebp - 0x1c], eax
je 0x10033276
cmp dword [ebp - 0x14], eax
jne 0x10033276
lea eax, [ebp + 0x208]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x1c], ebx
test eax, eax
jne 0x100332be
lea ecx, [ebp - 0x1c]
call fcn.1003108d
cmp dword [ebp + 0x424], 0
je 0x10033276
cmp word [edi], 0x7b
jne 0x10033276
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10033276
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x424]
push dword [ebp - 0x18]
push edi
call fcn.10032e09
mov esi, eax
test esi, esi
jl 0x100332cf
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003141a
mov esi, eax
test esi, esi
jl 0x100332cf
cmp word [edi], 0x7d
jne 0x10032e55
jmp 0x100332cf
lea ecx, [ebp - 0x14]
call fcn.1003108d
mov esi, 0x80020009
jmp 0x100332cf
lea ecx, [ebp - 0x14]
jmp 0x100332ca
push eax
call fcn.1003100f
pop ecx
lea ecx, [ebp - 0x14]
jmp 0x100332c8
lea ecx, [ebp - 0x18]
call fcn.1003108d
push esi
call fcn.1003100f
pop ecx
jmp 0x100332d9
lea ecx, [ebp - 0x18]
call fcn.1003108d
push ebx
jmp 0x100332ab
push eax
call fcn.1003100f
pop ecx
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.1003108d
lea ecx, [ebp - 0x18]
call fcn.1003108d
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 + 0x410]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x414
leave
ret 0x10