Function at 0x423e00
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587548
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
call fcn.0045e972
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x423e4b
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], vtable.Registry.0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
push str.IsWow64Process
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x423e9f
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x14]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x100
or eax, 0xf003f
mov esi, eax
jne 0x423ebc
mov esi, 0x20019
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x28]
push edx
push esi
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
je 0x423f7c
push 0x5b95a8
lea ecx, [ebp - 0x14]
call fcn.00401a30
mov bl, 5
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], bl
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004290c0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00401f40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423f3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423f5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x423f70
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], 0
jmp 0x423f7f
mov eax, dword [ebp - 0x28]
cmp dword [ebx - 0xc], 0
je 0x4240a2
push str.IsWow64Process
push str.kernel32
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x423fb7
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x14]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x100
or eax, 0xf003f
mov esi, eax
jne 0x423fd4
mov esi, 0x20019
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push esi
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
je 0x42409f
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, ebx
lea edi, [ebp - 0x2c]
call fcn.004292a0
mov esi, eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x424020
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
test esi, esi
je 0x4240a2
mov edi, dword [ebp + 0xc]
call fcn.0040fe50
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xffffff00
add esi, 0x100
or esi, 0xf003f
jne 0x424053
mov esi, 0x20019
lea edx, [ebp - 0x28]
push edx
push esi
push 0
push edi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
je 0x42409f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x424096
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
jmp 0x4240a2
mov eax, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x2c], vtable.Registry.0
cmp eax, esi
je 0x4240b9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], esi
lea eax, [ebx - 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4240dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4240ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424122
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424148
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc