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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62f8cb
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x6bd4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x474], esi
mov edx, dword [ebp + 8]
mov eax, 4
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x468], 0
mov ecx, dword [edx]
mov dword [ebp - 0x470], ecx
test ecx, ecx
jle 0x52c3d3
mov edi, closesocket
nop dword [eax]
mov ecx, dword [edx + eax]
sub ecx, 4
mov dword [ebp - 0x45c], ecx
mov ecx, dword [edx + eax + 4]
add eax, 8
cmp dword [esi + 0x1420], 0
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 0x44c], eax
je 0x52c008
mov eax, dword [esi + 0x142c]
mov ecx, dword [esi + 0x141c]
mov esi, dword [eax + ecx*4]
lea eax, [esi - 0x1c]
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [ebp - 0x44c]
jmp 0x52c00a
xor esi, esi
mov dword [ebp - 0x458], esi
test esi, esi
je 0x52c30a
nop dword [eax + eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], esi
jb 0x52c03f
mov ecx, dword [esi]
mov dword [ebp - 0x444], ecx
cmp eax, 0x10
jae 0x52c061
movups xmm0, xmmword [ecx]
mov edx, 0xf
mov dword [ebp - 0x450], edx
movups xmmword [ebp - 0x440], xmm0
mov edi, dword [ebp - 0x440]
jmp 0x52c0c3
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, edi
mov dword [ebp - 0x450], eax
inc eax
cmp eax, 0x1000
jb 0x52c087
push eax
call fcn.0043e350
add esp, 4
mov edi, eax
jmp 0x52c09a
test eax, eax
je 0x52c098
push eax
call fcn.005a48da
add esp, 4
mov edi, eax
jmp 0x52c09a
xor edi, edi
mov eax, dword [ebp - 0x448]
inc eax
mov dword [ebp - 0x440], edi
push eax
push dword [ebp - 0x444]
push edi
call fcn.005e01a0
mov eax, dword [ebp - 0x448]
add esp, 0xc
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
test eax, eax
je 0x52c1c4
cmp edx, 0x10
lea ecx, [ebp - 0x440]
lea eax, [ebp - 0x410]
cmovae ecx, edi
sub eax, ecx
mov dword [ebp - 0x444], eax
mov edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x52c101
mov eax, dword [ebp - 0x448]
mov edx, dword [ebp - 0x450]
add eax, 0xffffffff
je 0x52c1c4
cmp edx, 0x10
lea ecx, [ebp - 0x440]
cmovae ecx, edi
cmp byte [ecx + eax], 0x2f
je 0x52c152
cmp edx, 0x10
lea ecx, [ebp - 0x440]
cmovae ecx, edi
cmp byte [ecx + eax], 0x5c
je 0x52c152
test eax, eax
je 0x52c1c4
sub eax, 1
jne 0x52c123
jmp 0x52c1c4
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x448]
cmp ecx, eax
jae 0x52c1ba
lea esi, [ebp - 0x410]
sub esi, ecx
sub eax, ecx
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x460], eax
nop word [eax + eax]
mov esi, dword [ebp - 0x444]
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 - 0x448]
jb 0x52c180
mov eax, dword [ebp - 0x460]
mov esi, dword [ebp - 0x458]
cmp eax, 0x400
jae 0x52c3f0
jmp 0x52c1bc
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 0x52c1f2
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0043e410
or dword [ebp - 0x464], 1
mov eax, dword [ebp - 0x450]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x52c24f
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x52c245
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52c3f5
push ecx
push edi
call fcn.005a48cc
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
mov dword [ebp - 0x444], edi
xor edx, edx
cmp ecx, eax
jae 0x52c296
mov edi, eax
nop dword [eax + eax]
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, edi
jb 0x52c280
mov edi, dword [ebp - 0x444]
cmp dword [ebp - 0x46c], edx
je 0x52c336
mov eax, dword [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x52c2df
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x52c2d5
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52c3f5
push ecx
push edi
call fcn.005a48cc
add esp, 8
mov eax, dword [esi + 0x1c]
mov edi, closesocket
mov esi, eax
add eax, 0xffffffe4
neg esi
sbb esi, esi
and esi, eax
mov dword [ebp - 0x458], esi
jne 0x52c020
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x454]
mov esi, dword [ebp - 0x45c]
add eax, esi
mov esi, dword [ebp - 0x468]
inc esi
mov dword [ebp - 0x468], esi
cmp esi, dword [ebp - 0x470]
jge 0x52c3d3
mov esi, dword [ebp - 0x474]
jmp 0x52bfc0
mov ecx, dword [esi + 0x18]
call fcn.00531710
mov ecx, dword [ebp - 0x44c]
add ecx, dword [ebp - 0x454]
push ecx
mov ecx, eax
call fcn.00536f20
mov esi, dword [ebp - 0x45c]
cmp esi, eax
je 0x52c380
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.004f4490
add esp, 0x10
mov edx, dword [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x52c3bd
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52c3b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52c3f5
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov eax, dword [ebp - 0x44c]
mov edi, closesocket
mov edx, dword [ebp - 0x454]
jmp 0x52c310
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.005a489b
mov esp, ebp
pop ebp
ret 4
call fcn.005a5034
call fcn.005e9e92
int3