Function at 0x413930
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451d37
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00440ad0
mov eax, dword [0x46c664]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x46c664]
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.00413780
mov edi, eax
cmp edi, esi
jge 0x4139be
mov dword [esp + 0x2280], 0xffffffff
jmp 0x414013
cmp word [ebx], 0x7d
je 0x413ff1
jmp 0x4139d0
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 0x4139ff
test esi, esi
je 0x413b4a
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.00413780
mov edi, eax
test edi, edi
js 0x413ff1
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x413b4a
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 0x413a5e
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x413a56
push eax
call edi
movzx ecx, word [eax]
test cx, cx
jne 0x413a43
jmp 0x413a5e
test eax, eax
jne 0x413fb4
mov edi, 0x45dec8
mov eax, dword [edi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x413aa4
add edi, 4
cmp edi, 0x45def8
jl 0x413a63
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.00413400
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
test esi, esi
je 0x413b3a
mov esi, dword [esp + 0x14]
mov eax, ebx
mov edi, esi
call fcn.00413780
mov edi, eax
test edi, edi
js 0x413fe0
push ebx
mov ecx, esi
call fcn.00413270
mov edi, eax
test edi, edi
js 0x413fe0
mov byte [esp + 0x2280], 0
mov dword [esp + 0x34], 0
cmp word [ebx], 0x7b
jne 0x413b2b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x413b2b
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.00413930
mov edi, eax
test edi, edi
js 0x413ff1
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.00413780
mov edi, eax
test edi, edi
js 0x413ff1
cmp word [ebx], 0x7d
jne 0x4139d0
jmp 0x413ff1
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 0x413b73
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebx
call fcn.00413780
mov edi, eax
test edi, edi
js 0x413ff1
push 0x45dd10
push ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x413cbc
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x26c]
call fcn.00413780
mov edi, eax
test edi, edi
js 0x413ff1
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.00413780
mov edi, eax
test edi, edi
js 0x413ff1
cmp word [ebx], 0x3d
jne 0x413fc5
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x413c2c
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.00412d00
mov edi, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp edi, esi
jl 0x41403d
mov byte [esp + 0x2280], 0
mov dword [esp + 0x4c], esi
jmp 0x413ae5
cmp dword [ebp + 0x14], esi
jne 0x413ca3
cmp dword [esp + 0x28], esi
je 0x413ca3
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.00413390
cmp eax, esi
jne 0x414066
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x26c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x413c88
cmp eax, 2
jne 0x414066
mov byte [esp + 0x2280], 0
cmp edi, esi
je 0x413c9f
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.00413270
mov edi, eax
cmp edi, esi
jl 0x413ff1
jmp 0x413b2b
movzx ecx, word [ebx]
mov eax, ebx
cmp cx, di
je 0x413ce5
cmp cx, 0x5c
je 0x413cdd
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, di
jne 0x413cc6
jmp 0x413ce5
cmp eax, edi
jne 0x413fc5
cmp dword [ebp + 0x10], edi
je 0x413dc9
mov dword [esp + 0x28], edi
cmp dword [esp + 0x20], edi
je 0x413d18
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push 0x2001f
push ebx
push ecx
lea edi, [esp + 0x34]
call fcn.00413320
mov esi, dword [esp + 0x24]
xor edi, edi
jmp 0x413d2f
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 0x413d5c
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, edi
je 0x413d48
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 0x413d89
push 0x20019
lea edx, [esp + 0x1c]
push edx
mov eax, ebx
mov ecx, esi
call fcn.00413390
cmp eax, edi
je 0x413d89
lea eax, [esp + 0x18]
push eax
mov eax, ebx
mov ecx, esi
call fcn.00412ad0
cmp eax, edi
jne 0x41407e
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.00413780
mov edi, eax
test edi, edi
js 0x413ff1
cmp word [ebx], 0x3d
jne 0x413ae5
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.00412d00
mov edi, eax
test edi, edi
js 0x413ff1
jmp 0x413ae5
cmp dword [ebp + 0x14], edi
jne 0x413e20
mov ecx, dword [esp + 0x24]
push 0x20019
lea edx, [esp + 0x1c]
push edx
mov eax, ebx
call fcn.00413390
mov esi, eax
mov dword [esp + 0x2c], esi
cmp esi, edi
je 0x413df4
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.00433d88
add esp, 0x10
cmp eax, 0x50
ja case.0x413e19.107
movzx ecx, byte [eax + 0x4140d0]
jmp dword [ecx*4 + 0x4140c0]
mov dword [esp + 0x2c], 2
mov esi, dword [esp + 0x2c]
jmp 0x413ded
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.00413780
mov edi, eax
test edi, edi
js 0x413ff1
mov ecx, dword [esp + 0x14]
push ebx
call fcn.00413270
mov edi, eax
test edi, edi
js 0x413ff1
cmp word [ebx], 0x7b
jne 0x413ea5
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x413ea5
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.00413930
mov edi, eax
test edi, edi
jns 0x413e8c
test esi, esi
je 0x413ff1
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.00413780
mov edi, eax
test edi, edi
js 0x413ff1
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x14], eax
cmp esi, 2
je 0x413b2b
test esi, esi
je 0x413ecf
test eax, eax
jne 0x413b2b
mov eax, esi
call fcn.00413740
mov edi, eax
jmp 0x413ff1
mov esi, dword [esp + 0x18]
test eax, eax
je 0x413f12
mov ecx, esi
call fcn.00413600
test eax, eax
je 0x413f12
lea ecx, [esp + 0x64]
push ecx
call fcn.004132e0
test eax, eax
je 0x413b2b
cmp dword [esp + 0x28], 0
je 0x413b2b
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x1c]
call fcn.00413400
jmp 0x413b2b
mov ecx, esi
call fcn.00413600
mov dword [esp + 0x2c], eax
xor eax, eax
test esi, esi
je 0x413f32
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x41407e
cmp dword [esp + 0x28], eax
je 0x413b2b
cmp dword [esp + 0x2c], eax
jne 0x413b2b
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.00413670
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp eax, esi
jne 0x41409b
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x3c]
call fcn.00413650
jmp 0x413b2b
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x30]
call fcn.00413650
mov dword [esp + 0x2280], 0xffffffff
lea esi, [esp + 0x18]
call fcn.00413650
mov eax, 0x80020009
jmp 0x414017
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x30]
call fcn.00413650
mov dword [esp + 0x2280], 0xffffffff
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x414011
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.00432675
mov esp, ebp
pop ebp
ret 0x10
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x48]
call fcn.00413650
mov dword [esp + 0x2280], 0xffffffff
lea esi, [esp + 0x18]
call fcn.00413650
mov eax, edi
jmp 0x414017
call fcn.00413740
mov edi, eax
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x58]
jmp 0x413fec
call fcn.00413740
mov edi, eax
jmp 0x41404e
push 0x8007000e
call fcn.0040eae0
push 0x80070057
call fcn.0040eae0
call fcn.00413740
mov edi, eax
mov byte [esp + 0x2280], 0
lea esi, [esp + 0x3c]
jmp 0x413fec
push 0x80004005
call fcn.0040eae0
lea ecx, [ecx]
inc ecx
add byte [edi - 1862254272], al
inc eax
inc ecx
add byte [ebx + 0x4140], dh
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