Function at 0x41f3b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ab3e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4c4184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x41f97e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, str.SOFTWAREASUSUpdateClientsAC2F2DC5_3504_4EE7_80CB_4B74D88F521F
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
test eax, 0xffff0000
jne 0x41f41a
movzx eax, ax
push eax
call fcn.0041a570
jmp 0x41f426
push 0x43
push str.SOFTWAREASUSUpdateClientsAC2F2DC5_3504_4EE7_80CB_4B74D88F521F
call fcn.0040a960
mov dword [ebp - 4], 1
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x41f97e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, str.SOFTWAREASUSUpdateClients8688A0D0_9F6E_43CB_BE68_5AD0101B8DCC
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
test eax, 0xffff0000
jne 0x41f467
movzx eax, ax
push eax
call fcn.0041a570
jmp 0x41f473
push 0x43
push str.SOFTWAREASUSUpdateClients8688A0D0_9F6E_43CB_BE68_5AD0101B8DCC
call fcn.0040a960
mov byte [ebp - 4], 3
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x41f97e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov eax, str.SOFTWAREASUSUpdateClients8688A0D0_9F6E_43CB_BE68_5AD0101B8DCD
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
test eax, 0xffff0000
jne 0x41f4b1
movzx eax, ax
push eax
call fcn.0041a570
jmp 0x41f4bd
push 0x43
push str.SOFTWAREASUSUpdateClients8688A0D0_9F6E_43CB_BE68_5AD0101B8DCD
call fcn.0040a960
push 0xc
mov dword [ebp - 4], 5
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.0044a090
mov esi, eax
add esp, 4
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], eax
lea ecx, [esi + 0xc]
mov dword [ebp - 0x6c], ecx
lea edi, [ebp - 0x34]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 7
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00417820
add eax, 0x10
add edi, 4
mov dword [esi], eax
add esp, 4
add esi, 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x3c], esi
cmp edi, eax
jne 0x41f507
mov dword [ebp - 0x70], esi
push fcn.00409e30
push 3
push 4
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 9
push eax
call fcn.0044a743
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
cmp esi, edi
je 0x41f90b
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00417820
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x78], edi
xor esi, esi
mov dword [ebp - 0x68], esi
cmp dword [edi - 4], 1
mov byte [ebp - 4], 0xb
jle 0x41f588
push dword [edi - 0xc]
lea ecx, [ebp - 0x78]
call fcn.0040a060
mov edi, dword [ebp - 0x78]
mov ecx, edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f5a2
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00409280
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x68]
push ecx
push 0x2001f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x68], 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
test eax, eax
mov dword [ebp - 0x84], eax
cmove esi, dword [ebp - 0x68]
mov dword [ebp - 0x68], esi
cmp edx, 8
jb 0x41f633
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f623
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f988
push edx
push ecx
call fcn.0044a0c0
mov eax, dword [ebp - 0x84]
add esp, 8
test eax, eax
jne 0x41f884
push 0xb
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x64]
push str.NextVersion
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.00409280
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x68]
call fcn.004079e0
mov edx, dword [ebp - 0x50]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x41f6b0
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f6a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f988
push edx
push ecx
call fcn.0044a0c0
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp byte [ebp - 0xa4], al
je 0x41f74f
push 0xb
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
push str.NextVersion
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409280
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x41f98d
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x41f74f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f745
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f988
push edx
push ecx
call fcn.0044a0c0
add esp, 8
push 5
xor eax, eax
mov dword [ebp - 0x4c], 0
push str.Store
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00409280
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x68]
call fcn.004079e0
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x41f7ce
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f7c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f988
push edx
push ecx
call fcn.0044a0c0
add esp, 8
mov esi, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp byte [ebp - 0x88], al
je 0x41f86e
push 5
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
push str.Store
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409280
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x41f98d
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x41f86e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f864
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f988
push edx
push ecx
call fcn.0044a0c0
add esp, 8
lea ecx, [ebp - 0xa0]
call fcn.004034d0
lea ecx, [ebp - 0xbc]
call fcn.004034d0
test esi, esi
je 0x41f8d7
cmp esi, 0x80000001
je 0x41f8d7
cmp esi, reloc.OLEAUT32.dll_SysReAllocString
je 0x41f8d7
cmp esi, 0x80000000
je 0x41f8d7
cmp esi, 0x80000005
je 0x41f8d7
cmp esi, reloc.OLEAUT32.dll_VariantInit
je 0x41f8d7
cmp esi, reloc.OLEAUT32.dll_SysReAllocStringLen
je 0x41f8d7
cmp esi, 0x80000060
je 0x41f8d7
cmp esi, 0x80000050
je 0x41f8d7
cmp esi, 0x80000003
je 0x41f8d7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 9
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41f8f3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x7c]
add esi, 4
mov dword [ebp - 0x7c], esi
cmp esi, dword [ebp - 0x80]
jne 0x41f557
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x74]
test esi, esi
je 0x41f963
cmp esi, edi
je 0x41f937
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f92d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x41f913
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41f959
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f988
push ecx
push esi
call fcn.0044a0c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a466
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004046b0
call fcn.00457e81
push str.RegDeleteValue_failed.
push eax
lea ecx, [ebp - 0x48]
call fcn.00402900
push 0x4bb0bc
lea eax, [ebp - 0x48]
push eax
call fcn.0044bcae
int3