Function at 0x41a200
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
call fcn.00448a4d
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41a24b
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 0x41a29f
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 0x41a2bc
mov esi, 0x20019
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x28]
push edx
push esi
push 0
push eax
push SysReAllocString
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 0x41a37c
push 0x5a14b0
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.0041f870
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 0x41a33a
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 0x41a35d
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 0x41a370
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 0x41a37f
mov eax, dword [ebp - 0x28]
cmp dword [ebx - 0xc], 0
je 0x41a4a2
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 0x41a3b7
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 0x41a3d4
mov esi, 0x20019
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push esi
push 0
push eax
push SysReAllocString
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 0x41a49f
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, ebx
lea edi, [ebp - 0x2c]
call fcn.0041fa50
mov esi, eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41a420
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 0x41a4a2
mov edi, dword [ebp + 0xc]
call fcn.00407c10
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xffffff00
add esi, 0x100
or esi, 0xf003f
jne 0x41a453
mov esi, 0x20019
lea edx, [ebp - 0x28]
push edx
push esi
push 0
push edi
push SysReAllocString
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 0x41a49f
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 0x41a496
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
jmp 0x41a4a2
mov eax, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x2c], vtable.Registry.0
cmp eax, esi
je 0x41a4b9
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 0x41a4dc
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 0x41a4ff
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 0x41a522
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 0x41a548
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