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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c1cb
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x6a5418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x458], edx
mov ecx, dword [ebp + 8]
mov eax, 4
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x468], 0
mov esi, dword [ecx]
mov dword [ebp - 0x474], esi
test esi, esi
jle 0x519094
nop word [eax + eax]
mov esi, dword [ecx + eax]
mov ecx, dword [ecx + eax + 4]
sub esi, 4
add eax, 8
mov dword [ebp - 0x45c], esi
cmp dword [edx + 0x1420], 0
mov dword [ebp - 0x470], ecx
mov dword [ebp - 0x44c], eax
je 0x518ccf
mov eax, dword [edx + 0x141c]
mov esi, dword [edx + 0x142c]
mov esi, dword [esi + eax*4]
mov eax, dword [ebp - 0x44c]
jmp 0x518cd1
xor esi, esi
mov dword [ebp - 0x454], esi
test esi, esi
je 0x518fd0
nop
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], edi
jb 0x518d00
mov eax, dword [eax]
mov dword [ebp - 0x448], eax
cmp edi, 0x10
jae 0x518d2e
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x444]
mov edx, 0xf
mov dword [ebp - 0x430], edi
movups xmmword [ebp - 0x440], xmm0
mov edi, dword [ebp - 0x440]
mov dword [ebp - 0x450], edx
jmp 0x518d9d
mov eax, edi
mov ecx, closesocket
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x450], eax
inc eax
cmp eax, 0x1000
jb 0x518d5b
push eax
call fcn.0043a520
add esp, 4
mov edi, eax
jmp 0x518d6e
test eax, eax
je 0x518d6c
push eax
call fcn.0059852b
add esp, 4
mov edi, eax
jmp 0x518d6e
xor edi, edi
mov eax, dword [ebp - 0x444]
inc eax
mov dword [ebp - 0x440], edi
push eax
push dword [ebp - 0x448]
push edi
call fcn.005cf880
mov eax, dword [ebp - 0x444]
add esp, 0xc
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], edx
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
test eax, eax
je 0x518ea4
cmp edx, 0x10
lea ecx, [ebp - 0x440]
lea eax, [ebp - 0x410]
cmovae ecx, edi
sub eax, ecx
mov dword [ebp - 0x448], eax
mov edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x518dd5
mov eax, dword [ebp - 0x444]
mov edx, dword [ebp - 0x450]
add eax, 0xffffffff
je 0x518ea4
nop word [eax + eax]
cmp edx, 0x10
lea ecx, [ebp - 0x440]
cmovae ecx, edi
cmp byte [ecx + eax], 0x2f
je 0x518e2f
cmp edx, 0x10
lea ecx, [ebp - 0x440]
cmovae ecx, edi
cmp byte [ecx + eax], 0x5c
je 0x518e2f
test eax, eax
je 0x518ea4
sub eax, 1
jne 0x518e00
jmp 0x518ea4
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x444]
cmp ecx, eax
jae 0x518e9a
lea esi, [ebp - 0x410]
sub esi, ecx
sub eax, ecx
mov dword [ebp - 0x448], esi
mov dword [ebp - 0x460], eax
nop dword [eax]
nop word [eax + eax]
mov esi, dword [ebp - 0x448]
lea eax, [ebp - 0x440]
cmp edx, 0x10
cmovae eax, edi
mov al, byte [eax + ecx]
mov byte [esi + ecx], al
inc ecx
cmp ecx, dword [ebp - 0x444]
jb 0x518e60
mov eax, dword [ebp - 0x460]
mov esi, dword [ebp - 0x454]
cmp eax, 0x400
jae 0x5190b1
jmp 0x518e9c
xor eax, eax
mov byte [ebp + eax - 0x410], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x418], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x518ed2
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0043a5c0
or dword [ebp - 0x464], 1
mov eax, dword [ebp - 0x450]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x518f2f
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x518f25
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5190b6
push ecx
push edi
call fcn.0059851d
add esp, 8
cmp dword [ebp - 0x414], 0x10
lea ecx, [ebp - 0x428]
mov edi, dword [ebp - 0x428]
mov eax, dword [ebp - 0x418]
cmovae ecx, edi
add eax, ecx
xor edx, edx
cmp ecx, eax
jae 0x518f6b
mov esi, eax
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, esi
jb 0x518f55
mov esi, dword [ebp - 0x454]
cmp dword [ebp - 0x470], edx
je 0x518ffc
mov eax, dword [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x518fb4
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x518faa
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5190b6
push ecx
push edi
call fcn.0059851d
add esp, 8
mov esi, dword [esi]
mov dword [ebp - 0x454], esi
test esi, esi
jne 0x518ce0
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x458]
mov esi, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x468]
add eax, esi
inc ecx
mov dword [ebp - 0x468], ecx
cmp ecx, dword [ebp - 0x474]
jge 0x519094
mov ecx, dword [ebp - 0x46c]
jmp 0x518c90
mov ecx, dword [esi + 0x20]
call fcn.0051c510
mov ecx, dword [ebp - 0x44c]
add ecx, dword [ebp - 0x46c]
push ecx
mov ecx, eax
call fcn.0051f4a0
mov esi, dword [ebp - 0x45c]
cmp esi, eax
je 0x519046
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.004e34c0
add esp, 0x10
mov edx, dword [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x519083
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519079
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5190b6
push edx
push ecx
call fcn.0059851d
add esp, 8
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x458]
jmp 0x518fd6
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.005984ec
mov esp, ebp
pop ebp
ret 4
call fcn.00598c84
call fcn.005d9542
int3