Function at 0x41da90
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x485488
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
call fcn.004440b8
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41dada
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], esi
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41db08
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x70], 1
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41db37
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x70], 2
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41db66
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x70], 3
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41db95
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 1
lea ecx, [esp + 0x38]
push ecx
push ecx
mov byte [esp + 0x7c], 4
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.hRootKey
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
call fcn.00401ed0
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x41dce1
mov edi, 0xa0000001
lea esi, [esp + 0x40]
call fcn.00414000
push eax
mov ecx, ebp
mov byte [esp + 0x74], 5
call fcn.00407570
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dc5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dca8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dccd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
jmp 0x41e34e
lea ecx, [esp + 0x40]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.DWORD
call fcn.00401ed0
mov byte [esp + 0x78], 6
mov esi, dword [esp + 0x3c]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebx, esp
mov dword [esp + 0x24], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41dd30
cmp eax, dword [esi]
jne 0x41dd30
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41dd6e
mov edx, dword [eax]
mov edx, dword [edx]
mov edi, esi
mov ecx, dword [edi + 4]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x41dd4b
call fcn.004303e0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
mov byte [esp + 0x7c], 4
call fcn.0043eb10
add esp, 0xc
push 1
lea ecx, [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.strRegKey
call fcn.00401ed0
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x41dec3
mov edi, 0xa0000001
lea esi, [esp + 0x40]
call fcn.00414000
push eax
mov ecx, ebp
mov byte [esp + 0x74], 7
call fcn.00407570
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ddfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41de2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41de51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41de76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41de9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], 0xffffffff
add ecx, 0xc
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e367
mov eax, dword [esp + 0x18]
jmp 0x41e35d
push 1
lea ecx, [esp + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.strRegValueName
call fcn.00401ed0
mov esi, dword [esp + 0x84]
push esi
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x41df2b
mov edi, 0xa0000001
lea esi, [esp + 0x40]
call fcn.00414000
mov byte [esp + 0x70], 8
push eax
mov ecx, ebp
call fcn.00407570
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41ddee
push 1
lea ecx, [esp + 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.WOW64
call fcn.00401ed0
push esi
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x41df68
mov edi, 0xa0000001
lea esi, [esp + 0x40]
call fcn.00414000
mov byte [esp + 0x70], 9
jmp 0x41df05
lea ecx, [esp + 0x3c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.DWORD
call fcn.00401ed0
mov byte [esp + 0x78], 0xa
mov esi, dword [esp + 0x34]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x3c], esp
mov ebx, esp
mov dword [esp + 0x3c], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41dfb7
cmp eax, dword [esi]
jne 0x41dfb7
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41dff5
mov edx, dword [eax]
mov edx, dword [edx]
mov edi, esi
mov ecx, dword [edi + 4]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x41dfd2
call fcn.004303e0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
mov byte [esp + 0x7c], 4
call fcn.0043eb10
add esp, 0xc
push 1
lea ecx, [esp + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.iSystemBits
call fcn.00401ed0
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x41e0e6
mov edi, 0xa0000001
lea esi, [esp + 0x40]
call fcn.00414000
push eax
mov ecx, ebp
mov byte [esp + 0x74], 0xb
call fcn.00407570
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e081
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e0b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e0d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x30]
jmp 0x41de5d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00461856
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov eax, dword [0x4a657c]
add esp, 4
test eax, eax
je 0x41e146
push str.GetNativeSystemInfo
push str.kernel32
call esi
push eax
call ebx
test eax, eax
je 0x41e13f
lea edx, [esp + 0x44]
push edx
call eax
mov ax, word [esp + 0x44]
cmp ax, 9
je 0x41e135
cmp ax, 6
jne 0x41e13f
mov dword [0x4a99d4], 1
xor eax, eax
mov dword [0x4a657c], eax
test edi, edi
je 0x41e158
cmp edi, 1
jne 0x41e1b0
cmp dword [0x4a99d4], 0
jne 0x41e1be
mov dword [esp + 0x38], 0
test eax, eax
je 0x41e1a3
push str.GetNativeSystemInfo
push str.kernel32
call esi
push eax
call ebx
test eax, eax
je 0x41e199
lea ecx, [esp + 0x44]
push ecx
call eax
mov ax, word [esp + 0x44]
cmp ax, 9
je 0x41e18f
cmp ax, 6
jne 0x41e199
mov dword [0x4a99d4], 1
mov dword [0x4a657c], 0
cmp dword [0x4a99d4], 0
jne 0x41e1e4
xor eax, eax
jmp 0x41e1e8
cmp edi, 2
jne 0x41e1be
cmp dword [0x4a99d4], 0
jne 0x41e158
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41e0a7
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x38]
push edx
or eax, 0x20006
push eax
mov eax, dword [esp + 0x28]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [esp + 0x24]
mov edi, eax
test edi, edi
jne 0x41e228
mov edx, dword [esp + 0x38]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
mov dword [esp + 0x28], eax
test eax, eax
jne 0x41e296
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x80]
lea esi, [esp + 0x40]
mov dword [eax], edx
call fcn.00414000
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x70], 0xc
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 0x2c]
push edx
push ebx
push eax
push ebp
call fcn.00403800
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e2b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41e2b5
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
mov dword [ecx], 2
mov eax, dword [edx + 0x30]
push ebx
push eax
push ebp
call fcn.00403800
add esp, 0xc
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e2da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x70], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e2fb
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e31d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e342
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], 0xffffffff
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e367
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret