Function at 0x100aa25
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.0100a412
mov esi, eax
lea eax, [ebx + 0x180]
push eax
mov ecx, edi
call fcn.0100a322
test esi, esi
je 0x100aabc
push 0
mov ecx, edi
call fcn.0100a208
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 0x100ac7c
lea ecx, [edi + 0x1188]
lea eax, [ebx + 0x1188]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100ac7c
push 0x7c
add edi, 8
lea esi, [ebx + 8]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100aaec
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
je 0x100ac4b
mov ecx, dword [ebp - 0x258]
push 1
call fcn.0100a208
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 0x100ab21
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 0x100abf1
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 0x100ab74
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 0x100ac76
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 0x100ac6b
mov eax, dword [ebx + 0x11b0]
cmp eax, esi
jl 0x100ac76
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x11b0]
je 0x100ac76
lea ecx, [ebx + 0x1188]
push ecx
push eax
mov ecx, dword [ebp - 0x258]
call fcn.0100a4a9
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 0x100ac98
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100aca9
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 0x100accb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100acdc
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 0x100acfe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100ad0f
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 0x100ad31
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100ad42
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 0x100ad64
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100ad75
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 0x100ad97
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
je 0x100adaa
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 0x100adc7
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 0x100adf3
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 0x100ae0e
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 0x100ae2b
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 0x100ae48
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 0x100ae68
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 0x100ae9b
push eax
call dword [sym.imp.USER32.dll_SetCaretBlinkTime]
push dword [esi]
push 0x1002788
push 0x100275c
push 0x80000001
call fcn.0100a9d4
mov eax, dword [ebx + 0x118]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x118]
je 0x100aeb5
push eax
call fcn.0100a0aa
mov eax, dword [ebx + 0x11c]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0x11c]
je 0x100aecf
push eax
call fcn.0100501f
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.01006c3e
mov esi, dword [ebp - 0x264]
test esi, esi
je 0x100af45
mov edx, 0x1f4
mov ecx, edx
lea edi, [ebp - 0x254]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100af01
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100af16
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 0x100af2d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100af50
push 3
push dword [ebp - 0x268]
push 0x5c
push 0x22
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x100af50
lea ecx, [ebx + 0x120]
call fcn.0100a5b9
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.0100bd6d
leave
ret 0xc