Function at 0x10cbfd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x113d63c
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x134], ebx
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], edi
call edx
add eax, 0x10
mov dword [ebp - 0x130], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x128], eax
push edi
push 0x1028fd8
lea eax, [ebp - 0x120]
push eax
push 0x1028f50
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov byte [ebp - 4], 2
call fcn.01075110
add esp, 0x18
lea edx, [ebp - 0x12c]
push edx
mov byte [ebp - 4], 3
call fcn.0112deb0
mov eax, dword [eax]
lea ecx, [ebp - 0x124]
push ecx
push 0x2001f
push edi
push 0x1028f08
push eax
mov dword [ebp - 0x124], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x10cc0b1
mov ebx, dword [ebp - 0x124]
xor esi, esi
mov dword [ebp - 0x134], ebx
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x10cc0c2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x10cc12e
lea edx, [ebp - 0x12c]
push edx
call fcn.0112deb0
mov eax, dword [eax]
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x124]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push 0x1028f08
push eax
mov dword [ebp - 0x124], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x10cc11b
xor eax, eax
cmp ebx, edi
je 0x10cc10f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x124]
mov dword [ebp - 0x134], ebx
mov esi, eax
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x10cc12e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x10cc177
jle 0x10cc140
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 0x120], esi
call fcn.01127f00
test al, al
je 0x10cc24e
mov eax, dword [ebp - 0x120]
push eax
push 0x1028f08
push 0x1011450
push 0x1028e80
push edi
call fcn.01128b70
add esp, 0x14
jmp 0x10cc24e
cmp byte [ebp + 8], 0
je 0x10cc18f
mov ecx, dword [0x1162f18]
push ecx
lea ecx, [ebp - 0x130]
call fcn.01081360
mov edi, dword [ebp - 0x130]
xor eax, eax
test edi, edi
setne al
test eax, eax
jne 0x10cc1aa
push 0x80004005
call fcn.01071710
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
lea edx, [eax + eax + 2]
push edx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push 0x1028e6c
push ebx
call edi
test eax, eax
je 0x10cc1eb
jg 0x10cc1d9
mov dword [ebp - 0x120], eax
jmp 0x10cc24e
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
jmp 0x10cc24e
cmp byte [ebp + 8], 0
je 0x10cc202
mov eax, dword [0x1162f1c]
push eax
lea ecx, [ebp - 0x128]
call fcn.01081360
mov eax, dword [ebp - 0x128]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10cc21d
push 0x80004005
call fcn.01071710
push eax
call esi
mov edx, dword [ebp - 0x128]
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push 0
push 0x100697c
push ebx
call edi
test eax, eax
je 0x10cc246
jg 0x10cc1d9
mov dword [ebp - 0x120], eax
jmp 0x10cc24e
mov al, byte [ebp + 8]
mov byte [0x1162eea], al
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.01075230
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10cc289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10cc2af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x10cc2ba
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 4