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

Disassembly:
mov eax, 0x109d345
call fcn.0104c920
sub esp, 0x9c
push ebx
mov ecx, dword [ebp + 0xc]
push esi
xor ebx, ebx
push edi
push ebx
sub esp, 0x10
lea eax, [ebp + 0xf]
mov esi, esp
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 0x10], ebx
call fcn.0108078d
push eax
mov ecx, esi
call fcn.0103f222
lea eax, [ebp - 0x38]
push eax
call fcn.01084317
add esp, 0x18
mov eax, dword [ebp + 8]
push 3
cmp eax, ebx
mov dword [ebp - 4], ebx
pop edi
je 0x108143c
cmp byte [eax], bl
je 0x108143c
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x68], al
call fcn.0101a650
mov esi, str.Software_ahead_
push esi
call fcn.0104d0c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0101af80
mov dword [ebp - 0x10], 1
push dword [ebp + 8]
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.01073282
mov dword [ebp - 0x10], edi
push str.General
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 2
push eax
call fcn.01073282
add esp, 0x18
mov esi, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 4], edi
jmp 0x1081472
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x58], al
call fcn.0101a650
mov esi, str.Software_aheadShared
push esi
call fcn.0104d0c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.0101af80
mov dword [ebp - 0x10], 8
lea esi, [ebp - 0x58]
mov dword [ebp - 4], 4
mov al, byte [esi]
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x48], al
call fcn.0101a650
push dword [0x100a5d0]
lea ecx, [ebp - 0x48]
push ebx
push esi
call fcn.0101a390
test byte [ebp - 0x10], 8
mov dword [ebp - 4], 9
je 0x10814ab
and dword [ebp - 0x10], 0xfffffff7
push 1
lea ecx, [ebp - 0x58]
call fcn.0101a650
test byte [ebp - 0x10], 4
mov dword [ebp - 4], 8
je 0x10814c6
and dword [ebp - 0x10], 0xfffffffb
push 1
lea ecx, [ebp - 0x78]
call fcn.0101a650
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 7
je 0x10814e4
and dword [ebp - 0x10], 0xfffffffd
push 1
lea ecx, [ebp - 0x98]
call fcn.0101a650
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 6
je 0x10814fb
push 1
lea ecx, [ebp - 0x68]
call fcn.0101a650
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x1081507
mov eax, 0x1001f54
lea ecx, [ebp - 0x14]
push ebx
push ecx
push ebx
push edi
push ebx
push ebx
push ebx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10816af
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.0101a650
lea eax, [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
push ebx
push 0x100475c
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
call esi
test eax, eax
jne 0x1081593
cmp dword [ebp - 0x28], 1
jne 0x1081593
push dword [ebp + 8]
call fcn.0108e46c
mov edi, eax
pop ecx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push edi
push eax
push ebx
push 0x100475c
push dword [ebp - 0x14]
call esi
push edi
call fcn.0104d0c0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.0101af80
push edi
call fcn.0108e495
pop ecx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x108159f
mov eax, 0x1001f54
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
push ebx
push eax
call fcn.01079b09
mov ecx, dword [0x100a5d0]
cmp eax, ecx
je 0x10815d9
cmp eax, ebx
jne 0x10815ca
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], eax
jne 0x10815c5
push ecx
jmp 0x10815c7
inc eax
push eax
push ebx
jmp 0x10815d1
mov ecx, dword [ebp - 0x30]
inc ecx
dec eax
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0103f335
cmp dword [ebp - 0x1c], ebx
jne 0x10815f6
push dword [0x100a5d0]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x24]
push ebx
push eax
call fcn.0101a390
push 1
pop esi
jmp 0x108165a
lea eax, [ebp - 0x38]
push 0x10068f0
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.01073282
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0107d50c
add esp, 0x18
push dword [0x100a5d0]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
push ebx
push eax
call fcn.0101a390
push 1
lea ecx, [ebp - 0x88]
pop esi
mov byte [ebp - 4], 0xb
push esi
call fcn.0101a650
push esi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.0101a650
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x1081666
mov eax, 0x1001f54
mov ecx, dword [ebp - 0x1c]
inc ecx
push ecx
push eax
push esi
push ebx
push 0x100475c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0101a650
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0101a650
or dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp - 0x38]
call fcn.0101a650
mov eax, esi
jmp 0x10816cc
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0101a650
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x38]
call fcn.0101a650
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret