Function at 0x41a1e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fe28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5d1614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
call fcn.00447edb
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41a22b
push 0x80004005
call fcn.00401fc0
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 0x41a27f
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 0x41a29c
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 0x41a35c
push 0x5a04b0
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.0041f8d0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00401f10
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 0x41a31a
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 0x41a33d
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 0x41a350
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 0x41a35f
mov eax, dword [ebp - 0x28]
cmp dword [ebx - 0xc], 0
je 0x41a482
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 0x41a397
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 0x41a3b4
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 0x41a47f
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, ebx
lea edi, [ebp - 0x2c]
call fcn.0041fab0
mov esi, eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41a400
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 0x41a482
mov edi, dword [ebp + 0xc]
call fcn.00407c00
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xffffff00
add esi, 0x100
or esi, 0xf003f
jne 0x41a433
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 0x41a47f
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 0x41a476
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
jmp 0x41a482
mov eax, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x2c], vtable.Registry.0
cmp eax, esi
je 0x41a499
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 0x41a4bc
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 0x41a4df
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 0x41a502
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 0x41a528
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