Function at 0x100fc122
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x34
mov eax, 0x10127532
call fcn.10003d4a
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.1000500d
push 0x20019
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.1003a42b
test eax, eax
jne 0x100fc3a6
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.1003a42b
test eax, eax
jne 0x100fc1f7
push 0x17
push 0x10169a70
push 0x101699c0
lea ecx, [ebp - 0x14]
call fcn.1003a42b
push esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.100fc0ac
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push eax
mov byte [ebp - 4], 4
call fcn.1003a42b
test al, al
jne 0x100fc1e2
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.1003a42b
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1003a42b
mov ecx, dword [ebp - 0x14]
push 4
call fcn.1003a42b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], edi
call fcn.1003a42b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.100050ed
mov byte [ebp - 4], 6
jmp 0x100fc392
push edi
push 0x10132c24
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003a42b
test eax, eax
jne 0x100fc2a8
push 0x17
push 0x10169a70
push 0x101699c0
lea ecx, [ebp - 0x14]
call fcn.1003a42b
push esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
call fcn.100fc0ac
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push eax
mov byte [ebp - 4], 8
call fcn.1003a42b
test al, al
jne 0x100fc293
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.1003a42b
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1003a42b
push dword [ebp - 0x18]
call fcn.1003a42b
mov ecx, dword [ebp - 0x14]
test al, al
je 0x100fc272
push 4
call fcn.1003a42b
jmp 0x100fc284
push 1
call fcn.1003a42b
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.1003a42b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], edi
call fcn.1003a42b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.100050ed
mov byte [ebp - 4], 0xa
jmp 0x100fc392
push edi
push str.Command
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003a42b
test eax, eax
je 0x100fc39a
push edi
push edi
lea eax, [ebp - 0x20]
mov ebx, 0x10132c14
push eax
push edi
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x100fc39a
cmp dword [ebp - 0x20], 1
jne 0x100fc39a
push edi
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003a42b
test eax, eax
jne 0x100fc39a
push 0x17
push 0x10169a70
push 0x101699c0
lea ecx, [ebp - 0x14]
call fcn.1003a42b
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
call fcn.100fc0ac
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push eax
mov byte [ebp - 4], 0xc
call fcn.1003a42b
test al, al
jne 0x100fc382
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.1003a42b
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1003a42b
push dword [ebp - 0x18]
call fcn.1003a42b
mov ecx, dword [ebp - 0x14]
test al, al
je 0x100fc361
push 4
call fcn.1003a42b
jmp 0x100fc373
push 2
call fcn.1003a42b
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.1003a42b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], edi
call fcn.1003a42b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.100050ed
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x14]
call fcn.100935da
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.100050ed
lea ecx, [ebp - 0x3c]
call fcn.1003a42b
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0x10
call fcn.100935da
call fcn.1000401a
ret 0x10