Function at 0x40f0c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fce6
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.0041dc00
mov eax, dword [0x43dfc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
xor ebx, ebx
push edi
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x2220], ebx
mov edx, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2244], edx
call fcn.0040d440
mov esi, eax
cmp esi, ebx
jl 0x40f771
cmp word [edi], 0x7d
je 0x40f76f
mov edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x2240], 1
call esi
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x40f171
test ebx, ebx
je 0x40f2bd
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040d440
mov esi, eax
or esi, esi
js 0x40f75e
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x40f2bd
movzx ecx, word [edi]
mov eax, edi
cmp cx, dx
mov dword [ebp - 0x223c], edx
mov dword [ebp - 0x2238], edx
mov dword [ebp - 0x2234], edx
je 0x40f1cf
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x40f1c7
push eax
call esi
movzx ecx, word [eax]
or cx, cx
jne 0x40f1b4
jmp 0x40f1cf
test eax, eax
jne 0x40f736
mov esi, 0x431cb8
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
or eax, eax
je 0x40f225
add esi, 4
cmp esi, str.Failed_to_sync_with_client_process
jl 0x40f1d4
mov ecx, dword [ebp - 0x2230]
xor esi, esi
mov dword [ebp - 0x223c], ecx
push edi
mov dword [ebp - 0x2238], esi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2234], esi
call fcn.0040dab0
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
or ebx, ebx
je 0x40f2b3
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.0040d440
mov esi, eax
or esi, esi
js 0x40f753
push edi
mov ecx, ebx
call fcn.0040d640
mov esi, eax
test esi, esi
js 0x40f753
mov dword [ebp - 0x2238], 0
cmp word [edi], 0x7b
jne 0x40f2a4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40f2a4
mov ecx, ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x2228]
push 0
push eax
push esi
push edi
call fcn.0040f0c0
mov esi, eax
or esi, esi
js 0x40f75e
push edi
mov ecx, ebx
call fcn.0040d440
mov esi, eax
test esi, esi
js 0x40f75e
cmp word [edi], 0x7d
jne 0x40f140
jmp 0x40f75e
mov dword [ebp - 0x2238], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40f2e9
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], eax
call fcn.0040d440
mov esi, eax
or esi, esi
js 0x40f75e
push 0x431c70
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
or eax, eax
jne 0x40f438
lea edx, [ebp - 0x2218]
mov ecx, dword [ebp - 0x221c]
push edx
call fcn.0040d440
mov esi, eax
test esi, esi
js 0x40f75e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040d440
mov esi, eax
or esi, esi
js 0x40f75e
cmp word [edi], 0x3d
jne 0x40f741
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x40f3a6
lea edx, [ebp - 0x2218]
mov eax, dword [ebp - 0x2230]
push edi
push edx
lea edx, [ebp - 0x2250]
mov ecx, dword [ebp - 0x221c]
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
call fcn.0040ed40
mov esi, eax
mov dword [ebp - 0x2250], ebx
cmp esi, ebx
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
jl 0x40f78f
mov byte [ebp - 4], bl
mov dword [ebp - 0x224c], ebx
mov ebx, dword [ebp - 0x221c]
jmp 0x40f261
cmp dword [ebp + 0x14], ebx
jne 0x40f41d
cmp dword [ebp - 0x2240], ebx
je 0x40f41d
lea ecx, [ebp - 0x225c]
mov eax, dword [ebp - 0x2230]
push 0x20006
push ebx
push eax
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
call fcn.0040d000
cmp eax, ebx
jne 0x40f7a7
lea ecx, [ebp - 0x2218]
mov esi, dword [ebp - 0x225c]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x40f406
cmp eax, 2
jne 0x40f7a7
cmp esi, ebx
je 0x40f417
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040d640
mov esi, eax
cmp esi, ebx
jl 0x40f75e
jmp 0x40f2a4
mov eax, edi
movzx ecx, word [edi]
test cx, cx
je 0x40f461
cmp cx, 0x5c
je 0x40f459
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x40f442
jmp 0x40f461
or eax, eax
jne 0x40f741
cmp dword [ebp + 0x10], 0
je 0x40f503
mov ebx, dword [ebp - 0x2230]
lea ecx, [ebp - 0x2228]
push 0x2001f
push edi
push ebx
call fcn.0040d000
test eax, eax
je 0x40f4c1
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2228]
call fcn.0040d000
or eax, eax
je 0x40f4c1
lea ecx, [ebp - 0x2228]
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push ebx
call fcn.0040cf60
mov ebx, eax
test ebx, ebx
jne 0x40f7ba
mov ebx, dword [ebp - 0x221c]
push edi
mov ecx, ebx
call fcn.0040d440
mov esi, eax
test esi, esi
js 0x40f75e
cmp word [edi], 0x3d
jne 0x40f261
lea edx, [ebp - 0x2228]
push edi
mov ecx, ebx
push 0
push edx
call fcn.0040ed40
mov esi, eax
test esi, esi
js 0x40f75e
jmp 0x40f261
cmp dword [ebp + 0x14], 0
jne 0x40f562
lea ecx, [ebp - 0x2228]
mov eax, dword [ebp - 0x2230]
push 0x20019
push edi
push eax
call fcn.0040d000
mov ebx, eax
or ebx, ebx
mov dword [ebp - 0x222c], ebx
je 0x40f534
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x218]
push edi
push 0x104
push ecx
call fcn.0041db2e
sub esp, 0xfffffff0
cmp eax, 0x50
ja case.0x40f55b.1
movzx edx, byte [eax + 0x40f830]
jmp dword [edx*4 + 0x40f820]
mov dword [ebp - 0x222c], 2
mov ebx, dword [ebp - 0x222c]
jmp 0x40f52d
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040d440
mov esi, eax
test esi, esi
js 0x40f75e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040d640
mov esi, eax
test esi, esi
js 0x40f75e
cmp word [edi], 0x7b
jne 0x40f5f5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40f5f5
mov eax, dword [ebp - 0x2228]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push 0
push eax
push edi
call fcn.0040f0c0
mov esi, eax
or esi, esi
jns 0x40f5d9
or ebx, ebx
je 0x40f75e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040d440
mov esi, eax
test esi, esi
js 0x40f75e
mov ebx, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x2244]
mov dword [ebp + 0x14], ecx
cmp ebx, 2
je 0x40f2a4
test ebx, ebx
je 0x40f623
test ecx, ecx
jne 0x40f2a4
push ebx
call fcn.0040cd00
add esp, 4
mov esi, eax
jmp 0x40f75e
mov ebx, dword [ebp - 0x2228]
or ecx, ecx
je 0x40f67b
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.0040d5f0
or eax, eax
je 0x40f67b
lea edx, [ebp - 0x218]
mov ecx, dword [ebp - 0x221c]
push edx
call fcn.0040d5b0
or eax, eax
je 0x40f2a4
cmp dword [ebp - 0x2240], 0
je 0x40f2a4
lea ecx, [ebp - 0x2228]
lea eax, [ebp - 0x218]
push eax
call fcn.0040dab0
jmp 0x40f2a4
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.0040d5f0
mov dword [ebp - 0x226c], eax
or ebx, ebx
mov dword [ebp - 0x222c], 0
je 0x40f6b2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], 0
mov ebx, dword [ebp - 0x222c]
mov dword [ebp - 0x2224], 0
or ebx, ebx
jne 0x40f7e4
cmp dword [ebp - 0x2240], ebx
je 0x40f2a4
cmp dword [ebp - 0x226c], ebx
jne 0x40f2a4
lea edx, [ebp - 0x218]
mov ecx, dword [ebp - 0x2230]
mov dword [ebp - 0x2268], ecx
lea ecx, [ebp - 0x2268]
push edx
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
call fcn.0040ceb0
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
cmp eax, ebx
jne 0x40f7fd
lea ecx, [ebp - 0x2268]
call fcn.0040da90
jmp 0x40f2a4
lea ecx, [ebp - 0x223c]
call fcn.0040da90
lea ecx, [ebp - 0x2228]
call fcn.0040da90
mov eax, 0x80020009
jmp 0x40f771
lea ecx, [ebp - 0x223c]
call fcn.0040da90
mov eax, dword [ebp - 0x2228]
test eax, eax
je 0x40f76f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.0041b771
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x2250]
call fcn.0040da90
lea ecx, [ebp - 0x2228]
call fcn.0040da90
jmp 0x40f76f
push eax
call fcn.0040cd00
lea ecx, [ebp - 0x225c]
mov esi, eax
sub esp, 0xfffffffc
jmp 0x40f759
lea ecx, [ebp - 0x2228]
call fcn.0040da90
push ebx
call fcn.0040cd00
sub esp, 0xfffffffc
jmp 0x40f771
push 0x8007000e
call fcn.0040ca90
push 0x80070057
call fcn.0040ca90
lea ecx, [ebp - 0x2228]
call fcn.0040da90
push ebx
call fcn.0040cd00
add esp, 4
jmp 0x40f771
push eax
call fcn.0040cd00
mov esi, eax
lea ecx, [ebp - 0x2268]
sub esp, 0xfffffffc
jmp 0x40f759
push 0x80004005
call fcn.0040ca90
lea ecx, [ecx]
je 0x40f817
sub al, 0x73
sar bh, cl
dec dword [ebp - 0xa8bffb7]
inc eax
add al, dl
test dword [eax], case.0x40f55b.22
adc edi, eax
inc eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3