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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x100bffc]
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push 0x20019
push edi
push str.Control_PanelCursor_Schemes
mov esi, 0x80000001
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1004175
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push 0x2001f
push edi
push 0x10013ac
push edi
push str.Control_PanelCursorsSchemes
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1004175
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x3c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
je 0x1003fce
cmp eax, 0xea
jne 0x1004175
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
add eax, eax
push eax
push edi
call esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
add eax, 2
push eax
push edi
call esi
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x1004175
cmp dword [ebp - 0x10], edi
je 0x1004175
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x28], 1
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1004175
push ebx
mov ebx, 0x100c040
lea eax, [ebp - 0x40]
push eax
push edi
push edi
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100405f
cmp dword [ebp - 0x40], edi
jne 0x100413d
cmp dword [ebp - 0x30], 2
je 0x100406f
cmp dword [ebp - 0x30], 1
jne 0x100413d
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov word [eax + edx], di
mov eax, 0x100dce0
mov ecx, eax
mov word [ecx], di
add ecx, 0x208
cmp ecx, 0x100f950
jl 0x1004080
push 0x100f540
push 0x100f338
push 0x100f130
push 0x100ef28
push 0x100ed20
push 0x100e500
push 0x100e708
push 0x100eb18
push 0x100e0f0
push 0x100e2f8
push eax
push 0x1001320
push edx
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0x34
mov word [0x100c040], di
mov esi, ebx
mov dword [ebp - 0x20], 0x100dce0
push dword [ebp - 0x20]
call fcn.010056d0
test eax, eax
jne 0x10040fe
push edi
push str._SystemRoot_System32_
push esi
call fcn.01005688
lea esi, [esi + eax*2]
push edi
push dword [ebp - 0x20]
push esi
call fcn.01005688
add dword [ebp - 0x20], 0x208
lea esi, [esi + eax*2]
mov word [esi], 0x2c
inc esi
inc esi
cmp dword [ebp - 0x20], 0x100f950
jl 0x10040e3
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 - 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push ecx
push edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
inc dword [ebp - 0x28]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100403f
pop ebx
cmp dword [ebp - 0x14], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1004185
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x24], edi
je 0x100418f
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x18], edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x100419f
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x10], edi
je 0x10041a9
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01009336
leave
ret