Function at 0x4764a0
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 0x50f255
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x567040]
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 + 0x398]
test ecx, ecx
je 0x47670e
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::IsChecked_void_]
test eax, eax
je 0x476634
call fcn.0041cdc0
push 1
call dword [0x57239c]
add esp, 4
call fcn.00434180
lea ecx, [ebp - 0x44]
lea edx, [eax + 0x124]
call fcn.00416570
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.00416e10
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 0x4765ba
cmp dword [0x572bfc], 7
mov ecx, 0x572be8
cmova ecx, dword [0x572be8]
cmp dword [esi + 0x14], 7
jbe 0x476591
mov esi, dword [esi]
mov eax, dword [0x572bf8]
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 0x4765fc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4765f4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4765ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476762
push ecx
push edx
call fcn.004d4141
add esp, 8
lea ecx, [ebp - 0x44]
jmp 0x476709
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4765f4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4765ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476762
jmp 0x4765ea
call fcn.0041cdc0
push 0
call dword [0x57239c]
add esp, 4
call fcn.00434180
lea ecx, [ebp - 0x5c]
lea edx, [eax + 0x124]
call fcn.00416570
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.00416e10
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 0x4766d0
cmp dword [esi + 0x14], 7
jbe 0x4766b9
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 0x47672b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x476706
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4766fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47675d
push ecx
push edx
call fcn.004d4141
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.00415000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d412e
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 0x476706
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4766fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4766fc
call fcn.004e392c
call fcn.004e392c
int3