Function at 0x2c157a0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2c33bf0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x2c43064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x60]
push 0x11
mov edx, str.66t
mov dword [ebp - 0x18], eax
call fcn.02c11fd0
add esp, 4
push str.LOCALAPPDATA
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.02c1fe76
add esp, 0xc
test eax, eax
jne 0x2c15a64
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x2c15a64
push eax
lea ecx, [ebp - 0xa4]
call fcn.02c17310
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
mov edi, dword [ebp - 0x4c]
cmp edi, 8
mov edx, dword [esi + 0x10]
cmovae ecx, dword [ebp - 0x60]
mov eax, dword [esi + 0x14]
sub eax, edx
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x74], ecx
cmp edx, eax
ja 0x2c158b1
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], esi
lea eax, [edx + ecx]
mov dword [ebp - 0x70], eax
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x2c15890
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
lea ecx, [eax + ecx*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x74]
push ecx
call fcn.02c1b700
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x2c158c7
push edx
push ecx
mov byte [ebp - 0x70], 0
mov ecx, esi
push dword [ebp - 0x70]
push edx
call fcn.02c190b0
mov edi, dword [ebp - 0x4c]
mov esi, eax
movups xmm0, xmmword [esi]
xor eax, eax
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [esi + 0x10]
mov word [esi], ax
lea eax, [ebp - 0x8c]
push eax
movq qword [ebp - 0x7c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
call fcn.02c17280
mov ecx, dword [ebp - 0x78]
cmp ecx, 8
jb 0x2c1593a
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x2c15930
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c15af2
push ecx
push edx
call fcn.02c1a4fe
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x90]
cmp ecx, 8
jb 0x2c1597e
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x2c15974
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c15af2
push ecx
push edx
call fcn.02c1a4fe
add esp, 8
push 0x58
mov edx, 0x3033778
lea ecx, [ebp - 0x48]
call fcn.02c11fd0
add esp, 4
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push 0
push ecx
push 0
push 0x20007
push 0
push 0
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x2c15a12
mov esi, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
cmp esi, 8
cmovae edx, dword [ebp - 0x30]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x2c159d5
sub edx, ecx
lea ecx, [ebp - 0x30]
sar edx, 1
cmp esi, 8
cmovae ecx, dword [ebp - 0x30]
lea eax, [edx + edx]
push eax
push ecx
push 1
push 0
push 0
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x2c15a14
xor esi, esi
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x2c15a4e
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x2c15a44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c15af7
push ecx
push edx
call fcn.02c1a4fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
jmp 0x2c15a69
mov edi, dword [ebp - 0x4c]
xor esi, esi
cmp edi, 8
jb 0x2c15a9c
mov edx, dword [ebp - 0x60]
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x2c15a92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c15af7
push ecx
push edx
call fcn.02c1a4fe
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x2c15ad2
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x2c15ac8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c15af7
push ecx
push edx
call fcn.02c1a4fe
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.02c1a2be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.02c20f0c
call fcn.02c20f0c
int3