Function at 0x100059c5
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x100e16ee
call fcn.100c908c
mov eax, 0x223c
call fcn.100c7e50
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], eax
call fcn.10003b27
mov esi, eax
cmp esi, ebx
jmp 0x10005e25
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp + 8], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x10005a32
test ebx, ebx
je 0x10005ac9
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003b27
mov esi, eax
test esi, esi
jl 0x10005e80
cmp dword [ebp + 0x10], 0
je 0x10005ac9
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.10003ab7
pop ecx
pop ecx
test eax, eax
jne 0x10005e33
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003c35
test eax, eax
je 0x10005a8a
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
call fcn.10004790
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp ebx, esi
je 0x10005ac1
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003b27
mov esi, eax
test esi, esi
jl 0x10005e42
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003c96
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.10003780
test esi, esi
jl 0x10005e80
jmp 0x10005de9
lea ecx, [ebp - 0x20]
call fcn.10003780
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10005aef
mov ecx, dword [ebp - 0x10]
and dword [ebp + 8], eax
push edi
call fcn.10003b27
mov esi, eax
test esi, esi
jl 0x10005e80
push 0x1010db30
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10005bd8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2248]
push eax
call fcn.10003b27
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x10005e80
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003b27
mov esi, eax
cmp esi, ebx
jl 0x10005e80
cmp word [edi], 0x3d
jne 0x10005e3b
cmp dword [ebp + 0x10], ebx
je 0x10005b7c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
push edi
lea eax, [ebp - 0x2248]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], ebx
call fcn.100056f6
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x38]
jl 0x10005e7b
mov byte [ebp - 4], bl
jmp 0x10005de4
cmp dword [ebp + 0x14], ebx
jne 0x10005bca
cmp dword [ebp + 8], ebx
je 0x10005bca
push 0x20006
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.100037f5
cmp eax, ebx
jne 0x10005e47
lea eax, [ebp - 0x2248]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10005bc2
cmp eax, 2
jne 0x10005e47
lea ecx, [ebp - 0x28]
call fcn.10003780
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003c96
jmp 0x100059f9
push 0x5c
push edi
call fcn.10003ab7
pop ecx
pop ecx
test eax, eax
jne 0x10005e3b
cmp dword [ebp + 0x10], eax
je 0x10005c6a
mov esi, 0x2001f
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.100037f5
test eax, eax
je 0x10005c37
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.100037f5
test eax, eax
je 0x10005c37
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.1000379b
mov esi, eax
cmp esi, ebx
jne 0x10005e53
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003b27
mov esi, eax
test esi, esi
jl 0x10005e80
cmp word [edi], 0x3d
jne 0x10005de9
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.100056f6
mov esi, eax
jmp 0x10005ab4
cmp dword [ebp + 0x14], 0
jne 0x10005c85
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.100037f5
mov ebx, eax
jmp 0x10005c88
push 2
pop ebx
test ebx, ebx
je 0x10005c93
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x248]
push 0x104
push eax
call fcn.100c7b83
push eax
call fcn.10003476
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.10003b27
mov esi, eax
test esi, esi
jl 0x10005e80
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003c96
mov esi, eax
test esi, esi
jl 0x10005e80
cmp word [edi], 0x7b
jne 0x10005d1c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10005d1c
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x18]
push edi
call fcn.100059c5
mov esi, eax
test esi, esi
jge 0x10005d09
cmp dword [ebp + 0x14], 0
je 0x10005e80
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003b27
mov esi, eax
test esi, esi
jl 0x10005e80
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x10005e27
test ebx, ebx
je 0x10005d45
test eax, eax
jne 0x10005e27
push ebx
call fcn.10003697
pop ecx
mov esi, eax
jmp 0x10005e80
test eax, eax
je 0x10005d8d
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
call fcn.10003c61
test eax, eax
je 0x10005d8d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x248]
push eax
call fcn.10003c35
test eax, eax
je 0x10005e27
cmp dword [ebp + 8], 0
je 0x10005e27
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x18]
call fcn.10004790
jmp 0x10005e27
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
call fcn.10003c61
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x40], eax
call fcn.10003780
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x10005e64
cmp dword [ebp + 8], eax
je 0x10005e27
cmp dword [ebp - 0x40], eax
jne 0x10005e27
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x30], ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10003725
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
test eax, eax
jne 0x10005e6f
lea ecx, [ebp - 0x30]
call fcn.10003780
cmp dword [ebp + 0x10], 0
je 0x10005e27
cmp word [edi], 0x7b
jne 0x10005e27
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10005e27
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x18]
push edi
call fcn.100059c5
mov esi, eax
test esi, esi
jl 0x10005e80
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10003b27
mov esi, eax
test esi, esi
jl 0x10005e80
cmp word [edi], 0x7d
jne 0x10005a02
jmp 0x10005e80
lea ecx, [ebp - 0x20]
call fcn.10003780
mov esi, 0x80020009
jmp 0x10005e80
lea ecx, [ebp - 0x20]
jmp 0x10005e7b
push eax
call fcn.10003697
pop ecx
lea ecx, [ebp - 0x28]
jmp 0x10005e79
lea ecx, [ebp - 0x18]
call fcn.10003780
push esi
call fcn.10003697
pop ecx
jmp 0x10005e8a
lea ecx, [ebp - 0x18]
call fcn.10003780
push ebx
jmp 0x10005e5c
push eax
call fcn.10003697
pop ecx
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.10003780
lea ecx, [ebp - 0x18]
call fcn.10003780
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10