Function at 0x1006c01f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x34
mov eax, 0x100aa35a
call fcn.10002f71
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
xor edi, edi
lea ecx, [ebp - 0x3c]
push edi
push str.ShellNew
push dword [eax + 4]
mov dword [ebp - 4], edi
call fcn.10006b56
push 0x20019
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.10006cb7
test eax, eax
jne 0x1006c2a3
mov dword [ebp - 0x18], edi
push edi
push str.NullFile
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x3c]
call fcn.100331ab
test eax, eax
jne 0x1006c0f4
push 0x17
push 0x100d4dc8
push 0x100d4d38
lea ecx, [ebp - 0x14]
call fcn.10007652
push esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.1006bfa9
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push eax
mov byte [ebp - 4], 4
call fcn.10008f69
test al, al
jne 0x1006c0df
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.1001ac14
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1001ac6a
mov ecx, dword [ebp - 0x14]
push 4
call fcn.1001af70
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], edi
call fcn.10017507
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.10006c2b
mov byte [ebp - 4], 8
jmp 0x1006c28f
push edi
push str.FileName
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100331ab
test eax, eax
jne 0x1006c1a5
push 0x17
push 0x100d4dc8
push 0x100d4d38
lea ecx, [ebp - 0x14]
call fcn.10007652
push esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
call fcn.1006bfa9
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push eax
mov byte [ebp - 4], 0xa
call fcn.10008f69
test al, al
jne 0x1006c190
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.1001ac14
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1001ac6a
push dword [ebp - 0x18]
call fcn.10008f69
mov ecx, dword [ebp - 0x14]
test al, al
je 0x1006c16f
push 4
call fcn.1001af70
jmp 0x1006c181
push 1
call fcn.1001af70
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.1001af45
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], edi
call fcn.10017507
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.10006c2b
mov byte [ebp - 4], 0xe
jmp 0x1006c28f
push edi
push str.Command
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100331ab
test eax, eax
je 0x1006c297
push edi
push edi
lea eax, [ebp - 0x20]
mov ebx, 0x100c1f8c
push eax
push edi
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1006c297
cmp dword [ebp - 0x20], 1
jne 0x1006c297
push edi
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100331ab
test eax, eax
jne 0x1006c297
push 0x17
push 0x100d4dc8
push 0x100d4d38
lea ecx, [ebp - 0x14]
call fcn.10007652
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xf
push eax
call fcn.1006bfa9
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push eax
mov byte [ebp - 4], 0x10
call fcn.10008f69
test al, al
jne 0x1006c27f
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.1001ac14
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1001ac6a
push dword [ebp - 0x18]
call fcn.10008f69
mov ecx, dword [ebp - 0x14]
test al, al
je 0x1006c25e
push 4
call fcn.1001af70
jmp 0x1006c270
push 2
call fcn.1001af70
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.1001abe9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], edi
call fcn.10017507
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.10006c2b
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x14]
call fcn.10026969
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
call fcn.10006c2b
lea ecx, [ebp - 0x3c]
call fcn.100073c5
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0x18
call fcn.10026969
call fcn.10003491
ret 0x10