Function at 0x409f5d
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49de03
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.00458750
mov eax, dword [0x4c3360]
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, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2224], esi
mov dword [ebp - 0x2220], esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2254], eax
mov eax, ebx
mov dword [ebp - 4], esi
call fcn.00409e47
mov edi, eax
cmp edi, esi
jmp 0x40a4fd
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x4af458
push ebx
mov dword [ebp - 0x222c], 1
call edi
mov esi, eax
neg esi
push 0x4af47c
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x409ffe
test esi, esi
je 0x40a0c1
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.00409e47
mov edi, eax
xor eax, eax
cmp edi, eax
jl 0x40a567
cmp dword [ebp + 0x10], eax
je 0x40a0c1
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], eax
push 0x5c
mov eax, ebx
call fcn.00409771
pop ecx
test eax, eax
jne 0x40a50b
push ebx
call fcn.00409c7e
test eax, eax
je 0x40a074
mov eax, dword [ebp - 0x2228]
xor edi, edi
push ebx
lea ecx, [ebp - 0x2234]
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], edi
call fcn.00409caa
mov dword [ebp - 0x2234], edi
mov dword [ebp - 0x2230], edi
test esi, esi
je 0x40a0b6
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.00409e47
mov edi, eax
test edi, edi
jl 0x40a51d
mov ecx, dword [ebp - 0x221c]
mov edi, ebx
call fcn.00409c19
lea ecx, [ebp - 0x2234]
mov edi, eax
call fcn.00404045
test edi, edi
jl 0x40a567
jmp 0x40a4b7
lea ecx, [ebp - 0x2234]
call fcn.00404045
push 0x4af468
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40a0ee
and dword [ebp - 0x222c], eax
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.00409e47
mov edi, eax
test edi, edi
jl 0x40a567
push 0x4af494
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40a20e
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
call fcn.00409e47
mov edi, eax
xor esi, esi
cmp edi, esi
jl 0x40a567
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.00409e47
mov edi, eax
cmp edi, esi
jl 0x40a567
cmp word [ebx], 0x3d
jne 0x40a516
cmp dword [ebp + 0x10], esi
je 0x40a199
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x223c], eax
push ebx
lea eax, [ebp - 0x2218]
push eax
lea edx, [ebp - 0x223c]
mov dword [ebp - 0x2238], esi
call fcn.004098b8
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
lea ecx, [ebp - 0x223c]
jl 0x40a562
mov byte [ebp - 4], 0
jmp 0x40a4b2
cmp dword [ebp + 0x14], esi
jne 0x40a1fc
cmp dword [ebp - 0x222c], esi
je 0x40a1fc
push 0x20006
push esi
push dword [ebp - 0x2228]
lea ecx, [ebp - 0x224c]
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2248], esi
call fcn.00404004
cmp eax, esi
jne 0x40a525
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x224c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x40a1f1
cmp eax, 2
jne 0x40a525
lea ecx, [ebp - 0x224c]
call fcn.00404045
mov ecx, dword [ebp - 0x221c]
mov edi, ebx
call fcn.00409c19
jmp 0x409fc2
push 0x5c
mov eax, ebx
call fcn.00409771
pop ecx
test eax, eax
jne 0x40a516
cmp dword [ebp + 0x10], eax
je 0x40a2f5
mov edi, 0x2001f
push edi
push ebx
push dword [ebp - 0x2228]
lea ecx, [ebp - 0x2224]
call fcn.00404004
test eax, eax
je 0x40a2b9
push 0x20019
push ebx
push dword [ebp - 0x2228]
lea ecx, [ebp - 0x2224]
call fcn.00404004
test eax, eax
je 0x40a2b9
lea eax, [ebp - 0x2258]
push eax
xor esi, esi
lea eax, [ebp - 0x222c]
push eax
push esi
push edi
push esi
push esi
push esi
push ebx
push dword [ebp - 0x2228]
mov dword [ebp - 0x222c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x40a532
lea ecx, [ebp - 0x2224]
call fcn.00404045
mov edi, eax
mov eax, dword [ebp - 0x222c]
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2220], esi
cmp edi, esi
jne 0x40a532
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.00409e47
mov edi, eax
test edi, edi
jl 0x40a567
cmp word [ebx], 0x3d
jne 0x40a4b7
mov ecx, dword [ebp - 0x221c]
push ebx
push 0
lea edx, [ebp - 0x2224]
call fcn.004098b8
mov edi, eax
jmp 0x40a0a9
cmp dword [ebp + 0x14], 0
jne 0x40a316
push 0x20019
push ebx
push dword [ebp - 0x2228]
lea ecx, [ebp - 0x2224]
call fcn.00404004
mov esi, eax
jmp 0x40a319
push 2
pop esi
test esi, esi
je 0x40a324
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00450ac4
push eax
call fcn.0040463b
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
mov eax, ebx
call fcn.00409e47
mov edi, eax
test edi, edi
jl 0x40a567
mov ecx, dword [ebp - 0x221c]
mov edi, ebx
call fcn.00409c19
mov edi, eax
test edi, edi
jl 0x40a567
cmp word [ebx], 0x7b
jne 0x40a3bf
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40a3bf
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp - 0x2224]
push ebx
call fcn.00409f5d
mov edi, eax
test edi, edi
jge 0x40a3a8
cmp dword [ebp + 0x14], 0
je 0x40a567
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.00409e47
mov edi, eax
test edi, edi
jl 0x40a567
mov eax, dword [ebp - 0x2254]
mov dword [ebp + 0x14], eax
cmp esi, 2
je 0x40a4ff
test esi, esi
je 0x40a3eb
test eax, eax
jne 0x40a4ff
mov eax, esi
call fcn.00409e18
mov edi, eax
jmp 0x40a567
test eax, eax
je 0x40a436
push dword [ebp - 0x2224]
call fcn.00409d8c
test eax, eax
je 0x40a436
lea eax, [ebp - 0x218]
push eax
call fcn.00409c7e
test eax, eax
je 0x40a4ff
cmp dword [ebp - 0x222c], 0
je 0x40a4ff
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2224]
call fcn.00409caa
jmp 0x40a4ff
push dword [ebp - 0x2224]
call fcn.00409d8c
lea ecx, [ebp - 0x2224]
mov dword [ebp - 0x2250], eax
call fcn.00404045
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x40a546
cmp dword [ebp - 0x222c], eax
je 0x40a4ff
cmp dword [ebp - 0x2250], eax
jne 0x40a4ff
mov ecx, dword [ebp - 0x2228]
mov dword [ebp - 0x2240], eax
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x2244]
mov dword [ebp - 0x2244], ecx
call fcn.00409dc1
and dword [ebp - 0x2244], 0
and dword [ebp - 0x2240], 0
test eax, eax
jne 0x40a555
mov ecx, esi
call fcn.00404045
cmp dword [ebp + 0x10], 0
je 0x40a4ff
cmp word [ebx], 0x7b
jne 0x40a4ff
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40a4ff
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2224]
push ebx
call fcn.00409f5d
mov edi, eax
test edi, edi
jl 0x40a567
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.00409e47
mov edi, eax
test edi, edi
jl 0x40a567
cmp word [ebx], 0x7d
jne 0x409fcb
jmp 0x40a567
lea ecx, [ebp - 0x2234]
call fcn.00404045
mov edi, 0x80020009
jmp 0x40a567
lea ecx, [ebp - 0x2234]
jmp 0x40a562
call fcn.00409e18
lea ecx, [ebp - 0x224c]
jmp 0x40a560
lea ecx, [ebp - 0x2224]
call fcn.00404045
mov eax, edi
call fcn.00409e18
jmp 0x40a574
lea ecx, [ebp - 0x2224]
call fcn.00404045
mov eax, esi
jmp 0x40a53f
call fcn.00409e18
lea ecx, [ebp - 0x2244]
mov edi, eax
call fcn.00404045
lea ecx, [ebp - 0x2224]
call fcn.00404045
mov eax, edi
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.0044fc8e
leave
ret 0x10