Function at 0x404cd0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x48e176
mov eax, dword fs:[0]
push eax
mov eax, 0x1154
call fcn.00456080
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x1150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afa68]
xor eax, esp
push eax
lea eax, [esp + 0x1168]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1178]
mov eax, dword [esp + 0x117c]
xor esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x1184]
mov eax, edi
mov dword [esp + 0x1170], esi
mov dword [esp + 0x34], edx
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x4053d9
cmp byte [edi], 0x7d
je 0x4053d7
nop
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push edi
mov dword [esp + 0x38], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
xor esi, esi
test eax, eax
je 0x404d93
cmp ebx, esi
je 0x404eb8
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
cmp dword [esp + 0x1180], esi
je 0x404eb8
mov cl, byte [edi]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov eax, edi
test cl, cl
je 0x404de8
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
jmp 0x404dd0
cmp cl, 0x5c
je 0x404de0
push eax
call ebp
mov cl, byte [eax]
test cl, cl
jne 0x404dd0
jmp 0x404de8
cmp eax, esi
jne 0x405343
mov ebp, 0x49afb4
lea ecx, [ecx]
mov eax, dword [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x404e28
add ebp, 4
cmp ebp, 0x49afe4
jl 0x404df0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], esi
call fcn.00404960
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
cmp ebx, esi
je 0x404eb4
mov ebx, dword [esp + 0x18]
mov eax, edi
mov ecx, ebx
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x40535f
mov ecx, ebx
call fcn.00404860
mov ebp, eax
cmp ebp, esi
jl 0x40535f
mov dword [esp + 0x2c], esi
cmp byte [edi], 0x7b
jne 0x404ea6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x404ea6
mov edx, dword [esp + 0x1180]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
xor esi, esi
push esi
push edx
push eax
push edi
mov ecx, ebx
call fcn.00404cd0
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
mov eax, edi
mov ecx, ebx
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x4053c6
cmp byte [edi], 0x7d
jne 0x404d60
jmp 0x4053c6
mov dword [esp + 0x2c], esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404ee1
mov ecx, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0x30], esi
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
push 0x49ab60
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405012
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x164]
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
cmp byte [edi], 0x3d
jne 0x40534c
cmp dword [esp + 0x1180], esi
je 0x404f85
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x164]
mov byte [esp + 0x1170], 1
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, edi
mov dword [esp + 0x4c], esi
call fcn.004042f0
mov ebp, eax
cmp ebp, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
jl 0x40536a
mov byte [esp + 0x1170], 0
mov dword [esp + 0x44], esi
jmp 0x404e5c
cmp dword [esp + 0x1184], esi
jne 0x404ffa
cmp dword [esp + 0x30], esi
je 0x404ffa
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x20006
push esi
push esi
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40537e
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x164]
push ecx
push ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, esi
je 0x404fe7
cmp eax, 2
jne 0x40537e
cmp ebx, esi
je 0x404ff6
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x18]
call fcn.00404860
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
jmp 0x404ea6
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x405038
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x5c
je 0x405030
push eax
call ebx
mov cl, byte [eax]
test cl, cl
jne 0x405020
jmp 0x405038
cmp eax, esi
jne 0x40534c
cmp dword [esp + 0x1180], esi
je 0x405151
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x2001f
push esi
push edi
push ebx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40508b
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x405075
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
cmp eax, esi
je 0x405113
jmp 0x40508f
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push edi
push ebx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4050c7
xor eax, eax
cmp ebp, esi
je 0x4050b7
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
cmp eax, esi
je 0x405113
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push edi
push ebx
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
cmp ebx, esi
jne 0x405390
xor eax, eax
cmp ebp, esi
je 0x4050fd
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
cmp eax, esi
jne 0x405390
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
cmp byte [edi], 0x3d
jne 0x404e5c
push esi
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.004042f0
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
jmp 0x404e5c
cmp dword [esp + 0x1184], esi
jne 0x405272
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push edi
push ecx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40519a
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x40518e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp eax, esi
je 0x4051af
mov dword [esp + 0x1184], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.00451366
push eax
call fcn.004047a0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, edi
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
mov ecx, dword [esp + 0x18]
call fcn.00404860
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
cmp byte [edi], 0x7b
jne 0x405242
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x405242
mov ebx, dword [esp + 0x1184]
mov ecx, dword [esp + 0x1c]
push ebx
push esi
push ecx
mov ecx, dword [esp + 0x24]
push edi
call fcn.00404cd0
mov ebp, eax
cmp ebp, esi
jge 0x405229
cmp ebx, esi
je 0x4053c8
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404bb0
mov ebp, eax
cmp ebp, esi
jl 0x4053c8
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1184], edx
cmp ebx, 2
je 0x404ea6
xor esi, esi
cmp ebx, esi
je 0x405283
cmp edx, esi
jne 0x404ea6
mov eax, ebx
call fcn.00404ba0
mov ebp, eax
jmp 0x4053c8
mov dword [esp + 0x14], 2
mov ebx, dword [esp + 0x14]
jmp 0x4051a4
mov ebx, dword [esp + 0x1c]
cmp edx, esi
je 0x4052c3
mov ecx, ebx
call fcn.00404ab0
test eax, eax
je 0x4052c3
lea ebx, [esp + 0x5c]
call fcn.004048d0
test eax, eax
je 0x404ea6
cmp dword [esp + 0x30], 0
je 0x404ea6
mov eax, ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00404960
jmp 0x404ea6
mov ecx, ebx
call fcn.00404ab0
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], esi
cmp ebx, esi
je 0x4052e5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
cmp dword [esp + 0x14], esi
jne 0x4053a2
cmp dword [esp + 0x30], esi
je 0x404ea6
cmp dword [esp + 0x50], 0
jne 0x404ea6
mov ecx, dword [esp + 0x24]
xor ebx, ebx
lea edi, [esp + 0x5c]
lea esi, [esp + 0x48]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
call fcn.00404b40
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp eax, ebx
jne 0x4053b6
mov ecx, esi
call fcn.00404b20
mov edi, dword [esp + 0x54]
jmp 0x404ea6
lea ecx, [esp + 0x28]
call fcn.00404b20
lea ecx, [esp + 0x1c]
call fcn.00404b20
mov eax, 0x80020009
jmp 0x4053d9
lea ecx, [esp + 0x28]
call fcn.00404b20
jmp 0x4053c8
lea ecx, [esp + 0x40]
call fcn.00404b20
lea ecx, [esp + 0x1c]
call fcn.00404b20
jmp 0x4053d7
call fcn.00404ba0
lea ecx, [esp + 0x38]
mov ebp, eax
call fcn.00404b20
jmp 0x4053c8
lea ecx, [esp + 0x1c]
call fcn.00404b20
mov eax, ebx
call fcn.00404ba0
jmp 0x4053d9
lea ecx, [esp + 0x1c]
call fcn.00404b20
mov eax, dword [esp + 0x14]
call fcn.00404ba0
jmp 0x4053d9
call fcn.00404ba0
lea ecx, [esp + 0x48]
mov ebp, eax
call fcn.00404b20
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x4053d7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
mov ecx, dword [esp + 0x1168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1150]
xor ecx, esp
call fcn.004512da
add esp, 0x1160
ret 0x10