Function at 0x101e4e1
Capabilities:
Query or enumerate 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.0101dba9
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x101e685
cmp esi, 0x8000
jbe 0x101e275
mov eax, 0x80070057
jmp 0x101e685
mov eax, 0x104
cmp esi, eax
ja 0x101e282
and dword [ebp + 0x14], 0xfffffffe
mov ecx, dword [ebp + 0x14]
and ecx, 1
mov dword [ebp - 0xc], ecx
jne 0x101e296
cmp esi, eax
jbe 0x101e296
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.0101de4b
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x101e2dd
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x14]
push eax
cmp dword [ebp - 0xc], edi
je 0x101e2d6
mov dword [ebp - 0x10], 6
push reloc.msvcrt.dll___getmainargs
push esi
push dword [ebp + 8]
call fcn.0101dbe3
mov edi, dword [ebp + 0x10]
jmp 0x101e346
push reloc.msvcrt.dll___getmainargs
jmp 0x101e2c8
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.0101d99d
test eax, eax
je 0x101e30f
lea ecx, [ebx + 8]
cmp word [ecx], 0
je 0x101e30b
cmp word [ebx + 0xa], 0x3a
jne 0x101e30b
mov edi, ecx
jmp 0x101e31f
xor eax, eax
jmp 0x101e31f
cmp word [ebx], 0
je 0x101e31f
cmp word [ebx + 2], 0x3a
jne 0x101e31f
xor eax, eax
inc eax
cmp dword [ebp - 0xc], 0
je 0x101e38e
test eax, eax
je 0x101e349
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.0101dbe3
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x101e38e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x101e38e
add eax, 0x104
cmp dword [ebp + 0xc], eax
ja 0x101e38e
mov eax, 0x104
cmp dword [ebp + 0xc], eax
jbe 0x101e36d
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.0101dba9
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x101e54a
cmp word [edi], 0
je 0x101e544
push reloc.msvcrt.dll___getmainargs
push edi
call fcn.0101f902
xor esi, esi
pop ecx
pop ecx
cmp eax, esi
je 0x101e3b6
sub eax, edi
jmp 0x101e3c7
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x101e3bb
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, 0x100
jbe 0x101e3dc
cmp dword [ebp - 0xc], esi
je 0x101e538
cmp ebx, 0x8000
jae 0x101e538
cmp ebx, 1
jne 0x101e442
cmp word [edi], 0x2e
jne 0x101e4c6
lea eax, [edi + 2]
cmp word [eax], si
jne 0x101e43a
mov edi, eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x14], eax
jbe 0x101e52d
push eax
call fcn.0101deaa
test eax, eax
jne 0x101e52d
sub dword [ebp + 0x14], 2
inc dword [ebp - 8]
push 0x1001b64
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.0101dba9
mov dword [ebp - 4], eax
jmp 0x101e52d
add edi, 4
jmp 0x101e52d
cmp ebx, 2
jne 0x101e4b5
cmp word [edi], 0x2e
jne 0x101e4c6
lea esi, [edi + 2]
cmp word [esi], 0x2e
jne 0x101e4c4
mov ebx, dword [ebp + 0x14]
cmp ebx, dword [ebp + 8]
jbe 0x101e4a5
push dword [ebp + 8]
call fcn.0101deaa
test eax, eax
jne 0x101e4a5
mov esi, dword [ebp + 8]
add ebx, 0xfffffffe
push ebx
push esi
call fcn.0101d9f6
mov dword [ebp + 0x14], eax
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x101e48c
mov ecx, dword [ebp + 0x14]
sub ecx, esi
sar ecx, 1
sub eax, ecx
jmp 0x101e48f
mov dword [ebp + 0x14], esi
push 0x1001b64
push eax
push dword [ebp + 0x14]
mov dword [ebp - 8], eax
call fcn.0101dba9
mov dword [ebp - 4], eax
jmp 0x101e4ae
cmp word [edi + 4], 0x5c
jne 0x101e4ae
mov edi, esi
add edi, 4
xor esi, esi
jmp 0x101e52d
cmp ebx, esi
jne 0x101e4c6
cmp word [edi], 0x5c
jne 0x101e4c6
xor ebx, ebx
inc ebx
jmp 0x101e4c6
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.0101dd04
mov dword [ebp - 4], eax
cmp eax, 0x8007007a
jne 0x101e52a
cmp ebx, 1
jne 0x101e52a
cmp word [edi], 0x5c
jne 0x101e52a
movzx eax, word [edi + 2]
cmp ax, si
je 0x101e541
cmp ax, 0x2e
jne 0x101e506
cmp word [edi + 4], si
je 0x101e541
cmp dword [ebp - 8], 1
jne 0x101e52a
cmp ax, 0x2e
jne 0x101e52a
cmp word [edi + 4], ax
jne 0x101e52a
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 0x101e398
jmp 0x101e544
mov dword [ebp - 4], 0x800700ce
jmp 0x101e54a
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0
jge 0x101e598
push 0x1001b64
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0101dba9
mov eax, dword [ebp - 4]
cmp eax, 0x8007007a
jne 0x101e684
cmp dword [ebp - 0xc], 0
jne 0x101e581
cmp dword [ebp + 0xc], 0x104
je 0x101e58e
cmp dword [ebp - 0xc], 0
je 0x101e684
cmp dword [ebp + 0xc], 0x8000
jne 0x101e684
mov eax, 0x800700ce
jmp 0x101e684
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
cmp ecx, edx
jbe 0x101e5cb
dec ecx
dec ecx
cmp word [ecx], 0x2e
jne 0x101e5cb
cmp ecx, edx
je 0x101e5c6
lea eax, [ecx - 2]
cmp word [eax], 0x2a
je 0x101e5cb
xor esi, esi
mov word [ecx], si
cmp word [eax], 0x2e
mov ecx, eax
je 0x101e5aa
jmp 0x101e5cb
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 0x101e5d0
sub eax, esi
sar eax, 1
lea esi, [edx + eax*2]
add edx, 0xe
cmp esi, edx
jb 0x101e601
push 7
push 0x1001d38
sub esi, 0xe
push esi
call fcn.0101d99d
test eax, eax
je 0x101e601
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
xor edi, edi
cmp eax, edi
je 0x101e64b
lea eax, [esi + eax*2]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x101e613
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x101e64b
cmp dword [ebp - 0x14], edi
je 0x101e63e
lea eax, [esi + 0x10]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffe
push eax
lea eax, [esi + 4]
push eax
jmp 0x101e646
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0101dba9
cmp dword [ebp + 0xc], 1
jbe 0x101e662
cmp word [esi], di
jne 0x101e662
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 0x101e682
cmp word [esi + 2], 0x3a
jne 0x101e682
cmp word [esi + 4], di
jne 0x101e682
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