Function at 0x101e99b
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x1001b64
push esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], edi
call fcn.0101e259
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x101ed35
cmp esi, 0x8000
jbe 0x101e925
mov eax, 0x80070057
jmp 0x101ed35
mov eax, 0x104
cmp esi, eax
ja 0x101e932
and dword [ebp + 0x14], 0xfffffffe
mov ecx, dword [ebp + 0x14]
and ecx, 1
mov dword [ebp - 0xc], ecx
jne 0x101e946
cmp esi, eax
jbe 0x101e946
mov esi, eax
mov dword [ebp + 0xc], esi
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push ebx
mov dword [ebp - 8], esi
call fcn.0101e4fb
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x101e98d
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x14]
push eax
cmp dword [ebp - 0xc], edi
je 0x101e986
mov dword [ebp - 0x10], 6
push reloc.msvcrt.dll___getmainargs
push esi
push dword [ebp + 8]
call fcn.0101e293
mov edi, dword [ebp + 0x10]
jmp 0x101e9f6
push reloc.msvcrt.dll___getmainargs
jmp 0x101e978
mov eax, dword [ebp + 8]
push 4
mov esi, reloc.msvcrt.dll___getmainargs
push esi
push ebx
mov edi, ebx
mov dword [ebp + 0x14], eax
call fcn.0101e04d
test eax, eax
je 0x101e9bf
lea ecx, [ebx + 8]
cmp word [ecx], 0
je 0x101e9bb
cmp word [ebx + 0xa], 0x3a
jne 0x101e9bb
mov edi, ecx
jmp 0x101e9cf
xor eax, eax
jmp 0x101e9cf
cmp word [ebx], 0
je 0x101e9cf
cmp word [ebx + 2], 0x3a
jne 0x101e9cf
xor eax, eax
inc eax
cmp dword [ebp - 0xc], 0
je 0x101ea3e
test eax, eax
je 0x101e9f9
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 4
push dword [ebp + 8]
call fcn.0101e293
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x101ea3e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x101ea3e
add eax, 0x104
cmp dword [ebp + 0xc], eax
ja 0x101ea3e
mov eax, 0x104
cmp dword [ebp + 0xc], eax
jbe 0x101ea1d
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
and dword [ebp - 0x10], 0
push 0x1001b64
push eax
push ecx
mov dword [ebp - 8], eax
mov edi, ebx
mov dword [ebp + 0x14], ecx
call fcn.0101e259
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x101ebfa
cmp word [edi], 0
je 0x101ebf4
push reloc.msvcrt.dll___getmainargs
push edi
call fcn.0102001c
xor esi, esi
pop ecx
pop ecx
cmp eax, esi
je 0x101ea66
sub eax, edi
jmp 0x101ea77
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x101ea6b
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, 0x100
jbe 0x101ea8c
cmp dword [ebp - 0xc], esi
je 0x101ebe8
cmp ebx, 0x8000
jae 0x101ebe8
cmp ebx, 1
jne 0x101eaf2
cmp word [edi], 0x2e
jne 0x101eb76
lea eax, [edi + 2]
cmp word [eax], si
jne 0x101eaea
mov edi, eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x14], eax
jbe 0x101ebdd
push eax
call fcn.0101e55a
test eax, eax
jne 0x101ebdd
sub dword [ebp + 0x14], 2
inc dword [ebp - 8]
push 0x1001b64
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.0101e259
mov dword [ebp - 4], eax
jmp 0x101ebdd
add edi, 4
jmp 0x101ebdd
cmp ebx, 2
jne 0x101eb65
cmp word [edi], 0x2e
jne 0x101eb76
lea esi, [edi + 2]
cmp word [esi], 0x2e
jne 0x101eb74
mov ebx, dword [ebp + 0x14]
cmp ebx, dword [ebp + 8]
jbe 0x101eb55
push dword [ebp + 8]
call fcn.0101e55a
test eax, eax
jne 0x101eb55
mov esi, dword [ebp + 8]
add ebx, 0xfffffffe
push ebx
push esi
call fcn.0101e0a6
mov dword [ebp + 0x14], eax
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x101eb3c
mov ecx, dword [ebp + 0x14]
sub ecx, esi
sar ecx, 1
sub eax, ecx
jmp 0x101eb3f
mov dword [ebp + 0x14], esi
push 0x1001b64
push eax
push dword [ebp + 0x14]
mov dword [ebp - 8], eax
call fcn.0101e259
mov dword [ebp - 4], eax
jmp 0x101eb5e
cmp word [edi + 4], 0x5c
jne 0x101eb5e
mov edi, esi
add edi, 4
xor esi, esi
jmp 0x101ebdd
cmp ebx, esi
jne 0x101eb76
cmp word [edi], 0x5c
jne 0x101eb76
xor ebx, ebx
inc ebx
jmp 0x101eb76
xor esi, esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push edi
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.0101e3b4
mov dword [ebp - 4], eax
cmp eax, 0x8007007a
jne 0x101ebda
cmp ebx, 1
jne 0x101ebda
cmp word [edi], 0x5c
jne 0x101ebda
movzx eax, word [edi + 2]
cmp ax, si
je 0x101ebf1
cmp ax, 0x2e
jne 0x101ebb6
cmp word [edi + 4], si
je 0x101ebf1
cmp dword [ebp - 8], 1
jne 0x101ebda
cmp ax, 0x2e
jne 0x101ebda
cmp word [edi + 4], ax
jne 0x101ebda
mov ecx, dword [ebp + 0x14]
xor eax, eax
add dword [ebp + 0x14], 2
mov word [ecx], ax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
lea edi, [edi + ebx*2]
cmp dword [ebp - 4], esi
jge 0x101ea48
jmp 0x101ebf4
mov dword [ebp - 4], 0x800700ce
jmp 0x101ebfa
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0
jge 0x101ec48
push 0x1001b64
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0101e259
mov eax, dword [ebp - 4]
cmp eax, 0x8007007a
jne 0x101ed34
cmp dword [ebp - 0xc], 0
jne 0x101ec31
cmp dword [ebp + 0xc], 0x104
je 0x101ec3e
cmp dword [ebp - 0xc], 0
je 0x101ed34
cmp dword [ebp + 0xc], 0x8000
jne 0x101ed34
mov eax, 0x800700ce
jmp 0x101ed34
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
cmp ecx, edx
jbe 0x101ec7b
dec ecx
dec ecx
cmp word [ecx], 0x2e
jne 0x101ec7b
cmp ecx, edx
je 0x101ec76
lea eax, [ecx - 2]
cmp word [eax], 0x2a
je 0x101ec7b
xor esi, esi
mov word [ecx], si
cmp word [eax], 0x2e
mov ecx, eax
je 0x101ec5a
jmp 0x101ec7b
xor eax, eax
mov word [ecx], ax
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101ec80
sub eax, esi
sar eax, 1
lea esi, [edx + eax*2]
add edx, 0xe
cmp esi, edx
jb 0x101ecb1
push 7
push 0x1001d38
sub esi, 0xe
push esi
call fcn.0101e04d
test eax, eax
je 0x101ecb1
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
xor edi, edi
cmp eax, edi
je 0x101ecfb
lea eax, [esi + eax*2]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x101ecc3
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x101ecfb
cmp dword [ebp - 0x14], edi
je 0x101ecee
lea eax, [esi + 0x10]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffe
push eax
lea eax, [esi + 4]
push eax
jmp 0x101ecf6
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0101e259
cmp dword [ebp + 0xc], 1
jbe 0x101ed12
cmp word [esi], di
jne 0x101ed12
push reloc.msvcrt.dll___getmainargs
pop eax
mov word [esi], ax
xor eax, eax
mov word [esi + 2], ax
cmp dword [ebp + 0xc], 3
jbe 0x101ed32
cmp word [esi + 2], 0x3a
jne 0x101ed32
cmp word [esi + 4], di
jne 0x101ed32
push reloc.msvcrt.dll___getmainargs
pop eax
mov word [esi + 4], ax
xor eax, eax
mov word [esi + 6], ax
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0x10