Function at 0x404d80
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x48bc96
mov eax, dword fs:[0]
push eax
mov eax, 0x1154
call fcn.00454d40
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x1150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ada68]
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.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x405489
cmp byte [edi], 0x7d
je 0x405487
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 0x404e43
cmp ebx, esi
je 0x404f68
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x405478
cmp dword [esp + 0x1180], esi
je 0x404f68
mov cl, byte [edi]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov eax, edi
test cl, cl
je 0x404e98
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
jmp 0x404e80
cmp cl, 0x5c
je 0x404e90
push eax
call ebp
mov cl, byte [eax]
test cl, cl
jne 0x404e80
jmp 0x404e98
cmp eax, esi
jne 0x4053f3
mov ebp, 0x498e64
lea ecx, [ecx]
mov eax, dword [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x404ed8
add ebp, 4
cmp ebp, 0x498e94
jl 0x404ea0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], esi
call fcn.00404a10
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
cmp ebx, esi
je 0x404f64
mov ebx, dword [esp + 0x18]
mov eax, edi
mov ecx, ebx
call fcn.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x40540f
mov ecx, ebx
call fcn.00404910
mov ebp, eax
cmp ebp, esi
jl 0x40540f
mov dword [esp + 0x2c], esi
cmp byte [edi], 0x7b
jne 0x404f56
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x404f56
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.00404d80
mov ebp, eax
cmp ebp, esi
jl 0x405478
mov eax, edi
mov ecx, ebx
call fcn.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x405476
cmp byte [edi], 0x7d
jne 0x404e10
jmp 0x405476
mov dword [esp + 0x2c], esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404f91
mov ecx, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0x30], esi
call fcn.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x405478
push 0x498a00
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4050c2
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x164]
call fcn.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x405478
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x405478
cmp byte [edi], 0x3d
jne 0x4053fc
cmp dword [esp + 0x1180], esi
je 0x405035
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.004043a0
mov ebp, eax
cmp ebp, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
jl 0x40541a
mov byte [esp + 0x1170], 0
mov dword [esp + 0x44], esi
jmp 0x404f0c
cmp dword [esp + 0x1184], esi
jne 0x4050aa
cmp dword [esp + 0x30], esi
je 0x4050aa
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 0x40542e
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 0x405097
cmp eax, 2
jne 0x40542e
cmp ebx, esi
je 0x4050a6
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.00404910
mov ebp, eax
cmp ebp, esi
jl 0x405478
jmp 0x404f56
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x4050e8
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x5c
je 0x4050e0
push eax
call ebx
mov cl, byte [eax]
test cl, cl
jne 0x4050d0
jmp 0x4050e8
cmp eax, esi
jne 0x4053fc
cmp dword [esp + 0x1180], esi
je 0x405201
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 0x40513b
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x405125
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 0x4051c3
jmp 0x40513f
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 0x405177
xor eax, eax
cmp ebp, esi
je 0x405167
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 0x4051c3
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 0x405440
xor eax, eax
cmp ebp, esi
je 0x4051ad
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 0x405440
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x405478
cmp byte [edi], 0x3d
jne 0x404f0c
push esi
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.004043a0
mov ebp, eax
cmp ebp, esi
jl 0x405478
jmp 0x404f0c
cmp dword [esp + 0x1184], esi
jne 0x405322
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 0x40524a
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x40523e
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 0x40525f
mov dword [esp + 0x1184], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.0044fe3e
push eax
call fcn.00404850
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, edi
call fcn.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x405478
mov ecx, dword [esp + 0x18]
call fcn.00404910
mov ebp, eax
cmp ebp, esi
jl 0x405478
cmp byte [edi], 0x7b
jne 0x4052f2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x4052f2
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.00404d80
mov ebp, eax
cmp ebp, esi
jge 0x4052d9
cmp ebx, esi
je 0x405478
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404c60
mov ebp, eax
cmp ebp, esi
jl 0x405478
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1184], edx
cmp ebx, 2
je 0x404f56
xor esi, esi
cmp ebx, esi
je 0x405333
cmp edx, esi
jne 0x404f56
mov eax, ebx
call fcn.00404c50
mov ebp, eax
jmp 0x405478
mov dword [esp + 0x14], 2
mov ebx, dword [esp + 0x14]
jmp 0x405254
mov ebx, dword [esp + 0x1c]
cmp edx, esi
je 0x405373
mov ecx, ebx
call fcn.00404b60
test eax, eax
je 0x405373
lea ebx, [esp + 0x5c]
call fcn.00404980
test eax, eax
je 0x404f56
cmp dword [esp + 0x30], 0
je 0x404f56
mov eax, ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00404a10
jmp 0x404f56
mov ecx, ebx
call fcn.00404b60
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], esi
cmp ebx, esi
je 0x405395
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 0x405452
cmp dword [esp + 0x30], esi
je 0x404f56
cmp dword [esp + 0x50], 0
jne 0x404f56
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.00404bf0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp eax, ebx
jne 0x405466
mov ecx, esi
call fcn.00404bd0
mov edi, dword [esp + 0x54]
jmp 0x404f56
lea ecx, [esp + 0x28]
call fcn.00404bd0
lea ecx, [esp + 0x1c]
call fcn.00404bd0
mov eax, 0x80020009
jmp 0x405489
lea ecx, [esp + 0x28]
call fcn.00404bd0
jmp 0x405478
lea ecx, [esp + 0x40]
call fcn.00404bd0
lea ecx, [esp + 0x1c]
call fcn.00404bd0
jmp 0x405487
call fcn.00404c50
lea ecx, [esp + 0x38]
mov ebp, eax
call fcn.00404bd0
jmp 0x405478
lea ecx, [esp + 0x1c]
call fcn.00404bd0
mov eax, ebx
call fcn.00404c50
jmp 0x405489
lea ecx, [esp + 0x1c]
call fcn.00404bd0
mov eax, dword [esp + 0x14]
call fcn.00404c50
jmp 0x405489
call fcn.00404c50
lea ecx, [esp + 0x48]
mov ebp, eax
call fcn.00404bd0
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x405487
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.0044fdb2
add esp, 0x1160
ret 0x10