Function at 0x100a9d8
Capabilities:
Set registry value
Swap mouse buttons

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x100eb54]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x268], eax
lea eax, [ebx + 0xd80]
push eax
lea eax, [ebx + 0x980]
push eax
lea eax, [ebx + 0x580]
mov edi, ecx
push eax
mov dword [ebp - 0x258], edi
call fcn.0100a3c5
mov esi, eax
lea eax, [ebx + 0x180]
push eax
mov ecx, edi
call fcn.0100a2d5
test esi, esi
je 0x100aa6f
push 0
mov ecx, edi
call fcn.0100a1bb
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 2
push dword [ebx + 0x1180]
push 0
push 0x1023
call esi
push 2
push dword [ebx + 0x1184]
push 0
push 0x1025
call esi
jmp 0x100ac2f
lea ecx, [edi + 0x1188]
lea eax, [ebx + 0x1188]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100ac2f
push 0x7c
add edi, 8
lea esi, [ebx + 8]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100aa9f
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
je 0x100abfe
mov ecx, dword [ebp - 0x258]
push 1
call fcn.0100a1bb
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 2
push esi
push esi
push 0x1023
call edi
push 2
push esi
push esi
push 0x1025
call edi
xor eax, eax
mov dword [ebp + eax*4 - 0x2e4], eax
inc eax
cmp eax, 0x1f
jl 0x100aad4
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x2e4]
push eax
push 0x1f
call dword [sym.imp.USER32.dll_SetSysColors]
lea eax, [ebp - 0x25c]
push eax
push str.Control_PanelColors
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jne 0x100aba4
lea eax, [ebx + 8]
mov esi, 0x100e1c0
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
push ecx
movzx ecx, ah
movzx eax, al
push ecx
push eax
lea eax, [ebp - 0x44]
push 0x1002978
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
push dword [esi]
push str.colors
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x44]
push eax
push 1
push 0
push dword [esi]
push dword [ebp - 0x25c]
call edi
add dword [ebp - 0x260], 4
add esi, 4
cmp esi, str.colors
jl 0x100ab27
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea eax, [ebp - 0x25c]
push eax
push 0xf003f
push esi
push 0x1002908
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100ac29
lea esi, [ebx + 0x1188]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x100295c
push dword [ebp - 0x25c]
call edi
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push dword [ebx + 0x11b0]
jmp 0x100ac1e
mov eax, dword [ebx + 0x11b0]
cmp eax, esi
jl 0x100ac29
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x11b0]
je 0x100ac29
lea ecx, [ebx + 0x1188]
push ecx
push eax
mov ecx, dword [ebp - 0x258]
call fcn.0100a45c
mov edi, dword [ebp - 0x258]
lea edx, [ebx + 0x84]
push 0x18
add edi, 0x84
pop ecx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100ac4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100ac5c
push 3
push edx
push 0x18
push 0x33
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [ebp - 0x258]
lea edx, [ebx + 0x9c]
push 0x1c
add edi, 0x9c
pop ecx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100ac7e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100ac8f
push 3
push edx
push 0x1c
push 0x37
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [ebp - 0x258]
lea edx, [ebx + 0xb8]
push 8
add edi, 0xb8
pop ecx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100acb1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100acc2
push 3
push edx
push 8
push 0x3b
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [ebp - 0x258]
lea edx, [ebx + 0xc0]
push 8
add edi, 0xc0
pop ecx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100ace4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100acf5
push 3
push edx
push 8
push 0x35
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [ebp - 0x258]
lea edx, [ebx + 0xc8]
push 0x30
add edi, 0xc8
pop ecx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100ad17
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100ad28
push 3
push edx
push 0x30
push 0x41
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [ebp - 0x258]
lea edx, [ebx + 0xf8]
push 0xc
add edi, 0xf8
pop ecx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100ad4a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
je 0x100ad5d
push 3
push edx
push 0xc
push 0x3d
call esi
mov eax, dword [ebx + 0x104]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x104]
je 0x100ad7a
push 3
push 0
push eax
push 0x39
call esi
mov ecx, dword [ebp - 0x258]
lea edi, [ebx + 0x108]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x108]
je 0x100ada6
push 3
push 0
push eax
push 0x45
call esi
push 3
push dword [edi]
push 0
push 0x100b
call esi
mov eax, dword [ebx + 0x10c]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x10c]
je 0x100adc1
push eax
call dword [sym.imp.USER32.dll_SwapMouseButton]
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x110]
je 0x100adde
push 3
push 0
push eax
push 0x5d
call esi
mov eax, dword [ebx + 0x114]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x114]
je 0x100adfb
push 3
push eax
push 0
push 0x71
call esi
mov eax, dword [ebx + 0x178]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x178]
je 0x100ae1b
push 3
push eax
push 0
push 0x2007
call esi
mov ecx, dword [ebp - 0x258]
lea esi, [ebx + 0x17c]
mov eax, dword [esi]
cmp eax, dword [ecx + 0x17c]
je 0x100ae4e
push eax
call dword [sym.imp.USER32.dll_SetCaretBlinkTime]
push dword [esi]
push 0x1002788
push 0x100275c
push 0x80000001
call fcn.0100a987
mov eax, dword [ebx + 0x118]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x118]
je 0x100ae68
push eax
call fcn.0100a05d
mov eax, dword [ebx + 0x11c]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x11c]
je 0x100ae82
push eax
call fcn.01004fd2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.01006bf1
mov esi, dword [ebp - 0x264]
test esi, esi
je 0x100aef8
mov edx, 0x1f4
mov ecx, edx
lea edi, [ebp - 0x254]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100aeb4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100aec9
push 3
push dword [ebp - 0x264]
push edx
push 0x2a
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [ebp - 0x268]
push 0x5c
pop ecx
lea edi, [ebp - 0x60]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100aee0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100af03
push 3
push dword [ebp - 0x268]
push 0x5c
push 0x22
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x100af03
lea ecx, [ebx + 0x120]
call fcn.0100a56c
mov edi, dword [ebp - 0x258]
mov esi, ebx
mov ecx, 0x46d
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100bd20
leave
ret 0xc