Function at 0x404dc0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x48bf66
mov eax, dword fs:[0]
push eax
mov eax, 0x1154
call fcn.00454f40
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.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x4054c9
cmp byte [edi], 0x7d
je 0x4054c7
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 0x404e83
cmp ebx, esi
je 0x404fa8
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
cmp dword [esp + 0x1180], esi
je 0x404fa8
mov cl, byte [edi]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov eax, edi
test cl, cl
je 0x404ed8
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
jmp 0x404ec0
cmp cl, 0x5c
je 0x404ed0
push eax
call ebp
mov cl, byte [eax]
test cl, cl
jne 0x404ec0
jmp 0x404ed8
cmp eax, esi
jne 0x405433
mov ebp, 0x498e6c
lea ecx, [ecx]
mov eax, dword [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x404f18
add ebp, 4
cmp ebp, 0x498e9c
jl 0x404ee0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], esi
call fcn.00404a50
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
cmp ebx, esi
je 0x404fa4
mov ebx, dword [esp + 0x18]
mov eax, edi
mov ecx, ebx
call fcn.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x40544f
mov ecx, ebx
call fcn.00404950
mov ebp, eax
cmp ebp, esi
jl 0x40544f
mov dword [esp + 0x2c], esi
cmp byte [edi], 0x7b
jne 0x404f96
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x404f96
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.00404dc0
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
mov eax, edi
mov ecx, ebx
call fcn.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x4054b6
cmp byte [edi], 0x7d
jne 0x404e50
jmp 0x4054b6
mov dword [esp + 0x2c], esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404fd1
mov ecx, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0x30], esi
call fcn.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
push 0x498a0c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405102
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x164]
call fcn.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
cmp byte [edi], 0x3d
jne 0x40543c
cmp dword [esp + 0x1180], esi
je 0x405075
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.004043e0
mov ebp, eax
cmp ebp, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
jl 0x40545a
mov byte [esp + 0x1170], 0
mov dword [esp + 0x44], esi
jmp 0x404f4c
cmp dword [esp + 0x1184], esi
jne 0x4050ea
cmp dword [esp + 0x30], esi
je 0x4050ea
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 0x40546e
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 0x4050d7
cmp eax, 2
jne 0x40546e
cmp ebx, esi
je 0x4050e6
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.00404950
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
jmp 0x404f96
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x405128
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x5c
je 0x405120
push eax
call ebx
mov cl, byte [eax]
test cl, cl
jne 0x405110
jmp 0x405128
cmp eax, esi
jne 0x40543c
cmp dword [esp + 0x1180], esi
je 0x405241
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 0x40517b
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x405165
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 0x405203
jmp 0x40517f
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 0x4051b7
xor eax, eax
cmp ebp, esi
je 0x4051a7
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 0x405203
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 0x405480
xor eax, eax
cmp ebp, esi
je 0x4051ed
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 0x405480
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
cmp byte [edi], 0x3d
jne 0x404f4c
push esi
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.004043e0
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
jmp 0x404f4c
cmp dword [esp + 0x1184], esi
jne 0x405362
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 0x40528a
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x40527e
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 0x40529f
mov dword [esp + 0x1184], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.0045003e
push eax
call fcn.00404890
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, edi
call fcn.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
mov ecx, dword [esp + 0x18]
call fcn.00404950
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
cmp byte [edi], 0x7b
jne 0x405332
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x405332
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.00404dc0
mov ebp, eax
cmp ebp, esi
jge 0x405319
cmp ebx, esi
je 0x4054b8
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00404ca0
mov ebp, eax
cmp ebp, esi
jl 0x4054b8
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1184], edx
cmp ebx, 2
je 0x404f96
xor esi, esi
cmp ebx, esi
je 0x405373
cmp edx, esi
jne 0x404f96
mov eax, ebx
call fcn.00404c90
mov ebp, eax
jmp 0x4054b8
mov dword [esp + 0x14], 2
mov ebx, dword [esp + 0x14]
jmp 0x405294
mov ebx, dword [esp + 0x1c]
cmp edx, esi
je 0x4053b3
mov ecx, ebx
call fcn.00404ba0
test eax, eax
je 0x4053b3
lea ebx, [esp + 0x5c]
call fcn.004049c0
test eax, eax
je 0x404f96
cmp dword [esp + 0x30], 0
je 0x404f96
mov eax, ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00404a50
jmp 0x404f96
mov ecx, ebx
call fcn.00404ba0
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], esi
cmp ebx, esi
je 0x4053d5
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 0x405492
cmp dword [esp + 0x30], esi
je 0x404f96
cmp dword [esp + 0x50], 0
jne 0x404f96
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.00404c30
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp eax, ebx
jne 0x4054a6
mov ecx, esi
call fcn.00404c10
mov edi, dword [esp + 0x54]
jmp 0x404f96
lea ecx, [esp + 0x28]
call fcn.00404c10
lea ecx, [esp + 0x1c]
call fcn.00404c10
mov eax, 0x80020009
jmp 0x4054c9
lea ecx, [esp + 0x28]
call fcn.00404c10
jmp 0x4054b8
lea ecx, [esp + 0x40]
call fcn.00404c10
lea ecx, [esp + 0x1c]
call fcn.00404c10
jmp 0x4054c7
call fcn.00404c90
lea ecx, [esp + 0x38]
mov ebp, eax
call fcn.00404c10
jmp 0x4054b8
lea ecx, [esp + 0x1c]
call fcn.00404c10
mov eax, ebx
call fcn.00404c90
jmp 0x4054c9
lea ecx, [esp + 0x1c]
call fcn.00404c10
mov eax, dword [esp + 0x14]
call fcn.00404c90
jmp 0x4054c9
call fcn.00404c90
lea ecx, [esp + 0x48]
mov ebp, eax
call fcn.00404c10
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x4054c7
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.0044ffb2
add esp, 0x1160
ret 0x10