Function at 0x423445
Capabilities:
Delete registry value
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x66e240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x10c], 0x58f510
mov ebx, dword [ebp - 0x10c]
mov edi, dword [ebp - 0x10c]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x4234d5
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x10c], eax
pop ecx
test esi, esi
je 0x4234cc
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp eax, dword [ebx + 0xf]
jb 0x4234ab
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0x128]
push eax
push edi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4234ff
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x128]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
mov dword [ebp - 0x10c], 0x58f568
mov eax, dword [ebp - 0x10c]
mov ebx, dword [ebp - 0x10c]
add ebx, 0x14
mov dword [ebp - 0x110], eax
cmp byte [eax + 0x13], 0
je 0x423593
mov esi, dword [eax + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, dword [ebp - 0x110]
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x10c], eax
test esi, esi
je 0x42358a
mov edi, ecx
sub ebx, edi
lea ecx, [eax + edi]
and eax, 7
mov al, byte [eax + edx + 7]
xor al, byte [ebx + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp eax, dword [edx + 0xf]
jb 0x42355d
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x114]
mov eax, dword [edx + 0xf]
mov ebx, ecx
mov byte [ecx + eax], 0
lea eax, [ebp - 0x124]
push eax
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4235bd
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x124]
call edi
mov dword [ebp - 0x110], 0x58f568
mov eax, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x110]
add ebx, 0x14
mov dword [ebp - 0x10c], eax
cmp byte [eax + 0x13], 0
je 0x42364b
mov esi, dword [eax + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, dword [ebp - 0x10c]
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], eax
test esi, esi
je 0x423642
mov edi, ecx
sub ebx, edi
lea ecx, [eax + edi]
and eax, 7
mov al, byte [eax + edx + 7]
xor al, byte [ebx + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp eax, dword [edx + 0xf]
jb 0x423615
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x114]
mov eax, dword [edx + 0xf]
mov ebx, ecx
mov byte [ecx + eax], 0
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423679
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x11c]
call edi
mov dword [ebp - 0x110], 0x58f510
mov eax, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x110]
add ebx, 0x14
mov dword [ebp - 0x10c], eax
cmp byte [eax + 0x13], 0
je 0x423707
mov esi, dword [eax + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, dword [ebp - 0x10c]
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], eax
test esi, esi
je 0x4236fe
mov edi, ecx
sub ebx, edi
lea ecx, [eax + edi]
and eax, 7
mov al, byte [eax + edx + 7]
xor al, byte [ebx + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp eax, dword [edx + 0xf]
jb 0x4236d1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x114]
mov eax, dword [edx + 0xf]
mov ebx, ecx
mov byte [ecx + eax], 0
lea eax, [ebp - 0x120]
push eax
push 1
push 0
push ebx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423735
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x120]
call edi
mov dword [ebp - 0x110], 0x58f568
mov eax, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x110]
add ebx, 0x14
mov dword [ebp - 0x10c], eax
cmp byte [eax + 0x13], 0
je 0x4237c3
mov esi, dword [eax + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, dword [ebp - 0x10c]
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], eax
test esi, esi
je 0x4237ba
mov edi, ecx
sub ebx, edi
lea ecx, [eax + edi]
and eax, 7
mov al, byte [eax + edx + 7]
xor al, byte [ebx + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp eax, dword [edx + 0xf]
jb 0x42378d
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x114]
mov eax, dword [edx + 0xf]
mov ebx, ecx
mov byte [ecx + eax], 0
lea eax, [ebp - 0x118]
push eax
push 0xf013f
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4237f4
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x118]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00560d94
mov esp, ebp
pop ebp
ret