Function at 0x101e467
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.0101dd29
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x101e805
cmp esi, 0x8000
jbe 0x101e3f5
mov eax, 0x80070057
jmp 0x101e805
mov eax, 0x104
cmp esi, eax
ja 0x101e402
and dword [ebp + 0x14], 0xfffffffe
mov ecx, dword [ebp + 0x14]
and ecx, 1
mov dword [ebp - 0xc], ecx
jne 0x101e416
cmp esi, eax
jbe 0x101e416
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.0101dfcb
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x101e45d
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x14]
push eax
cmp dword [ebp - 0xc], edi
je 0x101e456
mov dword [ebp - 0x10], 6
push reloc.msvcrt.dll___getmainargs
push esi
push dword [ebp + 8]
call fcn.0101dd63
mov edi, dword [ebp + 0x10]
jmp 0x101e4c6
push reloc.msvcrt.dll___getmainargs
jmp 0x101e448
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.0101db1d
test eax, eax
je 0x101e48f
lea ecx, [ebx + 8]
cmp word [ecx], 0
je 0x101e48b
cmp word [ebx + 0xa], 0x3a
jne 0x101e48b
mov edi, ecx
jmp 0x101e49f
xor eax, eax
jmp 0x101e49f
cmp word [ebx], 0
je 0x101e49f
cmp word [ebx + 2], 0x3a
jne 0x101e49f
xor eax, eax
inc eax
cmp dword [ebp - 0xc], 0
je 0x101e50e
test eax, eax
je 0x101e4c9
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.0101dd63
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x101e50e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x101e50e
add eax, 0x104
cmp dword [ebp + 0xc], eax
ja 0x101e50e
mov eax, 0x104
cmp dword [ebp + 0xc], eax
jbe 0x101e4ed
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.0101dd29
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x101e6ca
cmp word [edi], 0
je 0x101e6c4
push reloc.msvcrt.dll___getmainargs
push edi
call fcn.0101fa82
xor esi, esi
pop ecx
pop ecx
cmp eax, esi
je 0x101e536
sub eax, edi
jmp 0x101e547
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x101e53b
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, 0x100
jbe 0x101e55c
cmp dword [ebp - 0xc], esi
je 0x101e6b8
cmp ebx, 0x8000
jae 0x101e6b8
cmp ebx, 1
jne 0x101e5c2
cmp word [edi], 0x2e
jne 0x101e646
lea eax, [edi + 2]
cmp word [eax], si
jne 0x101e5ba
mov edi, eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x14], eax
jbe 0x101e6ad
push eax
call fcn.0101e02a
test eax, eax
jne 0x101e6ad
sub dword [ebp + 0x14], 2
inc dword [ebp - 8]
push 0x1001b64
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.0101dd29
mov dword [ebp - 4], eax
jmp 0x101e6ad
add edi, 4
jmp 0x101e6ad
cmp ebx, 2
jne 0x101e635
cmp word [edi], 0x2e
jne 0x101e646
lea esi, [edi + 2]
cmp word [esi], 0x2e
jne 0x101e644
mov ebx, dword [ebp + 0x14]
cmp ebx, dword [ebp + 8]
jbe 0x101e625
push dword [ebp + 8]
call fcn.0101e02a
test eax, eax
jne 0x101e625
mov esi, dword [ebp + 8]
add ebx, 0xfffffffe
push ebx
push esi
call fcn.0101db76
mov dword [ebp + 0x14], eax
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x101e60c
mov ecx, dword [ebp + 0x14]
sub ecx, esi
sar ecx, 1
sub eax, ecx
jmp 0x101e60f
mov dword [ebp + 0x14], esi
push 0x1001b64
push eax
push dword [ebp + 0x14]
mov dword [ebp - 8], eax
call fcn.0101dd29
mov dword [ebp - 4], eax
jmp 0x101e62e
cmp word [edi + 4], 0x5c
jne 0x101e62e
mov edi, esi
add edi, 4
xor esi, esi
jmp 0x101e6ad
cmp ebx, esi
jne 0x101e646
cmp word [edi], 0x5c
jne 0x101e646
xor ebx, ebx
inc ebx
jmp 0x101e646
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.0101de84
mov dword [ebp - 4], eax
cmp eax, 0x8007007a
jne 0x101e6aa
cmp ebx, 1
jne 0x101e6aa
cmp word [edi], 0x5c
jne 0x101e6aa
movzx eax, word [edi + 2]
cmp ax, si
je 0x101e6c1
cmp ax, 0x2e
jne 0x101e686
cmp word [edi + 4], si
je 0x101e6c1
cmp dword [ebp - 8], 1
jne 0x101e6aa
cmp ax, 0x2e
jne 0x101e6aa
cmp word [edi + 4], ax
jne 0x101e6aa
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 0x101e518
jmp 0x101e6c4
mov dword [ebp - 4], 0x800700ce
jmp 0x101e6ca
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0
jge 0x101e718
push 0x1001b64
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0101dd29
mov eax, dword [ebp - 4]
cmp eax, 0x8007007a
jne 0x101e804
cmp dword [ebp - 0xc], 0
jne 0x101e701
cmp dword [ebp + 0xc], 0x104
je 0x101e70e
cmp dword [ebp - 0xc], 0
je 0x101e804
cmp dword [ebp + 0xc], 0x8000
jne 0x101e804
mov eax, 0x800700ce
jmp 0x101e804
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
cmp ecx, edx
jbe 0x101e74b
dec ecx
dec ecx
cmp word [ecx], 0x2e
jne 0x101e74b
cmp ecx, edx
je 0x101e746
lea eax, [ecx - 2]
cmp word [eax], 0x2a
je 0x101e74b
xor esi, esi
mov word [ecx], si
cmp word [eax], 0x2e
mov ecx, eax
je 0x101e72a
jmp 0x101e74b
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 0x101e750
sub eax, esi
sar eax, 1
lea esi, [edx + eax*2]
add edx, 0xe
cmp esi, edx
jb 0x101e781
push 7
push 0x1001d38
sub esi, 0xe
push esi
call fcn.0101db1d
test eax, eax
je 0x101e781
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
xor edi, edi
cmp eax, edi
je 0x101e7cb
lea eax, [esi + eax*2]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x101e793
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x101e7cb
cmp dword [ebp - 0x14], edi
je 0x101e7be
lea eax, [esi + 0x10]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffe
push eax
lea eax, [esi + 4]
push eax
jmp 0x101e7c6
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0101dd29
cmp dword [ebp + 0xc], 1
jbe 0x101e7e2
cmp word [esi], di
jne 0x101e7e2
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 0x101e802
cmp word [esi + 2], 0x3a
jne 0x101e802
cmp word [esi + 4], di
jne 0x101e802
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