Function at 0x4133d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42e0f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x225c
call fcn.004251b0
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, esi
mov edi, ecx
mov dword [esp + 0x2274], ebx
call fcn.00413230
mov edi, eax
cmp edi, ebx
jl 0x4139d3
cmp word [esi], 0x7d
je 0x4139d1
lea esp, [esp]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push esi
mov dword [esp + 0x2c], 1
call edi
neg eax
push str.ForceRemove
sbb ebx, ebx
push esi
inc ebx
call edi
test eax, eax
je 0x41346f
test ebx, ebx
je 0x4135a7
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.00413230
mov edi, eax
test edi, edi
js 0x4139c2
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x4135a7
movzx ecx, word [esi]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov eax, esi
cmp cx, dx
je 0x4134c4
cmp cx, 0x5c
je 0x4134bc
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x4134a5
jmp 0x4134c4
test eax, eax
jne 0x41398b
mov edi, 0x435720
lea esp, [esp]
mov ecx, dword [edi]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x413512
add edi, 4
cmp edi, 0x435750
jl 0x4134d0
mov edx, dword [ebp + 0xc]
xor edi, edi
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00413030
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
jmp 0x413514
xor edi, edi
cmp ebx, edi
je 0x4135a3
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.00413230
mov edi, eax
test edi, edi
js 0x4139b9
mov ecx, dword [esp + 0x10]
mov ebx, esi
call fcn.00412f90
mov edi, eax
test edi, edi
js 0x4139b9
mov dword [esp + 0x2c], 0
cmp word [esi], 0x7b
jne 0x413594
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x413594
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push 0
push ecx
push edx
push esi
mov ecx, ebx
call fcn.004133d0
mov edi, eax
test edi, edi
js 0x4139c2
mov eax, esi
mov edi, ebx
call fcn.00413230
mov edi, eax
test edi, edi
js 0x4139c2
cmp word [esi], 0x7d
jne 0x413440
jmp 0x4139c2
mov dword [esp + 0x2c], edi
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4135d0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, esi
call fcn.00413230
mov edi, eax
test edi, edi
js 0x4139c2
push 0x4353a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4136f0
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x268]
mov edi, ebx
call fcn.00413230
mov edi, eax
test edi, edi
js 0x4139c2
mov eax, esi
mov edi, ebx
call fcn.00413230
mov edi, eax
xor eax, eax
cmp edi, eax
jl 0x4139c2
cmp word [esi], 0x3d
jne 0x413994
cmp dword [ebp + 0x10], eax
je 0x413677
mov ecx, dword [ebp + 0xc]
mov byte [esp + 0x2274], 1
push esi
lea edx, [esp + 0x26c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push edx
lea eax, [esp + 0x40]
push eax
push ebx
mov dword [esp + 0x48], ecx
call fcn.00412ad0
mov edi, eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
cmp edi, eax
jl 0x4139ea
mov byte [esp + 0x2274], al
mov dword [esp + 0x3c], eax
jmp 0x41354e
cmp dword [ebp + 0x14], eax
jne 0x4136e0
cmp dword [esp + 0x24], eax
je 0x4136e0
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ecx
lea edx, [esp + 0x54]
push edx
mov edi, 0x20006
xor ebx, ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call fcn.004089d0
cmp eax, ebx
jne 0x4139fe
mov edi, dword [esp + 0x50]
lea eax, [esp + 0x268]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x4136cd
cmp eax, 2
jne 0x4139fe
cmp edi, ebx
je 0x4136dc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x10]
mov ebx, esi
call fcn.00412f90
jmp 0x41358a
movzx ecx, word [esi]
mov eax, esi
test cx, cx
je 0x41371f
lea ebx, [ebx]
cmp cx, 0x5c
je 0x413717
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x413700
jmp 0x41371f
test eax, eax
jne 0x413994
cmp dword [ebp + 0x10], 0
je 0x4137b0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edi, 0x2001f
mov ebx, esi
call fcn.004089d0
test eax, eax
je 0x413772
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, 0x20019
call fcn.004089d0
test eax, eax
je 0x413772
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x18]
push edx
mov eax, esi
call fcn.00412910
mov edi, eax
test edi, edi
jne 0x413a0b
mov ebx, dword [esp + 0x10]
mov eax, esi
mov edi, ebx
call fcn.00413230
mov edi, eax
test edi, edi
js 0x4139c2
cmp word [esi], 0x3d
jne 0x41354e
push esi
push 0
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00412ad0
mov edi, eax
test edi, edi
js 0x4139c2
jmp 0x41354e
cmp dword [ebp + 0x14], 0
jne 0x413806
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edi, 0x20019
mov ebx, esi
call fcn.004089d0
mov dword [esp + 0x14], eax
test eax, eax
je 0x4137da
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.00416f91
add esp, 0x10
cmp eax, 0x50
ja case.0x4137ff.103
movzx ecx, byte [eax + 0x413a98]
jmp dword [ecx*4 + 0x413a88]
mov dword [esp + 0x14], 2
jmp 0x4137d3
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.00413230
mov edi, eax
test edi, edi
js 0x4139c2
mov ecx, dword [esp + 0x10]
mov ebx, esi
call fcn.00412f90
mov edi, eax
test edi, edi
js 0x4139c2
cmp word [esi], 0x7b
jne 0x413886
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x413886
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push edx
push 0
push eax
push esi
mov ecx, ebx
call fcn.004133d0
mov edi, eax
test edi, edi
jns 0x413873
cmp dword [ebp + 0x14], 0
je 0x4139c2
mov eax, esi
mov edi, ebx
call fcn.00413230
mov edi, eax
test edi, edi
js 0x4139c2
cmp dword [esp + 0x14], 2
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0x14], ecx
je 0x413594
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4138b4
test ecx, ecx
jne 0x413594
call fcn.004131f0
mov edi, eax
jmp 0x4139c2
mov ebx, dword [esp + 0x18]
test ecx, ecx
je 0x4138f4
mov ecx, ebx
call fcn.00413140
test eax, eax
je 0x4138f4
lea ebx, [esp + 0x60]
call fcn.00412ff0
test eax, eax
je 0x413594
cmp dword [esp + 0x24], 0
je 0x413594
mov edx, ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.00413030
jmp 0x413594
mov ecx, ebx
call fcn.00413140
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x41391e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
test ebx, ebx
jne 0x413a46
cmp dword [esp + 0x24], ebx
je 0x413594
cmp dword [esp + 0x5c], ebx
jne 0x413594
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea ebx, [esp + 0x60]
lea eax, [esp + 0x44]
call fcn.00413180
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
cmp eax, ecx
jne 0x413a6d
lea esi, [esp + 0x44]
call fcn.004089b0
mov esi, dword [ebp + 8]
jmp 0x413594
lea esi, [esp + 0x28]
call fcn.004089b0
lea esi, [esp + 0x18]
call fcn.004089b0
mov eax, 0x80020009
mov ecx, dword [esp + 0x226c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x28]
call fcn.004089b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4139d1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x226c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x38]
call fcn.004089b0
lea esi, [esp + 0x18]
call fcn.004089b0
jmp 0x4139d1
call fcn.004131f0
mov edi, eax
lea esi, [esp + 0x50]
jmp 0x4139bd
lea esi, [esp + 0x18]
call fcn.004089b0
mov eax, edi
call fcn.004131f0
mov ecx, dword [esp + 0x226c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00408a80
push 0x80070057
call fcn.00408a80
lea esi, [esp + 0x18]
call fcn.004089b0
mov eax, ebx
call fcn.004131f0
mov ecx, dword [esp + 0x226c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.004131f0
mov edi, eax
lea esi, [esp + 0x44]
jmp 0x4139bd
push 0x80004005
call fcn.00408a80
nop
adc byte [eax], bh
inc ecx
add byte [edx], dh
cmp al, byte [ecx]
cmp al, 0x3a
inc ecx
add byte [ebp + 0x3a], bh
inc ecx
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3