Function at 0x103ec7c
Capabilities:
Delete registry key
Delete registry value
Persist via contextmenuhandlers registry key
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x1046190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
xor edi, edi
lea eax, [ebp - 0x5e8]
push eax
push 0x2001f
push edi
push dword [0x10472a0]
mov dword [ebp - 0x5e0], edi
push 0x80000002
mov dword [ebp - 0x5e8], edi
mov dword [ebp - 0x5e4], edi
mov dword [ebp - 0x608], edi
mov dword [ebp - 0x5f4], edi
mov dword [ebp - 0x5f8], edi
mov dword [ebp - 0x5fc], edi
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jne 0x103efd4
lea eax, [ebp - 0x5e0]
push eax
push 0x2001f
push edi
push 0x10077d4
push dword [ebp - 0x5e8]
call esi
test eax, eax
jne 0x103efc8
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x5f8]
push eax
lea eax, [ebp - 0x28c]
push eax
push edi
jmp 0x103ef9e
inc dword [ebp - 0x5fc]
lea eax, [ebp - 0x5e4]
push eax
push 0x2001f
push edi
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x5e0]
call esi
test eax, eax
jne 0x103ef86
lea eax, [ebp - 0x5f4]
push eax
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x600]
push eax
push edi
push 0x1007890
push dword [ebp - 0x5e4]
mov dword [ebp - 0x5f0], edi
mov dword [ebp - 0x600], 1
mov dword [ebp - 0x5f4], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103eda0
cmp dword [ebp - 0x600], 1
je 0x103edbd
lea eax, [ebp - 0x28c]
push eax
push 0x1007880
lea eax, [ebp - 0x3d4]
push 0x63
push eax
call fcn.01028b64
add esp, 0x10
lea eax, [ebp - 0x5f4]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
push edi
push 0x100c808
push dword [ebp - 0x5e4]
mov dword [ebp - 0x5f4], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x103ee09
lea eax, [ebp - 0x28c]
push eax
push 0x100c7e4
lea eax, [ebp - 0x84]
push 0x3f
push eax
call fcn.01028b64
add esp, 0x10
mov dword [ebp - 0x604], edi
cmp dword [ebp - 0x604], edi
lea eax, [ebp - 0x5ec]
push eax
push 0x2001f
mov dword [ebp - 0x5ec], edi
push edi
lea eax, [ebp - 0x3d4]
je 0x103ee36
lea eax, [ebp - 0x84]
push eax
push 0x80000000
call esi
test eax, eax
jne 0x103ef7a
push 0x100c788
push dword [ebp - 0x5ec]
call ebx
push 0x100c728
push dword [ebp - 0x5ec]
call ebx
push 0x100c6c8
push dword [ebp - 0x5ec]
call ebx
lea eax, [ebp - 0x5f0]
push eax
push 0x20006
push edi
push 0x100c6b0
push dword [ebp - 0x5ec]
call esi
test eax, eax
jne 0x103eea8
push 0x100a884
push dword [ebp - 0x5f0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5f0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5f4]
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x600]
push eax
push edi
push 0x1009c14
push dword [ebp - 0x5e4]
mov dword [ebp - 0x5f4], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103ef20
cmp dword [ebp - 0x600], 1
jne 0x103ef20
lea eax, [ebp - 0x30c]
push eax
push 0x100c69c
lea eax, [ebp - 0x5dc]
push 0x104
push eax
call fcn.01028b64
add esp, 0x10
test eax, eax
jl 0x103ef5b
lea eax, [ebp - 0x5f0]
push eax
push 0x20006
push edi
lea eax, [ebp - 0x5dc]
push eax
jmp 0x103ef32
lea eax, [ebp - 0x5f0]
push eax
push 0x20006
push edi
push 0x100a328
push dword [ebp - 0x5ec]
call esi
test eax, eax
jne 0x103ef5b
push 0x100a884
push dword [ebp - 0x5f0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5f0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x5ec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x604]
cmp dword [ebp - 0x604], 2
jl 0x103ee0f
push dword [ebp - 0x5e4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x5f8]
push eax
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x5fc]
push dword [ebp - 0x5e0]
mov dword [ebp - 0x5f8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x103ed28
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x5e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
lea eax, [ebp - 0x608]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push 0x100c628
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x103f12f
lea eax, [ebp - 0x5e8]
push eax
push 0x2001f
push edi
push 0x1002f50
push 0x80000002
call esi
test eax, eax
jne 0x103f123
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x5f8]
push eax
lea eax, [ebp - 0x28c]
push eax
mov dword [ebp - 0x5fc], edi
push edi
jmp 0x103f0f9
inc dword [ebp - 0x5fc]
lea eax, [ebp - 0x5e4]
push eax
push 0x2001f
push edi
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x5e8]
call esi
test eax, eax
jne 0x103f0e1
lea eax, [ebp - 0x5f4]
push eax
lea eax, [ebp - 0x5dc]
push eax
push edi
push edi
push 0x100c608
push dword [ebp - 0x5e4]
mov dword [ebp - 0x5f4], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103f0d5
lea eax, [ebp - 0x28c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x103f09a
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x28c]
push eax
push 1
push edi
push eax
push dword [ebp - 0x608]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100c608
push dword [ebp - 0x5e4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x5f8]
push eax
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x5fc]
push dword [ebp - 0x5e8]
mov dword [ebp - 0x5f8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x103f03c
push dword [ebp - 0x5e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x608]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e8]
push eax
push 0x20006
push edi
push 0x100c550
push 0x80000002
call esi
test eax, eax
jne 0x103f1d2
lea eax, [ebp - 0x5e4]
push eax
push 0x20006
push edi
push 0x100c500
push dword [ebp - 0x5e8]
call esi
test eax, eax
jne 0x103f18b
push 0x100c608
push dword [ebp - 0x5e4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e4]
push eax
push 0x20006
push edi
push 0x100c4b0
push dword [ebp - 0x5e8]
call esi
test eax, eax
jne 0x103f1c6
push 0x100c608
push dword [ebp - 0x5e4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x5e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100c418
push 0x80000000
call ebx
push 0x100c380
push 0x80000000
call ebx
push 0x100c2e8
push 0x80000000
call ebx
push 0x100c250
push 0x80000000
call ebx
push 0x100c1a8
push 0x80000000
call ebx
push 0x100c0f8
push 0x80000000
call ebx
push 0x100c058
push 0x80000000
call ebx
push 0x100bfb0
push 0x80000000
call ebx
push 0x100bf00
push 0x80000000
call ebx
push 0x100be58
push 0x80000000
call ebx
push 0x100bda8
push 0x80000000
call ebx
lea eax, [ebp - 0x5e0]
push eax
push 0x2001f
push edi
push 0x100bcd8
push 0x80000002
call esi
test eax, eax
jne 0x103f2a1
push 0x100bca4
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x100bc78
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e0]
push eax
push 0x2001f
push edi
push 0x100bba8
push 0x80000002
call esi
test eax, eax
jne 0x103f2db
push 0x100bb74
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e0]
push eax
push 0x2001f
push edi
push 0x100ba90
push 0x80000002
call esi
test eax, eax
jne 0x103f315
push 0x100ba48
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e0]
push eax
push 0x2001f
push edi
push 0x100b970
push 0x80000002
call esi
test eax, eax
jne 0x103f34f
push 0x100b938
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e0]
push eax
push 0x2001f
push edi
push 0x100b860
push 0x80000002
call esi
test eax, eax
jne 0x103f389
push 0x100b834
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e0]
push eax
push 0x2001f
push edi
push 0x100b760
push 0x80000002
call esi
test eax, eax
jne 0x103f3c3
push 0x100b734
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e0]
push eax
push 0x2001f
push edi
push 0x100b660
mov edi, 0x80000002
push edi
call esi
test eax, eax
jne 0x103f3fe
push 0x100b734
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x5e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100b598
push edi
call ebx
push 0x100b4d0
push edi
call ebx
push 0x100b408
push edi
call ebx
push 0x100b338
push edi
call ebx
push 0x100b258
push edi
call ebx
push 0x100b180
push edi
call ebx
push 0x100b0c8
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01031a01
leave
ret