Function at 0x4239e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43680c
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.004351d0
mov eax, dword [0x442f98]
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 eax, ecx
mov dword [ebp - 0x2234], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
cmp word [edi], 0x7d
je 0x424061
nop word [eax + eax]
push str.Delete
push edi
mov dword [ebp - 0x2220], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x438c18
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x423aa3
test ebx, ebx
je 0x423bd1
mov ecx, dword [ebp - 0x2234]
push edi
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
cmp dword [ebp + 0x10], 0
je 0x423bd1
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
movzx eax, word [edi]
mov ecx, edi
mov byte [ebp - 4], 1
test ax, ax
je 0x423b14
mov edx, eax
cmp dx, 0x5c
je 0x423b0c
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x423af1
jmp 0x423b14
test ecx, ecx
jne 0x4241ef
mov esi, 0x438c54
nop dword [eax]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x423b82
add esi, 4
cmp esi, 0x438c84
jl 0x423b20
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2240]
push edi
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
call fcn.00423500
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
test ebx, ebx
je 0x423bc3
mov ebx, dword [ebp - 0x2234]
mov ecx, ebx
push edi
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
push edi
mov ecx, ebx
call fcn.004243a0
mov esi, eax
test esi, esi
js 0x424061
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
jmp 0x423f0c
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2234]
test eax, eax
jne 0x423bff
push edi
mov ecx, ebx
mov dword [ebp - 0x2220], eax
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
push 0x438c10
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x423d7c
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
push edi
mov ecx, ebx
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
cmp word [edi], 0x3d
jne 0x4241ef
cmp dword [ebp + 0x10], 0
je 0x423cc2
mov eax, dword [ebp - 0x221c]
mov ecx, ebx
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2254]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
call fcn.004219e0
mov esi, eax
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
test esi, esi
js 0x424061
mov byte [ebp - 4], 0
mov dword [ebp - 0x2250], 0
jmp 0x423f0c
cmp dword [ebp + 0x14], 0
jne 0x423d65
cmp dword [ebp - 0x2220], 0
je 0x423d65
mov dword [ebp - 0x226c], 0
mov dword [ebp - 0x2268], 0
mov dword [ebp - 0x2264], 0
push 0x20006
push 0
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x226c]
mov byte [ebp - 4], 3
call fcn.00422f80
test eax, eax
jne 0x4241c6
mov ebx, dword [ebp - 0x226c]
lea eax, [ebp - 0x2218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x423d3c
cmp eax, 2
jne 0x4241a3
mov byte [ebp - 4], 0
test ebx, ebx
je 0x423d55
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x226c], 0
mov ebx, dword [ebp - 0x2234]
mov dword [ebp - 0x2268], 0
push edi
mov ecx, ebx
call fcn.004243a0
mov esi, eax
test esi, esi
js 0x424061
jmp 0x424194
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x423dab
mov edx, eax
cmp dx, 0x5c
je 0x423da3
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x423d88
jmp 0x423dab
test ecx, ecx
jne 0x4241ef
cmp dword [ebp + 0x10], 0
je 0x423f6c
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push esi
call fcn.00422f80
test eax, eax
je 0x423ed9
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2230]
call fcn.00422f80
test eax, eax
je 0x423ed9
mov esi, dword [ebp - 0x2228]
mov dword [ebp - 0x2220], 0
test esi, esi
je 0x423e7a
cmp dword [esi], 0
je 0x423e6d
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x423e21
mov eax, 1
jmp 0x423ea2
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2224], eax
test eax, eax
je 0x423e73
push 0
push dword [esi]
lea ecx, [ebp - 0x2244]
push ecx
lea ecx, [ebp - 0x2220]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x221c]
mov ecx, eax
call dword [0x438430]
call dword [ebp - 0x2224]
jmp 0x423ea2
cmp dword [esi + 4], 0
jne 0x423e7a
mov eax, 1
jmp 0x423ea2
lea eax, [ebp - 0x2244]
push eax
lea eax, [ebp - 0x2220]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x221c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x424056
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x423ebb
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2220]
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], 0
test eax, eax
jne 0x424056
push edi
mov ecx, ebx
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
cmp word [edi], 0x3d
jne 0x423f0c
push edi
push 0
lea eax, [ebp - 0x2230]
mov ecx, ebx
push eax
call fcn.004219e0
mov esi, eax
test esi, esi
js 0x424061
cmp word [edi], 0x7b
jne 0x424194
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423f20
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x424194
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2230]
push edi
call fcn.004239e0
mov esi, eax
test esi, esi
js 0x424061
push edi
mov ecx, ebx
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
jmp 0x424194
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x423f8c
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
call fcn.00422f80
jmp 0x423f91
mov eax, 2
test eax, eax
mov dword [ebp - 0x2224], eax
push 0xffffffffffffffff
mov eax, 1
mov ecx, esi
cmovne ecx, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp - 0x2248], ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.00422030
add esp, 0x14
mov ecx, ebx
push edi
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
push edi
mov ecx, ebx
call fcn.004243a0
mov esi, eax
test esi, esi
js 0x424061
cmp word [edi], 0x7b
jne 0x424039
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423ff2
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x424039
push dword [ebp - 0x2248]
mov ecx, ebx
push 0
push dword [ebp - 0x2230]
push edi
call fcn.004239e0
mov esi, eax
test esi, esi
jns 0x42402b
cmp dword [ebp - 0x2248], 0
je 0x424061
push edi
mov ecx, ebx
call fcn.00422dd0
mov esi, eax
test esi, esi
js 0x424061
mov eax, dword [ebp - 0x2224]
cmp eax, 2
je 0x424194
test eax, eax
je 0x424099
cmp dword [ebp + 0x14], 0
jne 0x424194
push eax
call fcn.004220f0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x2230]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x424079
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00434ca0
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x14], 0
je 0x4240ea
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.00422460
test eax, eax
je 0x4240ea
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00422130
test eax, eax
je 0x424194
cmp dword [ebp - 0x2220], 0
je 0x424194
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00423500
jmp 0x424194
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.00422460
mov ebx, dword [ebp - 0x2230]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x2224], ecx
test ebx, ebx
je 0x424120
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2224]
xor ebx, ebx
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], 0
test eax, eax
jne 0x424056
cmp dword [ebp - 0x2220], eax
je 0x424194
test ecx, ecx
jne 0x424194
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x2260], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x225c], ecx
mov dword [ebp - 0x2258], ecx
lea ecx, [ebp - 0x2260]
push eax
call fcn.00422320
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], 0
test eax, eax
jne 0x424056
mov dword [ebp - 0x225c], eax
cmp word [edi], 0x7d
jne 0x423a70
jmp 0x424061
push eax
call fcn.004220f0
add esp, 4
mov byte [ebp - 4], 0
mov esi, eax
test ebx, ebx
je 0x424061
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424061
push eax
call fcn.004220f0
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x226c]
add esp, 4
test eax, eax
je 0x424061
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424061
mov esi, 0x80020009
jmp 0x424061