Function at 0x403c63
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.00416300
push 0xffffffffffffffff
push 0x421f74
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x42ea70]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x2220]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], eax
call fcn.00401dad
mov esi, eax
cmp esi, ebx
jmp 0x404110
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x28], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x403d05
test ebx, ebx
je 0x403d9f
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401dad
mov esi, eax
test esi, esi
jl 0x40416b
cmp dword [ebp + 0x221c], 0
je 0x403d9f
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.00401d3d
pop ecx
pop ecx
test eax, eax
jne 0x40411e
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401ebb
test eax, eax
je 0x403d60
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.004025f3
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x403d97
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401dad
mov esi, eax
test esi, esi
jl 0x40412d
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401f1c
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004019cd
test esi, esi
jl 0x40416b
jmp 0x4040ce
lea ecx, [ebp - 0x24]
call fcn.004019cd
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403dc5
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.00401dad
mov esi, eax
test esi, esi
jl 0x40416b
push 0x423700
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403eab
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.00401dad
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x40416b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401dad
mov esi, eax
cmp esi, ebx
jl 0x40416b
cmp word [edi], 0x3d
jne 0x404126
cmp dword [ebp + 0x221c], ebx
je 0x403e4f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
call fcn.00403945
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x40]
jl 0x404166
mov byte [ebp - 4], bl
jmp 0x4040c9
cmp dword [ebp + 0x2220], ebx
jne 0x403e9d
cmp dword [ebp - 0x28], ebx
je 0x403e9d
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00401a42
cmp eax, ebx
jne 0x404132
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x403e95
cmp eax, 2
jne 0x404132
lea ecx, [ebp - 0x30]
call fcn.004019cd
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401f1c
jmp 0x403ccc
push 0x5c
push edi
call fcn.00401d3d
pop ecx
pop ecx
test eax, eax
jne 0x404126
cmp dword [ebp + 0x221c], eax
je 0x403f40
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00401a42
test eax, eax
je 0x403f0d
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00401a42
test eax, eax
je 0x403f0d
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.004019e8
mov esi, eax
cmp esi, ebx
jne 0x40413e
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401dad
mov esi, eax
test esi, esi
jl 0x40416b
cmp word [edi], 0x3d
jne 0x4040ce
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00403945
mov esi, eax
jmp 0x403d8a
cmp dword [ebp + 0x2220], 0
jne 0x403f5e
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00401a42
mov ebx, eax
jmp 0x403f61
push 2
pop ebx
test ebx, ebx
je 0x403f6f
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.00415f8c
push eax
call fcn.00401662
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.00401dad
mov esi, eax
test esi, esi
jl 0x40416b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401f1c
mov esi, eax
test esi, esi
jl 0x40416b
cmp word [edi], 0x7b
jne 0x403ffe
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x403ffe
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.00403c63
mov esi, eax
test esi, esi
jge 0x403feb
cmp dword [ebp + 0x2220], 0
je 0x40416b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401dad
mov esi, eax
test esi, esi
jl 0x40416b
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x2220], eax
cmp ebx, 2
je 0x404112
test ebx, ebx
je 0x40402a
test eax, eax
jne 0x404112
push ebx
call fcn.00401764
pop ecx
mov esi, eax
jmp 0x40416b
test eax, eax
je 0x404072
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.00401ee7
test eax, eax
je 0x404072
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.00401ebb
test eax, eax
je 0x404112
cmp dword [ebp - 0x28], 0
je 0x404112
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004025f3
jmp 0x404112
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.00401ee7
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.004019cd
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x40414f
cmp dword [ebp - 0x28], eax
je 0x404112
cmp dword [ebp - 0x48], eax
jne 0x404112
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x2000]
mov dword [ebp - 0x38], ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00401972
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
test eax, eax
jne 0x40415a
lea ecx, [ebp - 0x38]
call fcn.004019cd
cmp dword [ebp + 0x221c], 0
je 0x404112
cmp word [edi], 0x7b
jne 0x404112
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x404112
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x221c]
push dword [ebp - 0x1c]
push edi
call fcn.00403c63
mov esi, eax
test esi, esi
jl 0x40416b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00401dad
mov esi, eax
test esi, esi
jl 0x40416b
cmp word [edi], 0x7d
jne 0x403cd5
jmp 0x40416b
lea ecx, [ebp - 0x24]
call fcn.004019cd
mov esi, 0x80020009
jmp 0x40416b
lea ecx, [ebp - 0x24]
jmp 0x404166
push eax
call fcn.00401764
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x404164
lea ecx, [ebp - 0x1c]
call fcn.004019cd
push esi
call fcn.00401764
pop ecx
jmp 0x404175
lea ecx, [ebp - 0x1c]
call fcn.004019cd
push ebx
jmp 0x404147
push eax
call fcn.00401764
pop ecx
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004019cd
lea ecx, [ebp - 0x1c]
call fcn.004019cd
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.004144c5
add ebp, 0x220c
leave
ret 0x10