Function at 0x403a1c
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411e8f
mov eax, dword fs:[0]
push eax
mov eax, 0x115c
call fcn.004088e0
mov eax, dword [0x418550]
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, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x1118], ecx
mov dword [ebp - 0x1120], eax
mov dword [ebp - 0x112c], ebx
mov dword [ebp - 0x1128], ebx
mov dword [ebp - 0x1124], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1158], eax
jmp 0x403fba
push str.Delete
push edi
mov dword [ebp - 0x113c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x111c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x403abe
cmp esi, ebx
je 0x403b96
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.004018d7
mov esi, eax
cmp esi, ebx
jl 0x404035
cmp dword [ebp + 0x10], ebx
je 0x403b96
push 0x5c
push edi
mov dword [ebp - 0x1138], ebx
mov dword [ebp - 0x1134], ebx
mov dword [ebp - 0x1130], ebx
call fcn.0040186a
pop ecx
pop ecx
test eax, eax
jne 0x403fd1
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.004019c5
test eax, eax
je 0x403b47
mov eax, dword [ebp - 0x1120]
push edi
lea ecx, [ebp - 0x1138]
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1134], ebx
mov dword [ebp - 0x1130], ebx
call fcn.00401e8d
mov dword [ebp - 0x1138], ebx
mov dword [ebp - 0x1134], ebx
mov dword [ebp - 0x1130], ebx
cmp dword [ebp - 0x111c], ebx
je 0x403b8b
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.004018d7
mov esi, eax
cmp esi, ebx
jl 0x403fe3
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.00401a29
lea ecx, [ebp - 0x1138]
mov esi, eax
call fcn.0040155f
cmp esi, ebx
jl 0x404035
jmp 0x403f7e
lea ecx, [ebp - 0x1138]
call fcn.0040155f
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x403bc2
mov ecx, dword [ebp - 0x1118]
push edi
mov dword [ebp - 0x113c], ebx
call fcn.004018d7
mov esi, eax
cmp esi, ebx
jl 0x404035
push 0x4132d0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x403cf0
mov ecx, dword [ebp - 0x1118]
lea eax, [ebp - 0x1114]
push eax
call fcn.004018d7
mov esi, eax
cmp esi, ebx
jl 0x404035
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.004018d7
mov esi, eax
cmp esi, ebx
jl 0x404035
cmp byte [edi], 0x3d
jne 0x403fdc
cmp dword [ebp + 0x10], ebx
je 0x403c76
mov eax, dword [ebp - 0x1120]
mov ecx, dword [ebp - 0x1118]
mov dword [ebp - 0x1148], eax
push edi
lea eax, [ebp - 0x1114]
push eax
lea eax, [ebp - 0x1148]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1144], ebx
mov dword [ebp - 0x1140], ebx
call fcn.0040360f
mov esi, eax
mov dword [ebp - 0x1148], ebx
mov dword [ebp - 0x1144], ebx
mov dword [ebp - 0x1140], ebx
lea ecx, [ebp - 0x1148]
cmp esi, ebx
jl 0x404030
mov byte [ebp - 4], bl
jmp 0x403f79
cmp dword [ebp + 0x14], ebx
jne 0x403cdf
cmp dword [ebp - 0x113c], ebx
je 0x403cdf
push 0x20006
push ebx
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x1154]
mov dword [ebp - 0x1154], ebx
mov dword [ebp - 0x1150], ebx
mov dword [ebp - 0x114c], ebx
call fcn.004015d6
cmp eax, ebx
jne 0x403feb
lea eax, [ebp - 0x1114]
push eax
push dword [ebp - 0x1154]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x403cd4
cmp eax, 2
jne 0x403feb
lea ecx, [ebp - 0x1154]
call fcn.0040155f
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.00401a29
jmp 0x403fc0
push 0x5c
push edi
call fcn.0040186a
pop ecx
pop ecx
test eax, eax
jne 0x403fdc
cmp dword [ebp + 0x10], ebx
je 0x403d9d
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x112c]
call fcn.004015d6
test eax, eax
je 0x403d63
push 0x20019
push edi
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x112c]
call fcn.004015d6
test eax, eax
je 0x403d63
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x112c]
call fcn.0040157a
mov esi, eax
cmp esi, ebx
jne 0x403ffa
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.004018d7
mov esi, eax
cmp esi, ebx
jl 0x404035
cmp byte [edi], 0x3d
jne 0x403f7e
mov ecx, dword [ebp - 0x1118]
push edi
push ebx
lea eax, [ebp - 0x112c]
push eax
call fcn.0040360f
mov esi, eax
jmp 0x403b7e
cmp dword [ebp + 0x14], ebx
jne 0x403dc1
push 0x20019
push edi
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x112c]
call fcn.004015d6
mov dword [ebp - 0x111c], eax
jmp 0x403dcb
mov dword [ebp - 0x111c], 2
cmp dword [ebp - 0x111c], ebx
je 0x403dda
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004082b7
push eax
call fcn.004011dc
mov ecx, dword [ebp - 0x1118]
add esp, 0x14
push edi
call fcn.004018d7
mov esi, eax
cmp esi, ebx
jl 0x404035
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.00401a29
mov esi, eax
cmp esi, ebx
jl 0x404035
cmp byte [edi], 0x7b
jne 0x403e6f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x403e6f
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1118]
push ebx
push dword [ebp - 0x112c]
push edi
call fcn.00403a1c
mov esi, eax
cmp esi, ebx
jge 0x403e59
cmp dword [ebp + 0x14], ebx
je 0x404035
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.004018d7
mov esi, eax
cmp esi, ebx
jl 0x404035
cmp dword [ebp - 0x111c], 2
mov eax, dword [ebp - 0x1158]
mov dword [ebp + 0x14], eax
je 0x403fc6
cmp dword [ebp - 0x111c], ebx
je 0x403ea8
cmp eax, ebx
jne 0x403fc6
push dword [ebp - 0x111c]
call fcn.0040128d
pop ecx
mov esi, eax
jmp 0x404035
cmp eax, ebx
je 0x403efe
push dword [ebp - 0x112c]
mov ecx, dword [ebp - 0x1118]
call fcn.004019f4
test eax, eax
je 0x403efe
mov ecx, dword [ebp - 0x1118]
lea eax, [ebp - 0x114]
push eax
call fcn.004019c5
test eax, eax
je 0x403fc6
cmp dword [ebp - 0x113c], ebx
je 0x403fc6
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x112c]
call fcn.00401e8d
jmp 0x403fc6
push dword [ebp - 0x112c]
mov ecx, dword [ebp - 0x1118]
call fcn.004019f4
lea ecx, [ebp - 0x112c]
mov dword [ebp - 0x115c], eax
call fcn.0040155f
mov dword [ebp - 0x111c], eax
cmp eax, ebx
jne 0x40400e
cmp dword [ebp - 0x113c], ebx
je 0x403fc6
cmp dword [ebp - 0x115c], ebx
jne 0x403fc6
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x1120]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x1168], ebx
mov dword [ebp - 0x1164], ebx
mov dword [ebp - 0x1160], ebx
cmp eax, ebx
jne 0x404021
lea ecx, [ebp - 0x1168]
call fcn.0040155f
cmp dword [ebp + 0x10], ebx
je 0x403fc6
cmp byte [edi], 0x7b
jne 0x403fc6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x403fc6
mov ecx, dword [ebp - 0x1118]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x112c]
push edi
call fcn.00403a1c
mov esi, eax
cmp esi, ebx
jl 0x404035
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.004018d7
mov esi, eax
cmp esi, ebx
jl 0x404035
cmp byte [edi], 0x7d
jne 0x403a85
jmp 0x404035
lea ecx, [ebp - 0x1138]
call fcn.0040155f
mov esi, 0x80020009
jmp 0x404035
lea ecx, [ebp - 0x1138]
jmp 0x404030
push eax
call fcn.0040128d
pop ecx
lea ecx, [ebp - 0x1154]
jmp 0x40402e
lea ecx, [ebp - 0x112c]
call fcn.0040155f
push esi
call fcn.0040128d
pop ecx
jmp 0x404042
lea ecx, [ebp - 0x112c]
call fcn.0040155f
push dword [ebp - 0x111c]
jmp 0x404006
push eax
call fcn.0040128d
pop ecx
lea ecx, [ebp - 0x1168]
mov esi, eax
call fcn.0040155f
lea ecx, [ebp - 0x112c]
call fcn.0040155f
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.004088ca
leave
ret 0x10