Function at 0x4139a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4514e7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00440240
mov eax, dword [0x46b664]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x46b664]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2280], esi
mov edx, dword [ebp + 0x14]
mov eax, ebx
mov edi, ecx
mov dword [esp + 0x54], edx
call fcn.004137f0
mov edi, eax
cmp edi, esi
jge 0x413a2e
mov dword [esp + 0x2280], 0xffffffff
jmp 0x414083
cmp word [ebx], 0x7d
je 0x414061
jmp 0x413a40
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [esp + 0x30], 1
call edi
neg eax
push str.ForceRemove
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x413a6f
test esi, esi
je 0x413bba
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.004137f0
mov edi, eax
test edi, edi
js 0x414061
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x413bba
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov byte [esp + 0x2280], 1
movzx ecx, word [ebx]
mov eax, ebx
cmp cx, dx
je 0x413ace
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x413ac6
push eax
call edi
movzx ecx, word [eax]
test cx, cx
jne 0x413ab3
jmp 0x413ace
test eax, eax
jne 0x414024
mov edi, 0x45cec8
mov eax, dword [edi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x413b14
add edi, 4
cmp edi, 0x45cef8
jl 0x413ad3
mov ecx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x30], ecx
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00413470
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
test esi, esi
je 0x413baa
mov esi, dword [esp + 0x14]
mov eax, ebx
mov edi, esi
call fcn.004137f0
mov edi, eax
test edi, edi
js 0x414050
push ebx
mov ecx, esi
call fcn.004132e0
mov edi, eax
test edi, edi
js 0x414050
mov byte [esp + 0x2280], 0
mov dword [esp + 0x34], 0
cmp word [ebx], 0x7b
jne 0x413b9b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x413b9b
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push edx
push eax
push ebx
call fcn.004139a0
mov edi, eax
test edi, edi
js 0x414061
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.004137f0
mov edi, eax
test edi, edi
js 0x414061
cmp word [ebx], 0x7d
jne 0x413a40
jmp 0x414061
mov byte [esp + 0x2280], 0
mov dword [esp + 0x34], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x413be3
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebx
call fcn.004137f0
mov edi, eax
test edi, edi
js 0x414061
push 0x45cd10
push ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x413d2c
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x26c]
call fcn.004137f0
mov edi, eax
test edi, edi
js 0x414061
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.004137f0
mov edi, eax
test edi, edi
js 0x414061
cmp word [ebx], 0x3d
jne 0x414035
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x413c9c
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov byte [esp + 0x2280], 2
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.00412d70
mov edi, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp edi, esi
jl 0x4140ad
mov byte [esp + 0x2280], 0
mov dword [esp + 0x4c], esi
jmp 0x413b55
cmp dword [ebp + 0x14], esi
jne 0x413d13
cmp dword [esp + 0x28], esi
je 0x413d13
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov byte [esp + 0x2280], 3
mov ecx, dword [esp + 0x24]
push 0x20006
lea edx, [esp + 0x5c]
push edx
xor eax, eax
call fcn.00413400
cmp eax, esi
jne 0x4140d6
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x26c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x413cf8
cmp eax, 2
jne 0x4140d6
mov byte [esp + 0x2280], 0
cmp edi, esi
je 0x413d0f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov ecx, dword [esp + 0x14]
push ebx
call fcn.004132e0
mov edi, eax
cmp edi, esi
jl 0x414061
jmp 0x413b9b
movzx ecx, word [ebx]
mov eax, ebx
cmp cx, di
je 0x413d55
cmp cx, 0x5c
je 0x413d4d
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, di
jne 0x413d36
jmp 0x413d55
cmp eax, edi
jne 0x414035
cmp dword [ebp + 0x10], edi
je 0x413e39
mov dword [esp + 0x28], edi
cmp dword [esp + 0x20], edi
je 0x413d88
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push 0x2001f
push ebx
push ecx
lea edi, [esp + 0x34]
call fcn.00413390
mov esi, dword [esp + 0x24]
xor edi, edi
jmp 0x413d9f
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
push 0x2001f
push edi
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x413dcc
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, edi
je 0x413db8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x413df9
push 0x20019
lea edx, [esp + 0x1c]
push edx
mov eax, ebx
mov ecx, esi
call fcn.00413400
cmp eax, edi
je 0x413df9
lea eax, [esp + 0x18]
push eax
mov eax, ebx
mov ecx, esi
call fcn.00412b60
cmp eax, edi
jne 0x4140ee
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.004137f0
mov edi, eax
test edi, edi
js 0x414061
cmp word [ebx], 0x3d
jne 0x413b55
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.00412d70
mov edi, eax
test edi, edi
js 0x414061
jmp 0x413b55
cmp dword [ebp + 0x14], edi
jne 0x413e90
mov ecx, dword [esp + 0x24]
push 0x20019
lea edx, [esp + 0x1c]
push edx
mov eax, ebx
call fcn.00413400
mov esi, eax
mov dword [esp + 0x2c], esi
cmp esi, edi
je 0x413e64
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.004334f8
add esp, 0x10
cmp eax, 0x50
ja case.0x413e89.107
movzx ecx, byte [eax + 0x414140]
jmp dword [ecx*4 + 0x414130]
mov dword [esp + 0x2c], 2
mov esi, dword [esp + 0x2c]
jmp 0x413e5d
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.004137f0
mov edi, eax
test edi, edi
js 0x414061
mov ecx, dword [esp + 0x14]
push ebx
call fcn.004132e0
mov edi, eax
test edi, edi
js 0x414061
cmp word [ebx], 0x7b
jne 0x413f15
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x413f15
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push edx
push ebx
call fcn.004139a0
mov edi, eax
test edi, edi
jns 0x413efc
test esi, esi
je 0x414061
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.004137f0
mov edi, eax
test edi, edi
js 0x414061
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x14], eax
cmp esi, 2
je 0x413b9b
test esi, esi
je 0x413f3f
test eax, eax
jne 0x413b9b
mov eax, esi
call fcn.004137b0
mov edi, eax
jmp 0x414061
mov esi, dword [esp + 0x18]
test eax, eax
je 0x413f82
mov ecx, esi
call fcn.00413670
test eax, eax
je 0x413f82
lea ecx, [esp + 0x64]
push ecx
call fcn.00413350
test eax, eax
je 0x413b9b
cmp dword [esp + 0x28], 0
je 0x413b9b
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x1c]
call fcn.00413470
jmp 0x413b9b
mov ecx, esi
call fcn.00413670
mov dword [esp + 0x2c], eax
xor eax, eax
test esi, esi
je 0x413fa2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x4140ee
cmp dword [esp + 0x28], eax
je 0x413b9b
cmp dword [esp + 0x2c], eax
jne 0x413b9b
xor esi, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov byte [esp + 0x2280], 4
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x64]
mov dword [esp + 0x3c], eax
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.004136e0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp eax, esi
jne 0x41410b
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x3c]
call fcn.004136c0
jmp 0x413b9b
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x30]
call fcn.004136c0
mov dword [esp + 0x2280], 0xffffffff
lea esi, [esp + 0x18]
call fcn.004136c0
mov eax, 0x80020009
jmp 0x414087
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x30]
call fcn.004136c0
mov dword [esp + 0x2280], 0xffffffff
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x414081
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], esi
mov eax, edi
mov dword [esp + 0x1c], esi
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.00431de5
mov esp, ebp
pop ebp
ret 0x10
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x48]
call fcn.004136c0
mov dword [esp + 0x2280], 0xffffffff
lea esi, [esp + 0x18]
call fcn.004136c0
mov eax, edi
jmp 0x414087
call fcn.004137b0
mov edi, eax
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x58]
jmp 0x41405c
call fcn.004137b0
mov edi, eax
jmp 0x4140be
push 0x8007000e
call fcn.0040ecf0
push 0x80070057
call fcn.0040ecf0
call fcn.004137b0
mov edi, eax
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x3c]
jmp 0x41405c
push 0x80004005
call fcn.0040ecf0
lea ecx, [ecx]
sahf
inc ecx
add bh, dh
inc eax
inc ecx
add byte [ecx], al
inc ecx
inc ecx
add byte [ebx], ah
inc ecx
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