Function at 0x10010970
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.100171a0
test al, al
je 0x100109b0
pop ebx
pop ecx
pop edi
pop ebx
pop esp
pop edi
push eax
push eax
pop edi
push edx
pop eax
pop edx
pop esi
push esp
push ebx
pop ebx
pop ebp
push edx
pop esi
push ebp
pop ecx
pop ebp
push ecx
push esi
push ebx
call fcn.10016bf0
test al, al
je 0x100109d0
push ebx
push esp
pop ebp
pop eax
pop ecx
pop eax
pop ebx
pop ebx
push edi
pop esi
push eax
pop ebp
push edx
pop esp
push ecx
push esi
pop ebp
pop esi
push esp
push edi
pop ecx
push ebp
pop ecx
call fcn.10017440
test al, al
je 0x100109ee
push ecx
pop edi
push esi
pop ecx
pop ebx
pop eax
pop ecx
push ecx
pop esp
pop eax
pop ecx
push ebp
push ebp
push ebx
push esi
pop esp
push esi
push edx
push esp
push esi
push edx
call fcn.10016d40
test al, al
je 0x10010a16
pop edi
pop ecx
push esp
pop eax
push ecx
push esp
push ecx
push esp
push ebx
push esi
pop edi
pop esp
push esp
push edx
push ecx
push ecx
pop edi
push edx
push ebp
pop edi
pop eax
push ebp
push eax
pop ebx
pop edx
push ecx
push ebp
pop eax
pop esp
push esp
push esp
lea eax, [ebp - 0xc]
push eax
push 0xf013f
push 0
push str.SoftWare
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10010bdd
call fcn.10016d40
test al, al
je 0x10010a53
push eax
pop ebx
pop edx
push edi
push edi
pop esp
pop esp
push esi
push esi
pop edx
push edx
pop ebx
push edx
push esi
push edi
push ebp
pop ebp
call fcn.10017600
test al, al
je 0x10010a7c
pop eax
pop edx
pop ecx
pop ebx
pop edx
push ebx
pop ebp
pop edi
push esp
pop esp
push esp
push edi
pop edx
push edi
push ebx
pop edx
push edx
push edx
push edx
pop esi
push eax
push ebx
pop edx
push esi
pop esp
push ebp
push edi
pop edx
pop ebx
push edx
pop edx
push ebx
call fcn.10016cd0
test al, al
je 0x10010a98
push edi
pop ecx
push edi
push ebp
pop ecx
push edx
pop edx
push esi
pop esi
pop ebp
pop edi
push ebx
push ecx
push esp
pop esp
pop esi
push edx
pop ebp
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10010acb
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10017130
test al, al
je 0x10010af2
push edi
push edi
push ebp
pop edi
push esi
pop ebx
pop ecx
push ecx
push edi
push esp
pop ecx
pop esi
pop esp
push esi
pop esi
push ecx
push esi
pop edi
pop esi
pop ebp
push edx
push eax
pop edx
pop edx
push edi
push edx
push edi
push esi
pop ebp
pop esi
call fcn.100174b0
test al, al
je 0x10010b0f
push esp
pop esp
push esp
pop edx
push edx
pop edi
pop edi
pop eax
push ebx
push ecx
pop ecx
push ebx
push ebx
pop edi
pop ebp
pop ebx
push ecx
push edi
pop ebp
push edi
call fcn.100173d0
test al, al
je 0x10010b37
pop esi
pop esp
pop edi
push edx
push ecx
push edi
push edi
pop ecx
push eax
push ebx
push ebp
push eax
push eax
pop ebx
push esp
pop ecx
push esp
pop ecx
pop ebx
push esp
pop edx
pop edx
push ecx
pop edi
pop edi
push ebp
pop esi
pop esi
push ebx
pop eax
pop esi
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10010b71
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10017590
test al, al
je 0x10010b90
push ecx
push esi
push edx
pop edx
push ecx
pop edi
push ecx
push esp
push edx
pop ecx
pop ebx
push esp
push esi
push eax
push ecx
push ebp
pop ebx
push esi
pop esp
push edi
pop esi
pop esi
mov edx, dword [ebp + 0x14]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010ba0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret