Function at 0x468b70
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x505034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 1
test esi, esi
je 0x468ec0
test edi, edi
je 0x468ec0
push edi
push esi
call fcn.004a51b6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
test eax, eax
jne 0x468c07
mov esi, 0x57
jmp 0x468e7b
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468c10
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00415170
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468c30
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.00415170
push str.NtDeleteKey
push 0x4ebb68
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x468c74
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x468e7b
lea ecx, [ebp - 0x19c]
call fcn.004692f0
cmp dword [eax + 0x11c], 5
je 0x468cb3
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x468caa
cmp dword [ebp - 0x18], 0
jne 0x468cb3
mov ebx, 0xf003f
xor esi, esi
jmp 0x468ce1
lea ecx, [ebp - 0x64]
call fcn.00468ae0
test al, al
mov ecx, 0x200
mov esi, 0x100
cmovne esi, ecx
lea ecx, [ebp - 0x4c]
call fcn.00468ae0
test al, al
mov ebx, 0xf013f
mov ecx, 0xf023f
cmovne ebx, ecx
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push 0
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
or esi, 0xf003f
push esi
push 0
push 0
push 0
push eax
push 0x80000002
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x468e75
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x6c]
push esi
push ecx
push esi
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push esi
push esi
push esi
push eax
push 0x80000002
call ebx
mov esi, eax
test esi, esi
jne 0x468e75
cmp dword [ebp - 0x1c], 2
jne 0x468d67
push eax
push dword [ebp - 0x6c]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
mov esi, eax
test esi, esi
jne 0x468e75
push 0
push dword [ebp - 0x68]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x468e75
push dword [ebp - 0x68]
call dword [ebp - 0x70]
test eax, eax
je 0x468d90
mov esi, 5
jmp 0x468e75
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push 0
push ecx
push 2
push 0
push 0
push eax
push 0x80000002
call ebx
mov esi, eax
test esi, esi
jne 0x468e75
push 0x12
push str.RegistryMACHINE_
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.00415170
mov ecx, edi
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468df7
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x34]
call fcn.00414dc0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 8
lea ecx, [eax + eax]
push ecx
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 6
push 0
push str.SymbolicLinkValue
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x20]
mov esi, eax
test esi, esi
je 0x468e91
cmp edx, 8
jb 0x468e75
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468e6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468f6f
push edx
push ecx
call fcn.00479e95
add esp, 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x468e85
push eax
call ebx
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x468ec5
push eax
call ebx
jmp 0x468ec5
cmp edx, 8
jb 0x468e75
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468e6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468f6f
jmp 0x468e6b
mov esi, 0x57
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x38]
test esi, esi
sete bl
cmp edx, 8
jb 0x468f07
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468efd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468f74
push edx
push ecx
call fcn.00479e95
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp edx, 8
jb 0x468f51
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468f47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468f74
push edx
push ecx
call fcn.00479e95
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00479e61
mov esp, ebp
pop ebp
ret
call fcn.0049b19a
call fcn.0049b19a
int3