Function at 0x49cb20
Capabilities:
Delete registry value
Persist via run registry key
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 0x5662d5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x2f0]
test ecx, ecx
je 0x49cd91
mov eax, dword [ecx]
push ecx
call dword [eax + 0x80]
test eax, eax
je 0x49ccb7
call fcn.0041f660
push 1
call dword [0x5ffca8]
add esp, 4
call fcn.00441760
lea ecx, [ebp - 0x44]
lea edx, [eax + 0x13c]
call fcn.00419370
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push 0x2d
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00419c10
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x60]
push ecx
push 0xf003f
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49cc3d
cmp dword [0x60004c], 7
mov ecx, 0x600038
cmova ecx, dword [0x600038]
cmp dword [esi + 0x14], 7
jbe 0x49cc14
mov esi, dword [esi]
mov eax, dword [0x600048]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push esi
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x60]
test eax, eax
je 0x49cc7f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x49cc77
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49cc6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49cde5
push ecx
push edx
call fcn.0052b438
add esp, 8
lea ecx, [ebp - 0x44]
jmp 0x49cd8c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x49cc77
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49cc6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49cde5
jmp 0x49cc6d
call fcn.0041f660
push 0
call dword [0x5ffca8]
add esp, 4
call fcn.00441760
lea ecx, [ebp - 0x5c]
lea edx, [eax + 0x13c]
call fcn.00419370
mov esi, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 0x2d
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00419c10
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x60]
push ecx
push 0xf003f
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49cd53
cmp dword [esi + 0x14], 7
jbe 0x49cd3c
mov esi, dword [esi]
push esi
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x60]
test eax, eax
je 0x49cdae
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x49cd89
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49cd7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49cde0
push ecx
push edx
call fcn.0052b438
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.004179b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x49cd89
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49cd7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49cd7f
call fcn.0053775e
call fcn.0053775e
int3