Function at 0x40db23
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x465353
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00445ce0
mov eax, dword [0x491330]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x491330]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2280], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x60], ecx
mov ecx, eax
push edi
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e086
push 0x7d
pop eax
cmp word [edi], ax
je 0x40e086
xor eax, eax
inc eax
push str.Delete
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x47ba10
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40dbe6
test ebx, ebx
je 0x40dc98
mov ecx, dword [esp + 0x14]
push edi
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e086
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x40dc9a
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.0040d0ab
test eax, eax
jne 0x40e078
push edi
call fcn.0040d69b
test eax, eax
je 0x40dc53
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.0040c9f5
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
test ebx, ebx
je 0x40dc8d
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push edi
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e072
push edi
mov ecx, ebx
call fcn.0040d701
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0040c8bc
test esi, esi
js 0x40e086
jmp 0x40e010
lea ecx, [esp + 0x1c]
call fcn.0040c8bc
jmp 0x40dc9a
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x40dcc4
push edi
mov ecx, ebx
mov dword [esp + 0x38], esi
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e086
push 0x47ba08
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40ddde
lea eax, [esp + 0x26c]
mov ecx, ebx
push eax
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e086
push edi
mov ecx, ebx
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e086
push 0x3d
pop eax
cmp word [edi], ax
jne 0x40e081
cmp dword [ebp + 0x10], 0
je 0x40dd73
xor eax, eax
mov ecx, ebx
inc eax
mov byte [esp + 0x2280], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x26c]
push edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0040d252
mov esi, eax
lea ecx, [esp + 0x38]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
test esi, esi
js 0x40e0c4
mov byte [esp + 0x2280], al
call fcn.0040c8bc
jmp 0x40e010
cmp dword [ebp + 0x14], 0
jne 0x40ddd1
cmp dword [esp + 0x34], 0
je 0x40ddd1
xor eax, eax
lea ecx, [esp + 0x54]
push 0x20006
push eax
push dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call fcn.0040c939
test eax, eax
jne 0x40e0b7
lea eax, [esp + 0x26c]
push eax
push dword [esp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x40ddc8
cmp eax, 2
jne 0x40e0b7
lea ecx, [esp + 0x54]
call fcn.0040c8bc
push edi
mov ecx, ebx
call fcn.0040d701
jmp 0x40e05b
push 0x5c
pop edx
mov ecx, edi
call fcn.0040d0ab
test eax, eax
jne 0x40e081
cmp dword [ebp + 0x10], eax
je 0x40de6c
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push 0x2001f
push edi
push esi
call fcn.0040c939
test eax, eax
je 0x40de37
push 0x20019
push edi
push esi
lea ecx, [esp + 0x34]
call fcn.0040c939
test eax, eax
je 0x40de37
sub esp, 0x14
lea ecx, [esp + 0x3c]
push edi
push esi
call fcn.0040c8d6
test eax, eax
jne 0x40e0d8
push edi
mov ecx, ebx
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e086
push 0x3d
pop eax
cmp word [edi], ax
jne 0x40e010
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0040d252
mov esi, eax
jmp 0x40dc80
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x40de8a
push 0x20019
push edi
push dword [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.0040c939
mov ebx, eax
jmp 0x40de8d
push 2
pop ebx
push 1
pop eax
push 0xffffffffffffffff
test ebx, ebx
push edi
cmovne esi, eax
lea eax, [esp + 0x6c]
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.00441f7e
push eax
call fcn.0040c51c
mov ecx, dword [esp + 0x28]
add esp, 0x14
push edi
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e086
mov ecx, dword [esp + 0x14]
push edi
call fcn.0040d701
mov esi, eax
test esi, esi
js 0x40e086
push 0x7b
pop eax
cmp word [edi], ax
jne 0x40df38
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x50]
jne 0x40dee8
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x40df38
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
xor eax, eax
push eax
push dword [esp + 0x30]
push edi
call fcn.0040db23
mov esi, eax
test esi, esi
jns 0x40df24
cmp dword [ebp + 0x14], 0
je 0x40e086
mov ecx, dword [esp + 0x14]
push edi
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e086
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x40e061
test ebx, ebx
je 0x40df62
test eax, eax
jne 0x40e061
mov ecx, ebx
call fcn.0040c58d
mov esi, eax
jmp 0x40e086
test eax, eax
je 0x40dfa3
push dword [esp + 0x28]
call fcn.0040d6ca
test eax, eax
je 0x40dfa3
lea eax, [esp + 0x64]
push eax
call fcn.0040d69b
test eax, eax
je 0x40e061
cmp dword [esp + 0x34], 0
je 0x40e061
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040c9f5
jmp 0x40e061
push dword [esp + 0x28]
call fcn.0040d6ca
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.0040c8bc
test eax, eax
jne 0x40e0d8
cmp dword [esp + 0x34], eax
je 0x40e061
test ebx, ebx
jne 0x40e061
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.0040c843
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
test eax, eax
jne 0x40e0cb
lea ecx, [esp + 0x44]
call fcn.0040c8bc
mov ebx, dword [esp + 0x14]
cmp dword [ebp + 0x10], 0
je 0x40e061
push 0x7b
pop eax
cmp word [edi], ax
jne 0x40e061
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x50]
jne 0x40e023
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x40e064
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [esp + 0x30]
push edi
call fcn.0040db23
mov esi, eax
test esi, esi
js 0x40e086
push edi
mov ecx, ebx
call fcn.0040d100
mov esi, eax
test esi, esi
js 0x40e086
xor eax, eax
inc eax
push 0x7d
pop ecx
cmp word [edi], cx
jne 0x40dbb9
jmp 0x40e086
lea ecx, [esp + 0x1c]
jmp 0x40e0c4
lea ecx, [esp + 0x1c]
call fcn.0040c8bc
mov esi, 0x80020009
lea ecx, [esp + 0x28]
call fcn.0040c8bc
mov eax, esi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.00441f6f
mov esp, ebp
pop ebp
ret 0x10
mov ecx, eax
call fcn.0040c58d
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.0040c8bc
jmp 0x40e086
mov ecx, eax
call fcn.0040c58d
lea ecx, [esp + 0x44]
jmp 0x40e0c2
mov ecx, eax
jmp 0x40df56