Function at 0x403c70
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1154
call fcn.00406890
mov eax, dword [0x416398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x1110], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1154], ecx
push edi
mov ecx, eax
mov dword [ebp - 0x110c], eax
mov dword [ebp - 0x111c], 0
mov dword [ebp - 0x1118], 0
mov dword [ebp - 0x1114], 0
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x40432d
cmp byte [edi], 0x7d
push ebx
je 0x404319
push str.Delete
push edi
mov dword [ebp - 0x112c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x403d13
test ebx, ebx
je 0x403e2b
mov ecx, dword [ebp - 0x110c]
push edi
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x404319
cmp dword [ebp + 0x10], 0
je 0x403e2b
mov al, byte [edi]
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0
mov dword [ebp - 0x1120], 0
mov ecx, edi
test al, al
je 0x403d7d
lea esp, [esp]
cmp al, 0x5c
je 0x403d75
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x403d60
jmp 0x403d7d
test ecx, ecx
jne 0x4042b2
mov esi, 0x40f2f0
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x403de4
add esi, 4
cmp esi, 0x40f320
jl 0x403d82
mov eax, dword [ebp - 0x1110]
push edi
lea ecx, [ebp - 0x1128]
mov dword [ebp - 0x1128], eax
mov dword [ebp - 0x1124], 0
mov dword [ebp - 0x1120], 0
call fcn.00403670
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0
mov dword [ebp - 0x1120], 0
test ebx, ebx
je 0x403e21
mov ebx, dword [ebp - 0x110c]
push edi
mov ecx, ebx
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x4042c4
push edi
mov ecx, ebx
call fcn.00404c60
mov esi, eax
test esi, esi
js 0x4042c4
mov dword [ebp - 0x1124], 0
jmp 0x404070
mov dword [ebp - 0x1124], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [ebp - 0x110c]
test eax, eax
jne 0x403e59
push edi
mov ecx, ebx
mov dword [ebp - 0x112c], eax
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x404319
push 0x40f3c0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x403fbb
lea eax, [ebp - 0x1108]
push eax
mov ecx, ebx
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x404319
push edi
mov ecx, ebx
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x404319
cmp byte [edi], 0x3d
jne 0x4042bd
cmp dword [ebp + 0x10], 0
je 0x403f13
mov eax, dword [ebp - 0x1110]
mov dword [ebp - 0x1150], eax
push edi
lea eax, [ebp - 0x1108]
push eax
lea eax, [ebp - 0x1150]
push eax
mov ecx, ebx
mov dword [ebp - 0x114c], 0
mov dword [ebp - 0x1148], 0
call fcn.004018d0
mov esi, eax
mov dword [ebp - 0x1150], 0
mov dword [ebp - 0x114c], 0
mov dword [ebp - 0x1148], 0
test esi, esi
js 0x4042d1
mov dword [ebp - 0x114c], 0
jmp 0x404070
cmp dword [ebp + 0x14], 0
jne 0x403fa4
cmp dword [ebp - 0x112c], 0
je 0x403fa4
push 0x20006
push 0
push dword [ebp - 0x1110]
lea ecx, [ebp - 0x1144]
mov dword [ebp - 0x1144], 0
mov dword [ebp - 0x1140], 0
mov dword [ebp - 0x113c], 0
call fcn.004030f0
test eax, eax
jne 0x4042de
mov esi, dword [ebp - 0x1144]
lea eax, [ebp - 0x1108]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x403f85
cmp eax, 2
jne 0x4042de
test esi, esi
je 0x403f9a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1144], 0
mov dword [ebp - 0x1140], 0
push edi
mov ecx, ebx
call fcn.00404c60
mov esi, eax
test esi, esi
js 0x404319
jmp 0x4042a7
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x403fe0
cmp al, 0x5c
je 0x403fd8
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x403fc3
jmp 0x403fe0
test ecx, ecx
jne 0x4042bd
cmp dword [ebp + 0x10], 0
je 0x4040c6
mov esi, dword [ebp - 0x1110]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x111c]
call fcn.004030f0
test eax, eax
je 0x40403e
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x111c]
call fcn.004030f0
test eax, eax
je 0x40403e
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x111c]
call fcn.004023e0
test eax, eax
jne 0x40430e
push edi
mov ecx, ebx
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x404319
cmp byte [edi], 0x3d
jne 0x404070
push edi
push 0
lea eax, [ebp - 0x111c]
push eax
mov ecx, ebx
call fcn.004018d0
mov esi, eax
test esi, esi
js 0x404319
cmp byte [edi], 0x7b
jne 0x4042a7
mov ecx, edi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404080
sub ecx, edx
cmp ecx, 1
jne 0x4042a7
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x111c]
push edi
call fcn.00403c70
mov esi, eax
test esi, esi
js 0x404319
push edi
mov ecx, ebx
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x404319
jmp 0x4042a7
cmp dword [ebp + 0x14], 0
jne 0x4040eb
push 0x20019
push edi
push dword [ebp - 0x1110]
lea ecx, [ebp - 0x111c]
call fcn.004030f0
mov ebx, eax
test ebx, ebx
jne 0x4040f0
jmp 0x4040f7
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0040648a
push eax
call fcn.00401ec0
mov ecx, dword [ebp - 0x110c]
add esp, 0x14
push edi
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x404319
mov ecx, dword [ebp - 0x110c]
push edi
call fcn.00404c60
mov esi, eax
test esi, esi
js 0x404319
cmp byte [edi], 0x7b
jne 0x40419b
mov ecx, edi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404150
sub ecx, edx
cmp ecx, 1
jne 0x40419b
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x110c]
push 0
push dword [ebp - 0x111c]
push edi
call fcn.00403c70
mov esi, eax
test esi, esi
jns 0x404185
cmp dword [ebp + 0x14], 0
je 0x404319
mov ecx, dword [ebp - 0x110c]
push edi
call fcn.00402bd0
mov esi, eax
test esi, esi
js 0x404319
mov eax, dword [ebp - 0x1154]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x4042a7
test ebx, ebx
je 0x4041bf
test eax, eax
jne 0x4042a7
push ebx
jmp 0x40430f
mov ebx, dword [ebp - 0x110c]
test eax, eax
je 0x404214
push dword [ebp - 0x111c]
mov ecx, ebx
call fcn.00402750
test eax, eax
je 0x404214
lea eax, [ebp - 0x108]
push eax
mov ecx, ebx
call fcn.004020a0
test eax, eax
je 0x4042a7
cmp dword [ebp - 0x112c], 0
je 0x4042a7
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x111c]
call fcn.00403670
jmp 0x4042a7
push dword [ebp - 0x111c]
mov ecx, ebx
call fcn.00402750
mov ecx, dword [ebp - 0x111c]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x40423e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x111c], ecx
mov dword [ebp - 0x1118], 0
test eax, eax
jne 0x40430e
cmp dword [ebp - 0x112c], eax
je 0x4042a7
test ebx, ebx
jne 0x4042a7
mov eax, dword [ebp - 0x1110]
mov dword [ebp - 0x1138], eax
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x1138]
mov dword [ebp - 0x1134], ebx
mov dword [ebp - 0x1130], ebx
call fcn.004024c0
mov dword [ebp - 0x1138], ebx
mov dword [ebp - 0x1134], ebx
mov dword [ebp - 0x1130], ebx
test eax, eax
jne 0x4042f6
lea ecx, [ebp - 0x1138]
call fcn.004011e0
cmp byte [edi], 0x7d
jne 0x403ce0
jmp 0x404319
lea ecx, [ebp - 0x1128]
call fcn.004011e0
mov esi, 0x80020009
jmp 0x404319
lea ecx, [ebp - 0x1128]
call fcn.004011e0
jmp 0x404319
lea ecx, [ebp - 0x1150]
call fcn.004011e0
jmp 0x404319
push eax
call fcn.00401f80
add esp, 4
lea ecx, [ebp - 0x1144]
mov esi, eax
call fcn.004011e0
jmp 0x404319
push eax
call fcn.00401f80
add esp, 4
lea ecx, [ebp - 0x1138]
mov esi, eax
call fcn.004011e0
jmp 0x404319
push eax
call fcn.00401f80
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x111c]
pop ebx
test eax, eax
je 0x40432b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040684f
mov esp, ebp
pop ebp
ret 0x10