Function at 0x10025980
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e1f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str.UserInfoFromLocalMachine:_AppID_s__bAvoidAdvapi32_d
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 1
mov ecx, str.CameyoUtils
mov edx, dword [ebp - 0x10]
call fcn.10043b30
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100259fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x10025a1b
push ecx
mov ecx, dword [ebp + 8]
mov esi, esp
add ecx, 0xfffffff0
call fcn.10024750
add eax, 0x10
mov dword [esi], eax
call fcn.100255b0
add esp, 4
jmp 0x10025a28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10044170
test eax, eax
je 0x10025bb8
push 1
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.UserId
call fcn.10023fc0
push ecx
mov eax, esp
mov byte [ebp - 4], 2
push dword [ebp + 8]
push str.SoftwareCameyoUserInfo_s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0
mov edx, 0x101751e8
mov ecx, SysFreeString
call fcn.10045b00
add esp, 0x14
test eax, eax
je 0x10025b6c
push 1
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.UserProfile
call fcn.10023fc0
push ecx
mov eax, esp
mov byte [ebp - 4], 3
push dword [ebp + 8]
push str.SoftwareCameyoUserInfo_s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0
mov edx, 0x101751f0
mov ecx, SysFreeString
call fcn.10045b00
add esp, 0x14
test eax, eax
je 0x10025b6c
push str._none_
lea ecx, [ebp - 0x10]
call fcn.10023fc0
push 0
push 0
push 0
push ecx
mov byte [ebp - 4], 5
lea esi, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.AppData
call fcn.10023fc0
push ecx
mov ecx, esp
mov byte [ebp - 4], 6
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov edx, 0x101751e8
call fcn.10026820
add esp, 4
mov byte [ebp - 4], 5
mov edx, esi
mov ecx, SysFreeString
call fcn.10045b00
add esp, 0x10
mov eax, esp
push dword [ebp - 0x10]
push dword [0x101751f0]
push dword [0x101751e8]
push str.___UserInfoFromLocalMachine:_UserID_s__UserProfile_s._RegTest:__s
push eax
call fcn.10044f30
add esp, 0x14
call fcn.10025540
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10025b65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x10025bba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.UserInfoFromLocalMachine:_failed_reading_UserId___UserProfile___s__from_registry__LE_d
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 4
mov ecx, str.CameyoUtils
mov edx, dword [ebp - 0x14]
call fcn.10043b30
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10025bb8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x10025bdb
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret