Function at 0x4396eb
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4493a6
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.00444cc0
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x222c], ecx
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x2228]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x221c], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2268], eax
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2220], eax
mov dword [ebp - 4], eax
mov edi, ecx
push ebx
call fcn.00438db5
mov esi, eax
test esi, esi
js 0x439d91
push 0x7d
pop eax
cmp word [ebx], ax
je 0x439d91
push str.Delete
push ebx
mov dword [ebp - 0x223c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x44bcb8
sbb esi, esi
inc esi
push ebx
mov dword [ebp - 0x2240], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4397ae
test esi, esi
je 0x439895
push ebx
mov ecx, edi
call fcn.00438db5
mov esi, eax
test esi, esi
js 0x439d91
cmp dword [ebp + 0x10], 0
je 0x439895
xor eax, eax
lea edi, [ebp - 0x2238]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], eax
mov byte [ebp - 4], 1
push 0x5c
push ebx
call fcn.0043a0a0
pop ecx
pop ecx
test eax, eax
jne 0x439d81
mov edi, dword [ebp - 0x222c]
mov ecx, edi
push ebx
call fcn.0043861d
test eax, eax
je 0x43984d
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2238]
mov dword [ebp - 0x2238], eax
xor eax, eax
push ebx
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], eax
call fcn.004391dc
xor eax, eax
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], eax
jmp 0x43984f
xor eax, eax
cmp dword [ebp - 0x2240], 0
je 0x43988c
push ebx
mov ecx, edi
call fcn.00438db5
mov esi, eax
test esi, esi
js 0x439d74
push ebx
mov ecx, edi
call fcn.0043a019
mov esi, eax
test esi, esi
js 0x439d67
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x2234], eax
jmp 0x439aec
mov byte [ebp - 4], al
mov dword [ebp - 0x2234], eax
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4398bd
push ebx
mov ecx, edi
mov dword [ebp - 0x223c], eax
call fcn.00438db5
mov esi, eax
test esi, esi
js 0x439d91
push 0x44bcb0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x439a49
lea eax, [ebp - 0x2218]
mov ecx, edi
push eax
call fcn.00438db5
mov esi, eax
test esi, esi
js 0x439d91
push ebx
mov ecx, edi
call fcn.00438db5
mov esi, eax
test esi, esi
js 0x439d91
push 0x3d
pop eax
cmp word [ebx], ax
jne 0x439d8c
cmp dword [ebp + 0x10], 0
je 0x439994
xor eax, eax
lea edi, [ebp - 0x2258]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2258], ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x221c]
mov edi, dword [ebp - 0x222c]
mov dword [ebp - 0x2258], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x2258]
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
mov ecx, edi
push eax
call fcn.0043802b
mov esi, eax
xor eax, eax
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
test esi, esi
js 0x439db4
mov byte [ebp - 4], al
mov dword [ebp - 0x2254], eax
jmp 0x439aec
cmp dword [ebp + 0x14], 0
jne 0x439a32
cmp dword [ebp - 0x223c], 0
je 0x439a32
xor eax, eax
lea edi, [ebp - 0x224c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224c]
push 0x20006
push eax
push dword [ebp - 0x221c]
call fcn.00438eee
test eax, eax
jne 0x439dd4
mov edi, dword [ebp - 0x224c]
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x439a0e
cmp eax, 2
jne 0x439dbf
xor eax, eax
mov byte [ebp - 4], al
test edi, edi
je 0x439a26
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x224c], eax
mov edi, dword [ebp - 0x222c]
mov dword [ebp - 0x2248], eax
push ebx
mov ecx, edi
call fcn.0043a019
mov esi, eax
test esi, esi
js 0x439d91
jmp 0x439d54
push 0x5c
push ebx
call fcn.0043a0a0
pop ecx
pop ecx
test eax, eax
jne 0x439d8c
cmp dword [ebp + 0x10], eax
je 0x439b44
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2228]
push 0x2001f
push ebx
push esi
call fcn.00438eee
test eax, eax
je 0x439ab6
push 0x20019
push ebx
push esi
lea ecx, [ebp - 0x2228]
call fcn.00438eee
test eax, eax
je 0x439ab6
xor eax, eax
lea ecx, [ebp - 0x2228]
push eax
push eax
push 0x2001f
push eax
push eax
push ebx
push esi
call fcn.004386d6
test eax, eax
jne 0x439c3b
push ebx
mov ecx, edi
call fcn.00438db5
mov esi, eax
test esi, esi
js 0x439d91
push 0x3d
pop eax
cmp word [ebx], ax
jne 0x439aec
push ebx
xor eax, eax
mov ecx, edi
push eax
lea eax, [ebp - 0x2228]
push eax
call fcn.0043802b
mov esi, eax
test esi, esi
js 0x439d91
push 0x7b
pop eax
cmp word [ebx], ax
jne 0x439d54
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2268]
jne 0x439afd
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x439d54
xor eax, eax
mov ecx, edi
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2228]
push ebx
call fcn.004396eb
mov esi, eax
test esi, esi
js 0x439d91
push ebx
mov ecx, edi
call fcn.00438db5
jmp 0x439a3a
cmp dword [ebp + 0x14], 0
jne 0x439b63
push 0x20019
push ebx
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2228]
call fcn.00438eee
jmp 0x439b66
push 2
pop eax
xor ecx, ecx
mov dword [ebp - 0x2240], eax
push 0xffffffffffffffff
inc ecx
test eax, eax
push ebx
cmove ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp - 0x226c], ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.0040eb23
add esp, 0x14
mov ecx, edi
push ebx
call fcn.00438db5
mov esi, eax
test esi, esi
js 0x439d91
push ebx
mov ecx, edi
call fcn.0043a019
mov esi, eax
test esi, esi
js 0x439d91
push 0x7b
pop eax
cmp word [ebx], ax
jne 0x439c1e
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2268]
jne 0x439bca
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x439c1e
push dword [ebp - 0x226c]
xor eax, eax
mov ecx, edi
push eax
push dword [ebp - 0x2228]
push ebx
call fcn.004396eb
mov esi, eax
test esi, esi
jns 0x439c0c
cmp dword [ebp - 0x226c], 0
je 0x439d91
push ebx
mov ecx, edi
call fcn.00438db5
mov esi, eax
test esi, esi
js 0x439d91
mov eax, dword [ebp - 0x2240]
cmp eax, 2
je 0x439d54
test eax, eax
je 0x439c49
cmp dword [ebp + 0x14], 0
jne 0x439d54
push eax
call fcn.00438608
pop ecx
mov esi, eax
jmp 0x439d91
cmp dword [ebp + 0x14], 0
je 0x439c9a
push dword [ebp - 0x2228]
mov ecx, edi
call fcn.00438918
test eax, eax
je 0x439c9a
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0043861d
test eax, eax
je 0x439d54
cmp dword [ebp - 0x223c], 0
je 0x439d54
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.004391dc
jmp 0x439d54
push dword [ebp - 0x2228]
mov ecx, edi
call fcn.00438918
mov edi, eax
xor edx, edx
mov eax, dword [ebp - 0x2228]
mov ecx, edx
test eax, eax
je 0x439cca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov ecx, eax
mov eax, edx
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2224], edx
test ecx, ecx
jne 0x439e1d
cmp dword [ebp - 0x223c], ecx
je 0x439d54
test edi, edi
jne 0x439d54
xor eax, eax
lea edi, [ebp - 0x2264]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2264], edx
mov dword [ebp - 0x2260], edx
mov dword [ebp - 0x225c], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2264]
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x2264], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x2260], edx
mov dword [ebp - 0x225c], edx
call fcn.00438767
xor edx, edx
mov dword [ebp - 0x2264], edx
mov dword [ebp - 0x2260], edx
mov dword [ebp - 0x225c], edx
test eax, eax
jne 0x439e04
mov byte [ebp - 4], dl
mov dword [ebp - 0x2260], edx
push 0x7d
pop eax
cmp word [ebx], ax
je 0x439d91
mov edi, dword [ebp - 0x222c]
jmp 0x439775
xor ebx, ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x2234], ebx
jmp 0x439d91
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x2234], eax
jmp 0x439d91
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x2234], eax
mov esi, 0x80020009
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2228]
test eax, eax
je 0x439e23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x2228], eax
jmp 0x439e25
mov byte [ebp - 4], al
mov dword [ebp - 0x2254], eax
jmp 0x439d91
push eax
call fcn.00438608
xor ebx, ebx
mov esi, eax
pop ecx
mov byte [ebp - 4], bl
test edi, edi
je 0x439dfc
push edi
jmp 0x439df0
push eax
call fcn.00438608
xor ebx, ebx
mov esi, eax
pop ecx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x224c], ebx
je 0x439dfc
push dword [ebp - 0x224c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
jmp 0x439d91
push eax
call fcn.00438608
mov esi, eax
xor eax, eax
pop ecx
mov byte [ebp - 4], al
mov dword [ebp - 0x2260], eax
jmp 0x439d91
push ecx
jmp 0x439c3c
xor eax, eax
mov dword [ebp - 0x2224], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444460
leave
ret 0x10