Function at 0x415a55
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1164
call fcn.00431ab0
mov eax, dword [0x434014]
xor eax, esp
mov dword [esp + 0x1160], eax
push ebx
push esi
mov eax, ecx
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
and dword [esp + 0x14], ebx
and dword [esp + 0x18], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
call fcn.0041592e
mov esi, eax
test esi, esi
js 0x415fbe
jmp 0x415f78
push 0x40c860
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
push 0x40c868
sbb esi, esi
inc esi
push edi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x415ae0
test esi, esi
je 0x415b7e
mov ecx, dword [esp + 0xc]
push edi
call fcn.0041592e
mov esi, eax
test esi, esi
js 0x415fb3
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x415b80
mov dl, 0x5c
mov dword [esp + 0x38], esi
mov ecx, edi
mov dword [esp + 0x40], esi
call fcn.00414ef2
test eax, eax
jne 0x415fae
push edi
call fcn.00415628
test eax, eax
je 0x415b40
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x38]
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
call fcn.00415716
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
cmp dword [esp + 0x24], esi
je 0x415b78
mov ecx, dword [esp + 0xc]
push edi
call fcn.0041592e
mov esi, eax
test esi, esi
js 0x415fb3
mov ecx, dword [esp + 0xc]
push edi
call fcn.004155c4
mov esi, eax
test esi, esi
js 0x415fb3
and dword [esp + 0x3c], 0
jmp 0x415dab
mov dword [esp + 0x3c], esi
jmp 0x415b80
xor esi, esi
push 0x40c874
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x415ba8
mov ecx, dword [esp + 0xc]
push edi
mov dword [esp + 0x14], esi
call fcn.0041592e
mov esi, eax
test esi, esi
js 0x415fb3
push 0x40c880
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x415cc4
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x168]
push eax
call fcn.0041592e
mov esi, eax
test esi, esi
js 0x415fb3
mov ecx, dword [esp + 0xc]
push edi
call fcn.0041592e
mov esi, eax
test esi, esi
js 0x415fb3
cmp byte [edi], 0x3d
jne 0x415fae
cmp dword [ebp + 0x10], 0
je 0x415c40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
and dword [esp + 0x48], 0
and dword [esp + 0x4c], 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x168]
push edi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0041518e
mov esi, eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
test esi, esi
js 0x415fb3
mov dword [esp + 0x48], eax
jmp 0x415dab
cmp dword [ebp + 0x14], 0
jne 0x415cab
cmp dword [esp + 0x10], 0
je 0x415cab
xor eax, eax
lea ecx, [esp + 0x2c]
push 0x20006
push eax
push dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.004156ba
test eax, eax
jne 0x415f83
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x168]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x415c96
cmp eax, 2
jne 0x415f83
test esi, esi
je 0x415ca6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [esp + 0x2c], 0
and dword [esp + 0x30], 0
mov ecx, dword [esp + 0xc]
push edi
call fcn.004155c4
mov esi, eax
test esi, esi
js 0x415fb3
jmp 0x415f78
mov dl, 0x5c
mov ecx, edi
call fcn.00414ef2
test eax, eax
jne 0x415fae
cmp dword [ebp + 0x10], eax
je 0x415df4
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push 0x2001f
push edi
push ebx
call fcn.004156ba
test eax, eax
je 0x415d6f
push 0x20019
push edi
push ebx
lea ecx, [esp + 0x20]
call fcn.004156ba
test eax, eax
je 0x415d6f
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
xor esi, esi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
test ecx, ecx
je 0x415d2e
sub esp, 0x14
push edi
push ebx
call fcn.00414f1a
jmp 0x415d3f
push esi
push 0x2001f
push esi
push esi
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x415f9f
mov eax, esi
cmp dword [esp + 0x14], eax
je 0x415d59
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
test eax, eax
jne 0x415fa3
jmp 0x415d73
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push edi
call fcn.0041592e
mov esi, eax
test esi, esi
js 0x415fb3
cmp byte [edi], 0x3d
jne 0x415dab
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edi
push 0
push eax
call fcn.0041518e
mov ebx, dword [esp + 0x14]
mov esi, eax
test esi, esi
js 0x415fb3
cmp byte [edi], 0x7b
jne 0x415f78
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415db9
sub ecx, edx
cmp ecx, 1
jne 0x415f78
mov ecx, dword [esp + 0xc]
push 0
push dword [ebp + 0x10]
push ebx
push edi
call fcn.00415a55
mov esi, eax
test esi, esi
js 0x415fb3
mov ecx, dword [esp + 0xc]
push edi
call fcn.0041592e
jmp 0x415cb5
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x415e20
push 0x20019
push edi
push dword [esp + 0x28]
lea ecx, [esp + 0x20]
call fcn.004156ba
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
test eax, eax
jne 0x415e28
jmp 0x415e30
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.0041df5c
add esp, 0x10
mov ecx, eax
call fcn.0041682e
mov ecx, dword [esp + 0xc]
push edi
call fcn.0041592e
mov esi, eax
test esi, esi
js 0x415fb3
mov ecx, dword [esp + 0xc]
push edi
call fcn.004155c4
mov esi, eax
test esi, esi
js 0x415fb3
cmp byte [edi], 0x7b
jne 0x415ec2
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415e7e
sub ecx, edx
cmp ecx, 1
jne 0x415ec2
push dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push 0
push ebx
push edi
call fcn.00415a55
mov esi, eax
test esi, esi
jns 0x415eae
cmp dword [esp + 0x28], 0
je 0x415fb3
mov ecx, dword [esp + 0xc]
push edi
call fcn.0041592e
mov esi, eax
test esi, esi
js 0x415fb3
mov eax, dword [esp + 0x24]
cmp eax, 2
je 0x415f78
test eax, eax
je 0x415ee2
cmp dword [ebp + 0x14], 0
je 0x415fa3
jmp 0x415f78
cmp dword [ebp + 0x14], 0
je 0x415f1b
push ebx
call fcn.00415804
test eax, eax
je 0x415f1b
lea eax, [esp + 0x60]
push eax
call fcn.00415628
test eax, eax
je 0x415f78
cmp dword [esp + 0x10], 0
je 0x415f78
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.00415716
mov ebx, dword [esp + 0x14]
jmp 0x415f78
push ebx
call fcn.00415804
mov ecx, eax
xor eax, eax
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x415f3e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x14], ebx
and dword [esp + 0x18], 0
test eax, eax
jne 0x415fa3
cmp dword [esp + 0x10], eax
je 0x415f78
test ecx, ecx
jne 0x415f78
mov eax, dword [esp + 0x20]
and dword [esp + 0x58], ecx
and dword [esp + 0x5c], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x60]
push eax
call fcn.004158a5
and dword [esp + 0x54], 0
test eax, eax
jne 0x415fa3
cmp byte [edi], 0x7d
jne 0x415aab
jmp 0x415fb3
mov ecx, eax
call fcn.0041591e
cmp dword [esp + 0x2c], 0
mov esi, eax
je 0x415fb3
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x415fb3
mov ebx, dword [esp + 0x14]
mov ecx, eax
call fcn.0041591e
mov esi, eax
jmp 0x415fb3
mov esi, 0x80020009
test ebx, ebx
je 0x415fbe
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x116c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00418af8
mov esp, ebp
pop ebp
ret 0x10