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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
lea eax, [ebp - 8]
push eax
xor edi, edi
push 0x20019
push edi
push str.Control_PanelCursor_Schemes
mov esi, 0x80000001
push esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100283a
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push 0x2001f
push edi
push 0x10012cc
push edi
push str.Control_PanelCursorsSchemes
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100283a
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
je 0x1002693
cmp eax, 0xea
jne 0x100283a
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
add eax, eax
push eax
push edi
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add eax, 2
push eax
push edi
call esi
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x100283a
cmp dword [ebp - 4], edi
je 0x100283a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100283a
push ebx
mov ebx, 0x1005f20
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002724
cmp dword [ebp - 0x34], edi
jne 0x1002802
cmp dword [ebp - 0x28], 2
je 0x1002734
cmp dword [ebp - 0x28], 1
jne 0x1002802
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov word [eax + edx], di
mov eax, 0x1007bc0
mov ecx, eax
mov word [ecx], di
add ecx, 0x208
cmp ecx, 0x1009830
jl 0x1002745
push 0x1009420
push 0x1009218
push 0x1009010
push 0x1008e08
push 0x1008c00
push 0x10083e0
push 0x10085e8
push 0x10089f8
push 0x1007fd0
push 0x10081d8
push eax
push 0x1001240
push edx
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0x34
mov word [0x1005f20], di
mov esi, ebx
mov dword [ebp - 0x10], 0x1007bc0
push dword [ebp - 0x10]
call fcn.010038c2
test eax, eax
jne 0x10027c3
push edi
push str._SystemRoot_System32_
push esi
call fcn.01003882
lea esi, [esi + eax*2]
push edi
push dword [ebp - 0x10]
push esi
call fcn.01003882
add dword [ebp - 0x10], 0x208
lea esi, [esi + eax*2]
mov word [esi], 0x2c
inc esi
inc esi
cmp dword [ebp - 0x10], 0x1009830
jl 0x10027a8
mov word [esi - 2], di
sub esi, ebx
sar esi, 1
shl esi, 1
push esi
push ebx
push 2
push edi
push dword [ebp - 4]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0xc]
lea ecx, [ebp - 0x28]
push ecx
push edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1002704
pop ebx
cmp dword [ebp - 8], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100284a
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x18], edi
je 0x1002854
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0xc], edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x1002864
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 4], edi
je 0x100286e
push dword [ebp - 4]
call esi
pop edi
pop esi
leave
ret