Function at 0x4095cf
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e3b25
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00476090
mov eax, dword [0x52e030]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x52e030]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2280], edi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x60], eax
jmp 0x409b89
or dword [esp + 0x2280], 0xffffffff
lea esi, [esp + 0x20]
call fcn.0040827b
mov eax, ebx
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.00475360
mov esp, ebp
pop ebp
ret 0x10
push 0x505a24
push esi
mov dword [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb ebx, ebx
push 0x5059f0
inc ebx
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4096b5
cmp ebx, edi
je 0x409782
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.00408d12
mov ebx, eax
cmp ebx, edi
jl 0x409647
cmp dword [ebp + 0x10], edi
je 0x409782
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x2280], 1
push 0x5c
mov eax, esi
call fcn.00408c9b
pop ecx
test eax, eax
jne 0x409b9f
push esi
call fcn.0040918a
test eax, eax
je 0x409725
mov eax, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.004083d3
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
cmp dword [esp + 0x18], edi
je 0x40976d
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.00408d12
mov ebx, eax
cmp ebx, edi
jl 0x409bba
mov ecx, dword [esp + 0x10]
call fcn.004091ee
mov ebx, eax
cmp ebx, edi
jl 0x409bba
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x2c]
call fcn.0040827b
mov esi, dword [esp + 0x14]
jmp 0x409b46
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x2c]
call fcn.0040827b
mov esi, dword [esp + 0x14]
push 0x505a0c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4097ab
mov ecx, dword [esp + 0x10]
mov eax, esi
mov dword [esp + 0x38], edi
call fcn.00408d12
mov ebx, eax
cmp ebx, edi
jl 0x409647
push 0x5059e4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4098f4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x26c]
call fcn.00408d12
mov ebx, eax
cmp ebx, edi
jl 0x409647
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.00408d12
mov ebx, eax
cmp ebx, edi
jl 0x409647
cmp word [esi], 0x3d
jne 0x409bb0
cmp dword [ebp + 0x10], edi
je 0x40985e
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0x2280], 2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
push esi
lea eax, [esp + 0x270]
push eax
lea edx, [esp + 0x44]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.00408e30
mov ebx, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
cmp ebx, edi
jl 0x409bc8
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x3c]
jmp 0x40975f
cmp dword [ebp + 0x14], edi
jne 0x4098ce
cmp dword [esp + 0x38], edi
je 0x4098ce
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov byte [esp + 0x2280], 3
push edi
push dword [esp + 0x20]
mov eax, 0x20006
lea ebx, [esp + 0x5c]
call fcn.004082e9
test eax, eax
jne 0x409bde
lea eax, [esp + 0x26c]
push eax
push dword [esp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4098b7
cmp eax, 2
jne 0x409bde
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x54]
call fcn.0040827b
mov esi, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [esp + 0x10]
call fcn.004091ee
mov ebx, eax
cmp ebx, edi
jl 0x409647
mov esi, dword [esp + 0x14]
cmp word [esi], 0x7d
jne 0x409680
jmp 0x409647
push 0x5c
mov eax, esi
call fcn.00408c9b
pop ecx
test eax, eax
jne 0x409bb0
cmp dword [ebp + 0x10], edi
je 0x409987
push esi
push dword [esp + 0x20]
mov eax, 0x2001f
lea ebx, [esp + 0x28]
call fcn.004082e9
test eax, eax
je 0x409949
push esi
push dword [esp + 0x20]
mov eax, 0x20019
call fcn.004082e9
test eax, eax
je 0x409949
push esi
push dword [esp + 0x20]
mov eax, ebx
call fcn.00408292
test eax, eax
jne 0x409a70
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.00408d12
mov ebx, eax
test ebx, ebx
js 0x409647
cmp word [esi], 0x3d
jne 0x409b44
mov ecx, dword [esp + 0x10]
push esi
push 0
lea edx, [esp + 0x28]
call fcn.00408e30
mov ebx, eax
test ebx, ebx
js 0x409647
jmp 0x409b44
cmp dword [ebp + 0x14], edi
jne 0x4099a7
push esi
push dword [esp + 0x20]
mov eax, 0x20019
lea ebx, [esp + 0x28]
call fcn.004082e9
mov dword [esp + 0x18], eax
xor edi, edi
jmp 0x4099af
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], edi
je 0x4099bc
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x6c]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
push eax
call fcn.00407a2f
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, esi
call fcn.00408d12
mov ebx, eax
cmp ebx, edi
jl 0x409647
mov ecx, dword [esp + 0x10]
call fcn.004091ee
mov ebx, eax
cmp ebx, edi
jl 0x409647
mov esi, dword [esp + 0x14]
cmp word [esi], 0x7b
jne 0x409a4c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x409a4c
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push edi
push dword [esp + 0x28]
push esi
call fcn.004095cf
mov ebx, eax
cmp ebx, edi
jge 0x409a37
cmp dword [ebp + 0x14], edi
je 0x409647
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.00408d12
mov ebx, eax
cmp ebx, edi
jl 0x409647
cmp dword [esp + 0x18], 2
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x14], eax
je 0x4098e5
cmp dword [esp + 0x18], edi
je 0x409a7c
cmp eax, edi
jne 0x4098e5
mov eax, dword [esp + 0x18]
call fcn.00407b45
mov ebx, eax
jmp 0x409647
cmp eax, edi
je 0x409abc
push dword [esp + 0x20]
call fcn.004091b9
test eax, eax
je 0x409abc
lea eax, [esp + 0x64]
push eax
call fcn.0040918a
test eax, eax
je 0x4098e5
cmp dword [esp + 0x38], edi
je 0x4098e5
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
call fcn.004083d3
jmp 0x4098e5
push dword [esp + 0x20]
call fcn.004091b9
lea esi, [esp + 0x20]
mov dword [esp + 0x18], eax
call fcn.0040827b
cmp eax, edi
jne 0x409a70
cmp dword [esp + 0x38], edi
je 0x4098e1
cmp dword [esp + 0x18], edi
jne 0x4098e1
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov byte [esp + 0x2280], 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
push eax
lea edi, [esp + 0x4c]
call fcn.004081fb
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
cmp eax, ecx
jne 0x409bf3
mov byte [esp + 0x2280], cl
mov esi, edi
call fcn.0040827b
mov esi, dword [esp + 0x14]
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x4098e5
cmp word [esi], 0x7b
jne 0x4098e5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4098e5
mov ecx, dword [esp + 0x10]
push edi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push esi
call fcn.004095cf
mov ebx, eax
cmp ebx, edi
jl 0x409647
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.00408d12
mov ebx, eax
cmp ebx, edi
jl 0x409647
jmp 0x4098e5
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x2c]
call fcn.0040827b
mov ebx, 0x80020009
jmp 0x409647
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x2c]
jmp 0x409bd4
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x3c]
call fcn.0040827b
jmp 0x409647
call fcn.00407b45
mov ebx, eax
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x54]
jmp 0x409bd4
call fcn.00407b45
mov ebx, eax
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x48]
jmp 0x409bd4