Function at 0x403323
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ab097
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.006aa850
mov eax, dword [0x6c300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x221c], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2220], ecx
xor ecx, ecx
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.00402864
mov esi, eax
test esi, esi
js 0x4038ce
push 0x7d
pop eax
cmp word [edi], ax
je 0x4038ce
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x2230], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x6bb75c
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4033d0
test ebx, ebx
je 0x403494
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402864
mov esi, eax
test esi, esi
js 0x4038ce
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x403496
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
call fcn.004027e0
test eax, eax
jne 0x4038be
push edi
call fcn.00402e2c
test eax, eax
je 0x403449
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x223c]
push edi
mov dword [ebp - 0x223c], eax
call fcn.004021e6
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
test ebx, ebx
je 0x403487
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.00402864
mov esi, eax
test esi, esi
js 0x4038b6
push edi
mov ecx, ebx
call fcn.00402e90
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.004020d8
test esi, esi
js 0x4038ce
jmp 0x40386e
lea ecx, [ebp - 0x223c]
call fcn.004020d8
jmp 0x403496
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x221c]
test eax, eax
jne 0x4034c4
push edi
mov ecx, ebx
mov dword [ebp - 0x2230], esi
call fcn.00402864
mov esi, eax
test esi, esi
js 0x4038ce
push 0x6bb754
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4035f5
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00402864
mov esi, eax
test esi, esi
js 0x4038ce
push edi
mov ecx, ebx
call fcn.00402864
mov esi, eax
test esi, esi
js 0x4038ce
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4038c9
cmp dword [ebp + 0x10], 0
je 0x40357b
xor eax, eax
mov ecx, ebx
inc eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2220]
and dword [ebp - 0x2248], 0
and dword [ebp - 0x2244], 0
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x224c]
push eax
call fcn.004029ae
mov esi, eax
lea ecx, [ebp - 0x224c]
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
test esi, esi
js 0x403906
mov byte [ebp - 4], al
call fcn.004020d8
jmp 0x40386e
cmp dword [ebp + 0x14], 0
jne 0x4035e8
cmp dword [ebp - 0x2230], 0
je 0x4035e8
xor eax, eax
lea ecx, [ebp - 0x2258]
push 0x20006
push eax
push dword [ebp - 0x2220]
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
call fcn.0040218a
test eax, eax
jne 0x4038f7
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2258]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4035dd
cmp eax, 2
jne 0x4038f7
lea ecx, [ebp - 0x2258]
call fcn.004020d8
push edi
mov ecx, ebx
call fcn.00402e90
jmp 0x403388
push 0x5c
pop edx
mov ecx, edi
call fcn.004027e0
test eax, eax
jne 0x4038c9
cmp dword [ebp + 0x10], eax
je 0x403690
mov esi, dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
push 0x2001f
push edi
push esi
call fcn.0040218a
test eax, eax
je 0x40365a
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x222c]
call fcn.0040218a
test eax, eax
je 0x40365a
sub esp, 0x14
lea ecx, [ebp - 0x222c]
push edi
push esi
call fcn.004020f2
test eax, eax
jne 0x40391c
push edi
mov ecx, ebx
call fcn.00402864
mov esi, eax
test esi, esi
js 0x4038ce
push 0x3d
pop eax
cmp word [edi], ax
jne 0x40386e
push edi
push 0
lea eax, [ebp - 0x222c]
mov ecx, ebx
push eax
call fcn.004029ae
mov esi, eax
jmp 0x40347a
cmp dword [ebp + 0x14], 0
jne 0x4036b1
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.0040218a
mov ebx, eax
jmp 0x4036b4
push 2
pop ebx
mov eax, dword [ebp + 0x14]
test ebx, ebx
push 1
pop ecx
push 0xffffffffffffffff
cmovne eax, ecx
push edi
mov dword [ebp - 0x2240], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0068c1d4
push eax
call fcn.00401cd1
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.00402864
mov esi, eax
test esi, esi
js 0x4038ce
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402e90
mov esi, eax
test esi, esi
js 0x4038ce
push 0x7b
pop eax
cmp word [edi], ax
jne 0x403767
push edi
call fcn.0068be26
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x403767
push dword [ebp - 0x2240]
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp - 0x222c]
push edi
call fcn.00403323
mov esi, eax
test esi, esi
jns 0x403751
cmp dword [ebp - 0x2240], 0
je 0x4038ce
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402864
mov esi, eax
test esi, esi
js 0x4038ce
cmp ebx, 2
je 0x403392
test ebx, ebx
je 0x40378c
cmp dword [ebp + 0x14], 0
jne 0x403392
mov ecx, ebx
call fcn.00401da8
mov esi, eax
jmp 0x4038ce
cmp dword [ebp + 0x14], 0
je 0x4037d9
push dword [ebp - 0x222c]
call fcn.00402e5b
test eax, eax
je 0x4037d9
lea eax, [ebp - 0x218]
push eax
call fcn.00402e2c
test eax, eax
je 0x403392
cmp dword [ebp - 0x2230], 0
je 0x403392
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.004021e6
jmp 0x403392
push dword [ebp - 0x222c]
call fcn.00402e5b
mov ecx, dword [ebp - 0x222c]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x403801
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x222c], ecx
xor ecx, ecx
mov dword [ebp - 0x2228], ecx
test eax, eax
jne 0x40391c
cmp dword [ebp - 0x2230], ecx
je 0x403392
test ebx, ebx
jne 0x403392
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2264], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2260], ecx
mov dword [ebp - 0x225c], ecx
lea ecx, [ebp - 0x2264]
push eax
call fcn.0040205f
and dword [ebp - 0x2264], ebx
test eax, eax
jne 0x40390d
lea ecx, [ebp - 0x2264]
call fcn.004020d8
mov ebx, dword [ebp - 0x221c]
cmp dword [ebp + 0x10], 0
je 0x403392
push 0x7b
pop eax
cmp word [edi], ax
jne 0x403392
push edi
call fcn.0068be26
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x403392
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x222c]
push edi
call fcn.00403323
mov esi, eax
test esi, esi
js 0x4038ce
mov ecx, ebx
jmp 0x403382
lea ecx, [ebp - 0x223c]
jmp 0x403906
lea ecx, [ebp - 0x223c]
call fcn.004020d8
mov esi, 0x80020009
lea ecx, [ebp - 0x222c]
call fcn.004020d8
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 - 0x10]
xor ecx, ebp
call fcn.0066f8d2
leave
ret 0x10
mov ecx, eax
call fcn.00401da8
lea ecx, [ebp - 0x2258]
mov esi, eax
call fcn.004020d8
jmp 0x4038ce
mov ecx, eax
call fcn.00401da8
lea ecx, [ebp - 0x2264]
jmp 0x403904
mov ecx, eax
jmp 0x403780