Function at 0x1036681
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, 0x430
mov eax, dword [0x103f058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x42c]
push eax
push esi
mov edi, 0x2001f
push edi
push esi
push esi
push esi
push 0x1008620
mov ebx, 0x80000002
push ebx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x424], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x103681c
lea eax, [ebp - 0x420]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push 0x1002940
push ebx
call edi
test eax, eax
jne 0x103680e
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x428], esi
push esi
jmp 0x10367e4
inc dword [ebp - 0x428]
lea eax, [ebp - 0x41c]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x420]
call edi
test eax, eax
jne 0x10367cc
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
push esi
push 0x1008600
push dword [ebp - 0x41c]
mov dword [ebp - 0x430], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10367c0
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1036785
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push eax
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x1008600
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x420]
mov dword [ebp - 0x424], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1036727
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1036822
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x420]
push eax
push 0x20006
push esi
push 0x1008548
push ebx
call edi
test eax, eax
jne 0x10368c1
lea eax, [ebp - 0x41c]
push eax
push 0x20006
push esi
push 0x10084f8
push dword [ebp - 0x420]
call edi
test eax, eax
jne 0x103687a
push 0x1008600
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x41c]
push eax
push 0x20006
push esi
push 0x10084a8
push dword [ebp - 0x420]
call edi
test eax, eax
jne 0x10368b5
push 0x1008600
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x1008408
mov edi, 0x80000000
push edi
call esi
push 0x1008370
push edi
call esi
push 0x10082d8
push edi
call esi
push 0x1008240
push edi
call esi
push 0x10081c0
push edi
call esi
push 0x1008140
push edi
call esi
push 0x10080c0
push edi
call esi
push 0x1008060
push edi
call esi
push 0x1008000
push edi
call esi
push 0x1007fa0
push edi
call esi
push 0x1007e90
push edi
call esi
push 0x1007d80
push edi
call esi
push 0x1007d44
call fcn.0103626a
push 0x1007d08
call fcn.0103626a
push 0x1007cb8
call fcn.0103626a
push 0x1007c68
call fcn.0103626a
push 0x1007c18
call fcn.0103626a
push 0x1007114
call fcn.0103626a
push 0x10070fc
call fcn.0103626a
push 0x10070e4
call fcn.0103626a
push 1
call fcn.01036495
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x418]
push eax
push 0x2001f
push 0
push 0x1007b48
push ebx
call edi
test eax, eax
jne 0x10369c0
push 0x1007b14
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x418]
push eax
push 0x2001f
push 0
push 0x1006568
push ebx
call edi
test eax, eax
jne 0x10369f7
push 0x1006538
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x418]
push eax
push 0x2001f
push 0
push 0x1007a30
push ebx
call edi
test eax, eax
jne 0x1036a2e
push 0x10079e8
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x418]
push eax
push 0x2001f
push 0
push 0x1007910
push ebx
call edi
test eax, eax
jne 0x1036a65
push 0x10078d8
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x418]
push eax
push 0x2001f
push 0
push 0x1007800
push ebx
call edi
test eax, eax
jne 0x1036a9c
push 0x10077d4
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x418]
push eax
push 0x2001f
push 0
push 0x1007700
push ebx
call edi
test eax, eax
jne 0x1036ad3
push 0x10076d4
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x418]
push eax
push 0x2001f
push 0
push 0x1007600
push ebx
call edi
test eax, eax
jne 0x1036b0a
push 0x10076d4
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1007538
push ebx
call esi
push 0x1007470
push ebx
call esi
push 0x10073a0
push ebx
call esi
push 0x10072c0
push ebx
call esi
push 0x10071e8
push ebx
call esi
push 0x1007130
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102df7d
leave
ret