Function at 0x421f60
Capabilities:
Encode data using xor
Hash data using fnv
Persist via windows service
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46654d
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x258
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, dword [ebx + 0xc]
cmp dword [edi + 0x10], 0
je 0x4220e2
push 0x208
lea eax, [ebp - 0x268]
mov dword [ebp - 0x14], 0
push 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 1
call fcn.00445960
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x421fd7
mov edi, dword [edi]
push edi
push str.___s
lea eax, [ebp - 0x268]
push 0x104
push eax
call fcn.00418430
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push str.systemCurrentControlSetServices
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x422038
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jle 0x422019
push eax
call esi
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4220d1
push eax
call esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
jmp 0x4222ce
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x422042
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x422009
lea ecx, [ebp - 0x268]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422060
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x268]
push eax
push 1
push 0
push str.ImagePath
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x422009
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push 0
push str.Type
push dword [ebp - 0x18]
call edi
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], eax
test ecx, ecx
jle 0x4220c1
push ecx
call edi
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4220cb
push eax
call edi
cmp dword [ebp - 0x20], 0
je 0x4220e2
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
jmp 0x4222ce
mov ecx, dword [esi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x34
jb 0x4222e3
cmp dword [esi + 0x14], 8
jb 0x4220fd
mov esi, dword [esi]
push ecx
push esi
push 0x34
push 0x495090
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x5c]
call fcn.00414c10
mov dword [ebp - 4], 0
call fcn.0040d0d0
cmp dword [ebp - 0x48], 8
mov esi, eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x14], esi
cmovae eax, dword [ebp - 0x5c]
xorps xmm0, xmm0
push 0x20
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x3c], xmm0
call fcn.00441881
movups xmm0, xmmword [0x4950fc]
mov edi, eax
mov dword [ebp - 0x2c], 0x14
add esp, 4
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], 0x1f
movups xmmword [edi], xmm0
mov ecx, dword [0x49510c]
mov dword [edi + 0x10], ecx
mov byte [edi + 0x14], 0
mov byte [ebp - 4], 1
call fcn.004230a0
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x14
jb 0x422186
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040d930
mov eax, dword [eax + 4]
test eax, eax
je 0x4221d9
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 4]
je 0x4221d9
mov eax, dword [eax + 0x20]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x20], eax
call esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4221e2
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push ecx
call eax
jmp 0x4221e2
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
push 0x20
push edi
mov byte [ebp - 4], 0
call fcn.004418b1
add esp, 8
call fcn.0040d0d0
mov ecx, dword [0x49511c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
mov edi, eax
mov dword [ebp - 0x2c], 0xc
movq xmm0, qword [0x495114]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], 0xf
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 2
call fcn.004230a0
add edi, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x3c]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0xc
jb 0x422244
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040d930
mov eax, dword [eax + 4]
test eax, eax
je 0x42228e
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 4]
je 0x42228e
mov edi, dword [eax + 0x20]
lea eax, [ecx + 0x20]
push eax
call esi
test edi, edi
je 0x422291
lea eax, [ebp - 0x44]
push eax
call edi
mov esi, eax
jmp 0x422296
push edi
call esi
mov esi, 0xc0000138
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x4222cc
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4222c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4222e8
push ecx
push edx
call fcn.004418b1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00401780
call fcn.00449a39
int3