Function at 0x403410
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x421f16
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x225c
call fcn.0041df00
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2258], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x2270]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, eax
push edi
mov dword [esp + 0x227c], 0
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403ac8
cmp word [edi], 0x7d
je 0x403ab7
lea esp, [esp]
push str.Delete
push edi
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x427980
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4034f1
test ebx, ebx
je 0x403603
mov ecx, dword [esp + 0x10]
push edi
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403ab7
cmp dword [ebp + 0x10], 0
je 0x403603
movzx eax, word [edi]
xorps xmm0, xmm0
movq qword [esp + 0x2c], xmm0
mov ecx, edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test ax, ax
je 0x403563
cmp ax, 0x5c
je 0x40355b
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x403542
jmp 0x403563
test ecx, ecx
jne 0x403a60
mov esi, 0x42a260
jmp 0x403570
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4035c2
add esi, 4
cmp esi, 0x42a290
jl 0x403570
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.00401df0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test ebx, ebx
je 0x4035fb
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403a70
push edi
mov ecx, ebx
call fcn.00402f30
mov esi, eax
test esi, esi
js 0x403a70
mov dword [esp + 0x30], 0
jmp 0x40384e
mov dword [esp + 0x30], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x40362d
push edi
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403ab7
push 0x427978
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4037a5
lea eax, [esp + 0x264]
mov ecx, ebx
push eax
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403ab7
push edi
mov ecx, ebx
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403ab7
cmp word [edi], 0x3d
jne 0x403a69
cmp dword [ebp + 0x10], 0
je 0x4036f9
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
movq qword [esp + 0x44], xmm0
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov byte [esp + 0x2278], 1
mov dword [esp + 0x44], eax
lea eax, [esp + 0x264]
push edi
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], 0
push eax
mov dword [esp + 0x58], 0
call fcn.00402a80
mov esi, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
test esi, esi
js 0x403a7b
mov byte [esp + 0x2278], 0
mov dword [esp + 0x48], 0
jmp 0x40384e
cmp dword [ebp + 0x14], 0
jne 0x40378e
cmp dword [esp + 0x18], 0
je 0x40378e
push 0x20006
push 0
push dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
movq qword [esp + 0x5c], xmm0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.00401c70
test eax, eax
jne 0x403a86
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x264]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x403773
cmp eax, 2
jne 0x403a86
test esi, esi
je 0x403786
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
push edi
mov ecx, ebx
call fcn.00402f30
mov esi, eax
test esi, esi
js 0x403ab7
jmp 0x403a54
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x4037d1
nop
cmp ax, 0x5c
je 0x4037c9
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x4037b0
jmp 0x4037d1
test ecx, ecx
jne 0x403a69
cmp dword [ebp + 0x10], 0
je 0x4038aa
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 0x2001f
push edi
push esi
call fcn.00401c70
test eax, eax
je 0x40381d
push 0x20019
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.00401c70
test eax, eax
je 0x40381d
sub esp, 0x14
lea ecx, [esp + 0x34]
push edi
push esi
call fcn.00401bd0
test eax, eax
jne 0x403aae
push edi
mov ecx, ebx
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403ab7
cmp word [edi], 0x3d
jne 0x40384e
push edi
push 0
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.00402a80
mov esi, eax
test esi, esi
js 0x403ab7
cmp word [edi], 0x7b
jne 0x403a54
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403860
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x403a54
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x28]
push edi
call fcn.00403410
mov esi, eax
test esi, esi
js 0x403ab7
push edi
mov ecx, ebx
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403ab7
jmp 0x403a54
cmp dword [ebp + 0x14], 0
jne 0x4038cb
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.00401c70
mov ebx, eax
test ebx, ebx
jne 0x4038d0
jmp 0x4038d7
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.00413ab2
push eax
call fcn.00401480
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403ab7
mov ecx, dword [esp + 0x10]
push edi
call fcn.00402f30
mov esi, eax
test esi, esi
js 0x403ab7
cmp word [edi], 0x7b
jne 0x403970
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403925
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x403970
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x28]
push edi
call fcn.00403410
mov esi, eax
test esi, esi
jns 0x40395c
cmp dword [ebp + 0x14], 0
je 0x403ab7
mov ecx, dword [esp + 0x10]
push edi
call fcn.004028f0
mov esi, eax
test esi, esi
js 0x403ab7
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x403a54
test ebx, ebx
je 0x403993
test eax, eax
jne 0x403a54
mov ecx, ebx
jmp 0x403ab0
test eax, eax
je 0x4039d4
push dword [esp + 0x20]
call fcn.00402ec0
test eax, eax
je 0x4039d4
lea eax, [esp + 0x5c]
push eax
call fcn.00402e80
test eax, eax
je 0x403a54
cmp dword [esp + 0x18], 0
je 0x403a54
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call fcn.00401df0
jmp 0x403a54
push dword [esp + 0x20]
call fcn.00402ec0
mov ecx, dword [esp + 0x20]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x4039f6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
test eax, eax
jne 0x403aae
cmp dword [esp + 0x18], eax
je 0x403a54
test ebx, ebx
jne 0x403a54
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x40], ebx
movq qword [esp + 0x38], xmm0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00401af0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
test eax, eax
jne 0x403a9a
lea ecx, [esp + 0x38]
call fcn.00401ad0
cmp word [edi], 0x7d
jne 0x4034c0
jmp 0x403ab7
lea ecx, [esp + 0x2c]
call fcn.00401ad0
mov esi, 0x80020009
jmp 0x403ab7
lea ecx, [esp + 0x2c]
call fcn.00401ad0
jmp 0x403ab7
lea ecx, [esp + 0x44]
call fcn.00401ad0
jmp 0x403ab7
mov ecx, eax
call fcn.00401660
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00401ad0
jmp 0x403ab7
mov ecx, eax
call fcn.00401660
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00401ad0
jmp 0x403ab7
mov ecx, eax
call fcn.00401660
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x403ac6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x2270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2258]
xor ecx, esp
call fcn.00413a3b
mov esp, ebp
pop ebp
ret 0x10