Function at 0x505a90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c80b
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x6ac420]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp + 8]
mov eax, 4
mov dword [ebp - 0x46c], edx
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x468], 0
mov esi, dword [edx]
mov dword [ebp - 0x474], esi
test esi, esi
jle 0x505fbb
mov esi, dword [edx + eax]
mov edx, dword [edx + eax + 4]
sub esi, 4
add eax, 8
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x464], eax
mov eax, dword [ecx + 0x1434]
mov dword [ebp - 0x470], edx
mov esi, dword [eax]
mov dword [ebp - 0x454], esi
cmp esi, eax
je 0x505ea6
nop word [eax + eax]
cmp dword [esi + 0x1c], 0x10
lea edi, [esi + 8]
mov edx, dword [edi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x450], edi
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x44c], edx
jb 0x505b6e
mov edi, dword [edi]
mov dword [ebp - 0x450], edi
cmp edx, 0x7fffffff
ja 0x505fe2
cmp edx, 0x10
jae 0x505bab
movups xmm0, xmmword [edi]
mov eax, 0xf
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x448], eax
movups xmmword [ebp - 0x440], xmm0
mov edi, dword [ebp - 0x440]
mov dword [ebp - 0x42c], eax
jmp 0x505c52
mov eax, edx
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x505bc7
mov eax, closesocket
mov dword [ebp - 0x448], eax
lea ecx, [eax + 1]
jmp 0x505be3
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x448], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x505bfc
push ecx
call fcn.0043dc40
mov edx, dword [ebp - 0x44c]
mov edi, eax
mov eax, dword [ebp - 0x448]
add esp, 4
jmp 0x505c21
test ecx, ecx
je 0x505c19
push ecx
call fcn.00579424
mov edx, dword [ebp - 0x44c]
mov edi, eax
mov eax, dword [ebp - 0x448]
add esp, 4
jmp 0x505c1b
xor edi, edi
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x42c], eax
lea eax, [edx + 1]
push eax
push dword [ebp - 0x450]
mov dword [ebp - 0x440], edi
push edi
mov dword [ebp - 0x430], edx
call fcn.005b4fa0
mov eax, dword [ebp - 0x448]
add esp, 0xc
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
test edx, edx
je 0x505d4e
cmp eax, 0x10
lea ecx, [ebp - 0x440]
lea eax, [ebp - 0x410]
cmovae ecx, edi
setae byte [ebp - 0x441]
sub eax, ecx
mov dword [ebp - 0x450], eax
mov edx, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x505c90
mov edx, dword [ebp - 0x44c]
lea eax, [edx - 1]
test eax, eax
je 0x505d4e
nop
cmp byte [ebp - 0x441], 0
lea ecx, [ebp - 0x440]
cmovne ecx, edi
cmp byte [ecx + eax], 0x2f
je 0x505ce7
cmp byte [ebp - 0x441], 0
lea ecx, [ebp - 0x440]
cmovne ecx, edi
cmp byte [ecx + eax], 0x5c
je 0x505ce7
test eax, eax
je 0x505d4e
sub eax, 1
jne 0x505cb0
jmp 0x505d4e
lea ecx, [eax + 1]
cmp ecx, edx
jae 0x505d44
lea eax, [ebp - 0x410]
sub eax, ecx
mov dword [ebp - 0x450], eax
mov eax, edx
mov esi, dword [ebp - 0x450]
sub eax, ecx
mov dword [ebp - 0x44c], eax
nop dword [eax]
cmp byte [ebp - 0x441], 0
lea eax, [ebp - 0x440]
cmovne eax, edi
mov al, byte [eax + ecx]
mov byte [esi + ecx], al
inc ecx
cmp ecx, edx
jb 0x505d10
mov eax, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x454]
cmp eax, 0x400
jae 0x505fd8
jmp 0x505d46
xor eax, eax
mov byte [ebp + eax - 0x410], 0
xorps xmm0, xmm0
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x414], 0
movups xmmword [ebp - 0x428], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x505d75
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0043e9e0
or dword [ebp - 0x460], 1
cmp dword [ebp - 0x414], 0x10
lea edx, [ebp - 0x428]
mov eax, dword [ebp - 0x428]
cmovae edx, eax
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x418]
setae byte [ebp - 0x441]
add eax, edx
mov byte [ebp - 4], 1
xor ecx, ecx
cmp edx, eax
jae 0x505de6
mov esi, eax
nop
movzx eax, byte [edx]
inc edx
imul ecx, ecx, 0x1000193
xor ecx, eax
cmp edx, esi
jb 0x505dd0
mov esi, dword [ebp - 0x454]
cmp dword [ebp - 0x470], ecx
je 0x505eb1
cmp byte [ebp - 0x441], 0
mov byte [ebp - 4], 0
je 0x505e34
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x44c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x505e2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x505fdd
push ecx
push edx
call fcn.00579416
add esp, 8
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x505e8c
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x505e82
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x505fdd
push ecx
push edi
call fcn.00579416
add esp, 8
mov ecx, dword [ebp - 0x45c]
mov esi, dword [esi]
mov dword [ebp - 0x454], esi
cmp esi, dword [ecx + 0x1434]
jne 0x505b30
mov esi, dword [ebp - 0x458]
jmp 0x505f93
mov ecx, dword [esi + 0x20]
call fcn.0050bc40
mov ecx, dword [ebp - 0x464]
add ecx, dword [ebp - 0x46c]
push ecx
mov ecx, eax
call fcn.00511190
mov esi, dword [ebp - 0x458]
cmp esi, eax
je 0x505efb
cmp dword [ebp - 0x414], 0x10
lea ecx, [ebp - 0x428]
push eax
cmovae ecx, dword [ebp - 0x428]
push esi
push ecx
push str.CEterPackManager::RetrieveHybridCryptPackKeys_tcryptokey_length_of_file__s__is_not_matched._received__d____haved__d_
call fcn.004d1330
add esp, 0x10
mov ecx, dword [ebp - 0x414]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x505f39
mov edx, dword [ebp - 0x428]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x505f2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x505fdd
push ecx
push edx
call fcn.00579416
add esp, 8
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x505f8d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x505f83
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x505fdd
push ecx
push edi
call fcn.00579416
add esp, 8
mov ecx, dword [ebp - 0x45c]
mov edx, dword [ebp - 0x468]
mov eax, dword [ebp - 0x464]
inc edx
add eax, esi
mov dword [ebp - 0x468], edx
cmp edx, dword [ebp - 0x474]
jge 0x505fbb
mov edx, dword [ebp - 0x46c]
jmp 0x505af5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00579408
mov esp, ebp
pop ebp
ret 4
call fcn.00579b29
call fcn.005bf450
call fcn.0043db20
int3