Function at 0x10281e2
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
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 - 0x41c]
push eax
push esi
push 3
push esi
push esi
push esi
xor ebx, ebx
push 0x1001e58
inc ebx
push 0x80000002
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10284db
push 0x103
lea eax, [ebp - 0x20c]
push eax
push 3
call fcn.01027fdb
test eax, eax
je 0x10282ef
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
mov edi, 0x10029e4
push edi
push dword [ebp - 0x41c]
mov dword [ebp - 0x424], 0x208
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10282bd
cmp dword [ebp - 0x418], ebx
jne 0x10282bd
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x10282bd
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x10284e0
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x10282c6
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push esi
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x41c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x41c]
push eax
mov edi, 0x2001f
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x1002940
push 0x80000002
call esi
test eax, eax
jne 0x10284d3
and dword [ebp - 0x418], eax
lea eax, [ebp - 0x418]
push eax
push edi
push 0
push 0x1002908
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x102835f
push dword [ebp - 0x418]
call fcn.01027017
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call ebx
lea eax, [ebp - 0x418]
push eax
push edi
push 0
push 0x10028d4
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x1028393
push dword [ebp - 0x418]
call fcn.01027017
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call ebx
lea eax, [ebp - 0x418]
push eax
push edi
push 0
push 0x10028a8
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x10283c7
push dword [ebp - 0x418]
call fcn.01027017
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call ebx
lea eax, [ebp - 0x418]
push eax
push edi
push 0
push 0x100287c
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x10283fb
push dword [ebp - 0x418]
call fcn.01027017
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call ebx
lea eax, [ebp - 0x418]
push eax
push edi
push 0
push 0x100284c
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x102842f
push dword [ebp - 0x418]
call fcn.01027017
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call ebx
lea eax, [ebp - 0x418]
push eax
push edi
push 0
push 0x1002818
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x1028463
push dword [ebp - 0x418]
call fcn.01027017
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call ebx
lea eax, [ebp - 0x418]
push eax
push edi
push 0
push 0x10027d8
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x1028497
push dword [ebp - 0x418]
call fcn.01027017
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call ebx
lea eax, [ebp - 0x418]
push eax
push edi
push 0
push 0x10027ac
push dword [ebp - 0x41c]
call esi
test eax, eax
jne 0x10284cb
push dword [ebp - 0x418]
call fcn.01027017
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call ebx
push dword [ebp - 0x41c]
call ebx
mov eax, dword [ebp - 0x420]
jmp 0x10284e0
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102df7d
leave
ret