Function at 0x4278c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b38b6
mov eax, dword fs:[0]
push eax
mov eax, 0x1158
call fcn.004b0ff0
mov eax, dword [0x4d044c]
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 - 0x1118], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x111c], ecx
mov dword [ebp - 0x112c], 0
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00427750
mov esi, eax
test esi, esi
js 0x428021
cmp byte [edi], 0x7d
je 0x42800e
nop word [eax + eax]
push str.Delete
push edi
mov dword [ebp - 0x1120], 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 0x427983
test ebx, ebx
je 0x427a91
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.00427750
mov esi, eax
test esi, esi
js 0x42800e
cmp dword [ebp + 0x10], 0
je 0x427a91
mov al, byte [edi]
mov ecx, edi
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
test al, al
je 0x4279ed
nop dword [eax]
cmp al, 0x5c
je 0x4279e5
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x4279d0
jmp 0x4279ed
test ecx, ecx
jne 0x427ffe
mov esi, 0x4c4ac0
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x427a4a
add esi, 4
cmp esi, str.RegOpenKeyTransactedA
jl 0x4279f2
mov eax, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1138]
push edi
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
call fcn.00427380
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x1130], 0
test ebx, ebx
je 0x427a87
mov ebx, dword [ebp - 0x1118]
mov ecx, ebx
push edi
call fcn.00427750
mov esi, eax
test esi, esi
js 0x42800e
push edi
mov ecx, ebx
call fcn.004271b0
mov esi, eax
test esi, esi
js 0x42800e
mov dword [ebp - 0x1134], 0
jmp 0x427dae
mov dword [ebp - 0x1134], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [ebp - 0x1118]
test eax, eax
jne 0x427abf
push edi
mov ecx, ebx
mov dword [ebp - 0x1120], eax
call fcn.00427750
mov esi, eax
test esi, esi
js 0x42800e
push 0x4c49fc
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x427c33
lea eax, [ebp - 0x1114]
mov ecx, ebx
push eax
call fcn.00427750
mov esi, eax
test esi, esi
js 0x42800e
push edi
mov ecx, ebx
call fcn.00427750
mov esi, eax
test esi, esi
js 0x42800e
cmp byte [edi], 0x3d
jne 0x427ffe
cmp dword [ebp + 0x10], 0
je 0x427b81
mov eax, dword [ebp - 0x111c]
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x114c], eax
lea eax, [ebp - 0x1114]
push edi
push eax
lea eax, [ebp - 0x114c]
mov dword [ebp - 0x1148], 0
push eax
mov dword [ebp - 0x1144], 0
call fcn.00426b00
mov esi, eax
mov dword [ebp - 0x114c], 0
mov dword [ebp - 0x1148], 0
mov dword [ebp - 0x1144], 0
test esi, esi
js 0x42800e
mov byte [ebp - 4], 0
mov dword [ebp - 0x1148], 0
jmp 0x427dae
cmp dword [ebp + 0x14], 0
jne 0x427c1c
cmp dword [ebp - 0x1120], 0
je 0x427c1c
push 0x20006
push 0
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x1158]
mov dword [ebp - 0x1158], 0
mov dword [ebp - 0x1154], 0
mov dword [ebp - 0x1150], 0
call fcn.004272d0
test eax, eax
jne 0x427fe2
mov ebx, dword [ebp - 0x1158]
lea eax, [ebp - 0x1114]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x427bf7
cmp eax, 2
jne 0x427fcc
test ebx, ebx
je 0x427c0c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1158], 0
mov ebx, dword [ebp - 0x1118]
mov dword [ebp - 0x1154], 0
push edi
mov ecx, ebx
call fcn.004271b0
mov esi, eax
test esi, esi
js 0x42800e
jmp 0x427fc1
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x427c5d
nop dword [eax + eax]
cmp al, 0x5c
je 0x427c55
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x427c40
jmp 0x427c5d
test ecx, ecx
jne 0x427ffe
cmp dword [ebp + 0x10], 0
je 0x427e06
mov esi, dword [ebp - 0x111c]
lea ecx, [ebp - 0x112c]
push 0x2001f
push edi
push esi
call fcn.004272d0
test eax, eax
je 0x427d7c
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x112c]
call fcn.004272d0
test eax, eax
je 0x427d7c
mov esi, dword [ebp - 0x1124]
mov dword [ebp - 0x1120], 0
test esi, esi
je 0x427d17
cmp dword [esi], 0
je 0x427d0a
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x427cd0
mov eax, 1
jmp 0x427d3f
push str.RegCreateKeyTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x427d10
push 0
push dword [esi]
lea ecx, [ebp - 0x113c]
push ecx
lea ecx, [ebp - 0x1120]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x111c]
call eax
jmp 0x427d3f
cmp dword [esi + 4], 0
jne 0x427d17
mov eax, 1
jmp 0x427d3f
lea eax, [ebp - 0x113c]
push eax
lea eax, [ebp - 0x1120]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x111c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x428005
mov ecx, dword [ebp - 0x112c]
test ecx, ecx
je 0x427d58
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x1120]
mov dword [ebp - 0x112c], ebx
mov dword [ebp - 0x1128], 0
test eax, eax
jne 0x428005
mov ebx, dword [ebp - 0x1118]
push edi
mov ecx, ebx
call fcn.00427750
mov esi, eax
test esi, esi
js 0x42800e
cmp byte [edi], 0x3d
jne 0x427dae
push edi
push 0
lea eax, [ebp - 0x112c]
mov ecx, ebx
push eax
call fcn.00426b00
mov esi, eax
test esi, esi
js 0x42800e
cmp byte [edi], 0x7b
jne 0x427fc1
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427dc0
sub ecx, edx
cmp ecx, 1
jne 0x427fc1
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x112c]
push edi
call fcn.004278c0
mov esi, eax
test esi, esi
js 0x42800e
push edi
mov ecx, ebx
call fcn.00427750
mov esi, eax
test esi, esi
js 0x42800e
jmp 0x427fc1
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x427e28
push 0x20019
push edi
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x112c]
call fcn.004272d0
mov ebx, eax
jmp 0x427e2d
mov ebx, 2
test ebx, ebx
mov ecx, 1
push 0xffffffffffffffff
mov eax, esi
cmovne eax, ecx
push edi
mov dword [ebp - 0x1140], eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004901cb
push eax
call fcn.004270d0
mov ecx, dword [ebp - 0x1118]
add esp, 0x14
push edi
call fcn.00427750
mov esi, eax
test esi, esi
js 0x42800e
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.004271b0
mov esi, eax
test esi, esi
js 0x42800e
cmp byte [edi], 0x7b
jne 0x427ee3
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427e92
sub ecx, edx
cmp ecx, 1
jne 0x427ee3
push dword [ebp - 0x1140]
mov ecx, dword [ebp - 0x1118]
push 0
push dword [ebp - 0x112c]
push edi
call fcn.004278c0
mov esi, eax
test esi, esi
jns 0x427ecd
cmp dword [ebp - 0x1140], 0
je 0x42800e
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.00427750
mov esi, eax
test esi, esi
js 0x42800e
cmp ebx, 2
je 0x427fc1
test ebx, ebx
je 0x427f01
cmp dword [ebp + 0x14], 0
jne 0x427fc1
mov ecx, ebx
jmp 0x428007
cmp dword [ebp + 0x14], 0
mov ebx, dword [ebp - 0x112c]
je 0x427f4c
push ebx
call fcn.004274a0
test eax, eax
je 0x427f4c
lea eax, [ebp - 0x114]
push eax
call fcn.00427220
test eax, eax
je 0x427fc1
cmp dword [ebp - 0x1120], 0
je 0x427fc1
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x112c]
call fcn.00427380
jmp 0x427fc1
push ebx
call fcn.004274a0
mov ecx, dword [ebp - 0x112c]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x427f6f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x112c], ecx
mov dword [ebp - 0x1128], 0
test eax, eax
jne 0x428005
cmp dword [ebp - 0x1120], eax
je 0x427fc1
test ebx, ebx
jne 0x427fc1
mov eax, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1164]
mov dword [ebp - 0x1164], eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x1160], ebx
mov dword [ebp - 0x115c], ebx
call fcn.004275f0
mov dword [ebp - 0x1164], ebx
test eax, eax
jne 0x428005
cmp byte [edi], 0x7d
jne 0x427950
jmp 0x42800e
mov ecx, eax
call fcn.00427710
mov esi, eax
test ebx, ebx
je 0x42800e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42800e
mov ecx, eax
call fcn.00427710
mov esi, eax
mov eax, dword [ebp - 0x1158]
test eax, eax
je 0x42800e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42800e
mov esi, 0x80020009
jmp 0x42800e
mov ecx, eax
call fcn.00427710
mov esi, eax
mov eax, dword [ebp - 0x112c]
test eax, eax
je 0x42801f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004606ac
mov esp, ebp
pop ebp
ret 0x10