Function at 0x101bee9
Capabilities:
Delete registry value
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3ec
mov eax, dword [0x102a0ec]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
xor eax, eax
push ecx
inc eax
push 0x100759c
mov dword [ebp - 0x3e0], eax
mov dword [ebp - 0x3e8], eax
lea eax, [ebp - 0x3d8]
xor esi, esi
push 0xc7
push eax
mov dword [ebp - 0x3ec], ecx
mov dword [ebp - 0x3dc], esi
mov dword [ebp - 0x3e4], esi
call fcn.0100d4d1
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x10
lea eax, [ebp - 0x3dc]
push eax
mov ebx, 0x2001f
push ebx
push esi
lea eax, [ebp - 0x3d8]
push eax
push 0x80000000
call edi
test eax, eax
jne 0x101c0a9
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x3e0]
push eax
push esi
push esi
push dword [ebp - 0x3dc]
mov dword [ebp - 0x3e4], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101c085
cmp dword [ebp - 0x3e0], 1
je 0x101bfb4
cmp dword [ebp - 0x3e0], 2
jne 0x101c085
lea eax, [ebp - 0x248]
push eax
call fcn.0101b431
test eax, eax
je 0x101c085
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
pop ecx
lea eax, [ebp - 0x248]
push eax
call fcn.0101b4c4
test eax, eax
jne 0x101bff7
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x101c19e
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x3e0]
push eax
push esi
push 0x1007504
push dword [ebp - 0x3dc]
mov dword [ebp - 0x3e4], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101c07f
cmp dword [ebp - 0x3e0], 1
je 0x101c03e
cmp dword [ebp - 0x3e0], 2
jne 0x101c07f
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x3e0]
push esi
push esi
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x1007504
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x101c085
mov dword [ebp - 0x3e8], esi
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x3e8], esi
jne 0x101c0a9
push dword [ebp - 0x3ec]
push 0x80000000
jmp 0x101c199
push dword [ebp - 0x3ec]
lea eax, [ebp - 0x3d8]
push 0x100757c
push 0xc7
push eax
mov dword [ebp - 0x3e8], 1
call fcn.0100d4d1
add esp, 0x10
lea eax, [ebp - 0x3dc]
push eax
push ebx
push esi
lea eax, [ebp - 0x3d8]
push eax
mov ebx, 0x80000000
push ebx
call edi
test eax, eax
jne 0x101c19e
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x3e0]
push eax
push esi
mov edi, 0x1007504
push edi
push dword [ebp - 0x3dc]
mov dword [ebp - 0x3e4], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101c177
cmp dword [ebp - 0x3e0], 1
je 0x101c13a
cmp dword [ebp - 0x3e0], 2
jne 0x101c177
push edi
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x3e0]
push esi
push esi
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x101c17d
mov dword [ebp - 0x3e8], esi
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x3e8], esi
jne 0x101c19e
lea eax, [ebp - 0x3d8]
push eax
push ebx
call fcn.01017d6c
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret 4