Function at 0x4819c0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x750
push ebx
mov ebx, ecx
lea eax, [ebp - 4]
push eax
push str.SoftwareSynapticsSynTPInstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebx + 0x10], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x14], 0
mov dword [ebp - 8], ebx
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x48204e
push 0x100
push eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x20], 0x100
push eax
call fcn.004a4860
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push str.ProgDir
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x481a6b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x350], ax
lea eax, [ebp - 0x34e]
push eax
call fcn.004a4860
add esp, 0xc
cmp dword [ebp - 0x28], 2
jne 0x481aaa
push 0x104
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x481ac8
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ebp + ecx - 0x150]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x352], ax
test ax, ax
jne 0x481ab0
push edi
lea edi, [ebp - 0x350]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x481ad2
mov eax, dword [0x4dbeb4]
push dword [ebp - 4]
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
movzx eax, word [ecx + 0x4e7894]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x4e], ax
test ax, ax
jne 0x481af0
lea edi, [ebp - 0x350]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x481b10
push esi
mov ecx, 6
lea eax, [ebp - 0x350]
mov esi, 0x4e7540
rep movsd dword es:[edi], dword [esi]
push 0x4e789c
push eax
movsw word es:[edi], word [esi]
call fcn.004aaa0d
mov edi, eax
add esp, 8
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x48204c
push edi
lea eax, [ebp - 0x750]
push 0x400
push eax
call fcn.004aa811
add esp, 0xc
test eax, eax
je 0x481e78
lea esp, [esp]
mov dx, word [ebp - 0x750]
cmp dx, 0x3b
je 0x481e5b
cmp dx, 0x23
je 0x481e5b
cmp dx, 0x5b
je 0x481e78
xor ecx, ecx
lea eax, [ebp - 0x750]
mov esi, eax
test dx, dx
je 0x481e5b
movzx edx, word [eax]
cmp edx, 0x2c
je 0x481bba
cmp edx, 0xa
je 0x481bba
add eax, 2
jmp 0x481bce
mov dword [ebp + ecx*4 - 0x50], esi
xor edx, edx
inc ecx
mov word [eax], dx
cmp ecx, 9
je 0x481bdd
add eax, 2
mov esi, eax
cmp word [eax], 0
jne 0x481ba8
cmp ecx, 9
jl 0x481e5b
push dword [ebp - 0x30]
call fcn.004a6feb
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 8], 0
je 0x481bf5
test al, 8
jmp 0x481bf7
test al, 4
je 0x481e5b
mov esi, dword [ebp - 0x38]
push 0x4e78a0
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481c19
xor esi, esi
jmp 0x481d25
push str.StandardP
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x481c31
lea esi, [eax + 0xb]
jmp 0x481d25
push str.WheelVkey
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481c4b
lea esi, [eax + 1]
jmp 0x481d25
push str.WheelStd
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481c65
lea esi, [eax + 2]
jmp 0x481d25
push str.TwoParents
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481c7f
lea esi, [eax + 3]
jmp 0x481d25
push str.TwoParentsP
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481c99
lea esi, [eax + 0xa]
jmp 0x481d25
push str.VkKeys
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481cb0
lea esi, [eax + 5]
jmp 0x481d25
push str.Fine
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481cc7
lea esi, [eax + 4]
jmp 0x481d25
push str.None
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481cde
lea esi, [eax + 6]
jmp 0x481d25
push str.Wheel
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481cf5
lea esi, [eax + 7]
jmp 0x481d25
push str.WheelP
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481d0c
lea esi, [eax + 8]
jmp 0x481d25
push 0x4e7964
push esi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481e5b
lea esi, [eax + 0xd]
push dword [ebp - 0x34]
call fcn.004a6feb
add esp, 4
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x481e5b
inc dword [ebx + eax*4 + 0x18]
push 0x40c
call fcn.004aa070
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48204c
mov ecx, dword [ebp - 0x48]
lea edx, [ebx + 0x304]
mov edi, edx
sub edi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx - 2], ax
test ax, ax
jne 0x481d64
mov ecx, dword [ebp - 0x44]
mov edi, ebx
sub edi, ecx
jmp 0x481d80
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx + 2], ax
test ax, ax
jne 0x481d80
mov ecx, dword [ebp - 0x40]
mov edi, ebx
sub edi, ecx
jmp 0x481da0
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edi + 0x102], ax
test ax, ax
jne 0x481da0
mov ecx, dword [ebp - 0x3c]
mov edi, ebx
sub edi, ecx
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [ecx + edi + 0x204], ax
add ecx, 2
test ax, ax
jne 0x481dc0
mov eax, dword [ebp - 0x24]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x408], eax
mov eax, 0x4e0cd8
mov word [ebx + 0x404], si
lea ecx, [ecx]
mov cx, word [edx]
cmp cx, word [eax]
jne 0x481e16
test cx, cx
je 0x481e12
mov cx, word [edx + 2]
cmp cx, word [eax + 2]
jne 0x481e16
add edx, 4
add eax, 4
test cx, cx
jne 0x481df0
xor eax, eax
jmp 0x481e1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x481e29
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 1
push 8
call fcn.004aa070
add esp, 4
test eax, eax
je 0x481ee3
mov dword [eax + 4], ebx
mov ebx, dword [ebp - 8]
mov dword [eax], 0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x481e52
mov dword [ecx], eax
jmp 0x481e55
mov dword [ebx + 0xc], eax
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x10], eax
push edi
lea eax, [ebp - 0x750]
push 0x400
push eax
call fcn.004aa811
add esp, 0xc
test eax, eax
jne 0x481b70
push edi
lea eax, [ebp - 0x750]
mov dword [ebx + 0x30], 0
push 0x400
push eax
mov dword [ebx + 0x2c], 0
call fcn.004aa811
add esp, 0xc
test eax, eax
je 0x482043
mov dx, word [ebp - 0x750]
cmp dx, 0x3b
je 0x482026
cmp dx, 0x23
je 0x482026
xor ecx, ecx
lea eax, [ebp - 0x750]
mov esi, eax
test dx, dx
je 0x482026
movzx edx, word [eax]
cmp edx, 0x2c
je 0x481ef5
cmp edx, 0xa
je 0x481ef5
add eax, 2
jmp 0x481f09
push ebx
call fcn.004a8ef0
add esp, 4
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp + ecx*4 - 0x50], esi
xor edx, edx
inc ecx
mov word [eax], dx
cmp ecx, 5
je 0x481f18
add eax, 2
mov esi, eax
cmp word [eax], 0
jne 0x481ed1
cmp ecx, 5
jl 0x482026
push 0x214
call fcn.004aa070
mov esi, eax
add esp, 4
test esi, esi
je 0x48204c
mov edi, dword [ebp - 0x40]
push str.smooth
push edi
call fcn.004a8ccd
add esp, 8
test eax, eax
jne 0x481f49
lea ebx, [eax + 1]
jmp 0x481f5c
push str.standard
push edi
call fcn.004a8ccd
add esp, 8
mov ebx, 2
mov ecx, dword [ebp - 0x48]
mov edx, esi
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x481f63
mov ecx, dword [ebp - 0x44]
lea edi, [esi + 0x100]
mov edx, edi
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x481f80
mov dword [esi + 0x210], ebx
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], eax
cmp word [edi], 0x2a
je 0x481fd7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push str._d._d._d._d
push edi
call fcn.004a8e3b
mov eax, dword [ebp - 0x18]
add esp, 0x18
mov dword [esi + 0x200], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x204], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x208], eax
mov eax, dword [ebp - 0x14]
push 8
mov dword [esi + 0x20c], eax
call fcn.004aa070
add esp, 4
test eax, eax
je 0x482055
mov ebx, dword [ebp - 8]
mov dword [eax + 4], esi
mov dword [eax], 0
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x48201d
mov dword [ecx], eax
jmp 0x482020
mov dword [ebx + 0x2c], eax
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x30], eax
push edi
lea eax, [ebp - 0x750]
push 0x400
push eax
call fcn.004aa811
add esp, 0xc
test eax, eax
jne 0x481ea3
push edi
call fcn.004a8f94
add esp, 4
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.004a8ef0
add esp, 4
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4