Function at 0x40ab5d
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x42c
mov eax, 0x426c75
call fcn.0041106e
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and dword [ebp - 0x42c], 0
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x438], eax
jmp 0x40b058
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x430], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x40abca
test ebx, ebx
je 0x40ac7d
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00408819
mov esi, eax
test esi, esi
jl 0x40b0cf
cmp dword [ebp + 0x10], 0
je 0x40ac7d
and dword [ebp - 0x428], 0
push 0x5c
push edi
call fcn.004087a4
test eax, eax
pop ecx
pop ecx
jne 0x40b070
mov ecx, dword [ebp - 0x424]
push edi
call fcn.0040891c
test eax, eax
je 0x40ac32
mov eax, dword [ebp - 0x434]
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
call fcn.00409250
and dword [ebp - 0x428], 0
test ebx, ebx
je 0x40ac72
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00408819
mov esi, eax
test esi, esi
jl 0x40b082
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00408980
lea ecx, [ebp - 0x428]
mov esi, eax
call fcn.00408404
test esi, esi
jl 0x40b0cf
jmp 0x40b01d
lea ecx, [ebp - 0x428]
call fcn.00408404
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40aca9
mov ecx, dword [ebp - 0x424]
and dword [ebp - 0x430], eax
push edi
call fcn.00408819
mov esi, eax
test esi, esi
jl 0x40b0cf
push 0x428480
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40adba
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
call fcn.00408819
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x40b0cf
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00408819
mov esi, eax
cmp esi, ebx
jl 0x40b0cf
cmp word [edi], 0x3d
jne 0x40b07b
cmp dword [ebp + 0x10], ebx
je 0x40ad48
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x430]
push eax
mov byte [ebp - 4], 1
call fcn.0040a818
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x430], ebx
lea ecx, [ebp - 0x430]
jl 0x40b0ca
mov byte [ebp - 4], bl
jmp 0x40b018
cmp dword [ebp + 0x14], ebx
jne 0x40ada5
cmp dword [ebp - 0x430], ebx
je 0x40ada5
push 0x20006
push ebx
push dword [ebp - 0x434]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], ebx
call fcn.00408469
cmp eax, ebx
jne 0x40b08a
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x40ad9a
cmp eax, 2
jne 0x40b08a
lea ecx, [ebp - 0x428]
call fcn.00408404
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00408980
mov esi, eax
cmp esi, ebx
jmp 0x40b062
push 0x5c
push edi
call fcn.004087a4
test eax, eax
pop ecx
pop ecx
jne 0x40b07b
cmp dword [ebp + 0x10], eax
je 0x40ae6b
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.00408469
test eax, eax
je 0x40ae2f
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.00408469
test eax, eax
je 0x40ae2f
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.0040841b
mov esi, eax
cmp esi, ebx
jne 0x40b099
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00408819
mov esi, eax
test esi, esi
jl 0x40b0cf
cmp word [edi], 0x3d
jne 0x40b01d
mov ecx, dword [ebp - 0x424]
push edi
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.0040a818
mov esi, eax
jmp 0x40ac65
cmp dword [ebp + 0x14], 0
jne 0x40ae8c
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.00408469
mov ebx, eax
jmp 0x40ae8f
push 2
pop ebx
test ebx, ebx
je 0x40ae9a
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00410708
push eax
call fcn.00408158
mov ecx, dword [ebp - 0x424]
add esp, 0x14
push edi
call fcn.00408819
mov esi, eax
test esi, esi
jl 0x40b0cf
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00408980
mov esi, eax
test esi, esi
jl 0x40b0cf
cmp word [edi], 0x7b
jne 0x40af32
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40af32
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp - 0x42c]
push edi
call fcn.0040ab5d
mov esi, eax
test esi, esi
jge 0x40af1c
cmp dword [ebp + 0x14], 0
je 0x40b0cf
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00408819
mov esi, eax
test esi, esi
jl 0x40b0cf
cmp ebx, 2
mov eax, dword [ebp - 0x438]
mov dword [ebp + 0x14], eax
je 0x40b064
test ebx, ebx
je 0x40af5e
test eax, eax
jne 0x40b064
push ebx
call fcn.0040828e
pop ecx
mov esi, eax
jmp 0x40b0cf
test eax, eax
je 0x40afb5
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.0040894b
test eax, eax
je 0x40afb5
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push eax
call fcn.0040891c
test eax, eax
je 0x40b064
cmp dword [ebp - 0x430], 0
je 0x40b064
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00409250
jmp 0x40b064
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.0040894b
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x428], eax
call fcn.00408404
mov ebx, eax
test ebx, ebx
jne 0x40b0ad
cmp dword [ebp - 0x430], eax
je 0x40b064
cmp dword [ebp - 0x428], eax
jne 0x40b064
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x430], ebx
test eax, eax
jne 0x40b0bb
lea ecx, [ebp - 0x430]
call fcn.00408404
cmp dword [ebp + 0x10], 0
je 0x40b064
cmp word [edi], 0x7b
jne 0x40b064
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40b064
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push edi
call fcn.0040ab5d
mov esi, eax
test esi, esi
jl 0x40b0cf
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00408819
mov esi, eax
test esi, esi
jl 0x40b0cf
cmp word [edi], 0x7d
jne 0x40ab97
jmp 0x40b0cf
lea ecx, [ebp - 0x428]
call fcn.00408404
mov esi, 0x80020009
jmp 0x40b0cf
lea ecx, [ebp - 0x428]
jmp 0x40b0ca
push eax
call fcn.0040828e
pop ecx
lea ecx, [ebp - 0x428]
jmp 0x40b0c8
lea ecx, [ebp - 0x42c]
call fcn.00408404
push esi
call fcn.0040828e
pop ecx
jmp 0x40b0dc
lea ecx, [ebp - 0x42c]
call fcn.00408404
push ebx
jmp 0x40b0a5
push eax
call fcn.0040828e
pop ecx
lea ecx, [ebp - 0x430]
mov esi, eax
call fcn.00408404
lea ecx, [ebp - 0x42c]
call fcn.00408404
mov eax, esi
call fcn.004110f1
ret 0x10