Function at 0x4365d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fc342
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.004e7570
mov eax, dword [0x5415b0]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x5415b0]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2280], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x60], ecx
mov ecx, eax
push edi
call fcn.00435bb0
mov esi, eax
test esi, esi
js 0x436b9b
push 0x7d
pop eax
cmp word [edi], ax
je 0x436b8c
xor eax, eax
inc eax
push 0x5213ac
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x521380
sbb esi, esi
inc esi
push edi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x436699
test esi, esi
je 0x436745
mov ecx, dword [esp + 0x10]
push edi
call fcn.00435bb0
mov esi, eax
test esi, esi
js 0x436b8c
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x436747
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.00435b5b
test eax, eax
jne 0x436b87
push edi
call fcn.0043614b
test eax, eax
je 0x436706
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.0043548c
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
cmp dword [esp + 0x18], esi
je 0x43673f
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.00435bb0
mov esi, eax
test esi, esi
js 0x436b8c
push edi
mov ecx, ebx
call fcn.004361b1
mov esi, eax
test esi, esi
js 0x436b8c
xor ebx, ebx
mov dword [esp + 0x30], ebx
jmp 0x436af2
mov dword [esp + 0x30], esi
jmp 0x436747
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43676f
mov ecx, dword [esp + 0x10]
push edi
mov dword [esp + 0x2c], esi
call fcn.00435bb0
mov esi, eax
test esi, esi
js 0x436b8c
push 0x521378
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4368a3
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x26c]
push eax
call fcn.00435bb0
mov esi, eax
test esi, esi
js 0x436b8c
mov ecx, dword [esp + 0x10]
push edi
call fcn.00435bb0
mov esi, eax
test esi, esi
js 0x436b8c
push 0x3d
pop eax
cmp word [edi], ax
jne 0x436b87
cmp dword [ebp + 0x10], 0
je 0x43681d
mov ecx, dword [esp + 0x10]
xor eax, eax
inc eax
xor ebx, ebx
mov byte [esp + 0x2280], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x26c]
push edi
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], ebx
push eax
mov dword [esp + 0x58], ebx
call fcn.00435d02
mov esi, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
test esi, esi
js 0x436b8c
mov byte [esp + 0x2280], bl
mov dword [esp + 0x48], ebx
jmp 0x436af2
cmp dword [ebp + 0x14], 0
jne 0x43688a
cmp dword [esp + 0x28], 0
je 0x43688a
xor esi, esi
lea ecx, [esp + 0x38]
push 0x20006
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.004353d0
test eax, eax
jne 0x436b6b
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x26c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x436873
cmp eax, 2
jne 0x436b5b
test ebx, ebx
je 0x436882
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x38], esi
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x10]
push edi
call fcn.004361b1
mov esi, eax
test esi, esi
js 0x436b8c
jmp 0x436a69
push 0x5c
pop edx
mov ecx, edi
call fcn.00435b5b
test eax, eax
jne 0x436b87
cmp dword [ebp + 0x10], eax
je 0x43693f
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0x2001f
push edi
push ebx
call fcn.004353d0
test eax, eax
je 0x436900
push 0x20019
push edi
push ebx
lea ecx, [esp + 0x28]
call fcn.004353d0
test eax, eax
je 0x436900
sub esp, 0x14
lea ecx, [esp + 0x30]
push edi
push ebx
call fcn.0043536d
test eax, eax
jne 0x436a26
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.00435bb0
mov esi, eax
test esi, esi
js 0x436b8c
push 0x3d
pop eax
cmp word [edi], ax
jne 0x436938
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00435d02
mov esi, eax
test esi, esi
js 0x436b8c
xor ebx, ebx
jmp 0x436af2
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x43695f
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.004353d0
mov ebx, dword [esp + 0x1c]
jmp 0x436962
push 2
pop eax
push 1
test eax, eax
mov dword [esp + 0x1c], eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
lea eax, [esp + 0x68]
push edi
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.004d8f42
push eax
call fcn.00402c37
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.00435bb0
mov esi, eax
test esi, esi
js 0x436b8c
mov ecx, dword [esp + 0x10]
push edi
call fcn.004361b1
mov esi, eax
test esi, esi
js 0x436b8c
push 0x7b
pop eax
cmp word [edi], ax
jne 0x436a0e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x5c]
jne 0x4369c1
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x436a0e
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
xor eax, eax
push eax
push ebx
push edi
call fcn.004365d0
mov esi, eax
test esi, esi
jns 0x4369fa
cmp dword [ebp + 0x14], 0
je 0x436b8c
mov ecx, dword [esp + 0x10]
push edi
call fcn.00435bb0
mov esi, eax
test esi, esi
js 0x436b8c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x436a69
test eax, eax
je 0x436a34
test ecx, ecx
jne 0x436a69
mov ecx, eax
call fcn.00435097
mov esi, eax
jmp 0x436b8c
test ecx, ecx
je 0x436a7d
push ebx
call fcn.0043617a
test eax, eax
je 0x436a7d
lea eax, [esp + 0x64]
push eax
call fcn.0043614b
test eax, eax
je 0x436a69
cmp dword [esp + 0x28], 0
je 0x436a69
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
call fcn.0043548c
mov ebx, dword [esp + 0x1c]
xor eax, eax
inc eax
push 0x7d
pop ecx
cmp word [edi], cx
jne 0x436668
jmp 0x436b8c
push ebx
call fcn.0043617a
mov ecx, eax
xor eax, eax
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x436aa2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov ebx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
xor edx, edx
mov dword [esp + 0x20], edx
test eax, eax
jne 0x436a26
cmp dword [esp + 0x28], edx
je 0x436a69
test ecx, ecx
jne 0x436a69
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], eax
xor ebx, ebx
lea eax, [esp + 0x64]
mov dword [esp + 0x54], ebx
push eax
mov dword [esp + 0x5c], ebx
call fcn.004352da
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
test eax, eax
jne 0x436a26
mov dword [esp + 0x54], ebx
cmp dword [ebp + 0x10], 0
je 0x436a65
push 0x7b
pop eax
cmp word [edi], ax
jne 0x436a65
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x436b0d
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x436b52
mov ecx, dword [esp + 0x10]
push ebx
push dword [ebp + 0x10]
mov ebx, dword [esp + 0x24]
push ebx
push edi
call fcn.004365d0
mov esi, eax
test esi, esi
js 0x436b8c
mov ecx, dword [esp + 0x10]
push edi
call fcn.00435bb0
mov esi, eax
test esi, esi
jns 0x436a69
jmp 0x436b8c
mov ebx, dword [esp + 0x1c]
jmp 0x436a6c
mov ecx, eax
call fcn.00435097
mov esi, eax
test ebx, ebx
je 0x436b8c
push ebx
jmp 0x436b7f
mov ecx, eax
call fcn.00435097
cmp dword [esp + 0x38], 0
mov esi, eax
je 0x436b8c
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x436b8c
mov esi, 0x80020009
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x436b9b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 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.004d5e2a
mov esp, ebp
pop ebp
ret 0x10