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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62f91b
mov eax, dword fs:[0]
push eax
sub esp, 0x464
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 edx, ecx
mov dword [ebp - 0x45c], edx
mov eax, dword [ebp + 8]
mov esi, 4
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x464], 0
mov ecx, dword [eax]
mov dword [ebp - 0x468], ecx
xor ecx, ecx
mov dword [ebp - 0x44c], ecx
cmp dword [ebp - 0x468], ecx
jle 0x52c82e
mov edi, closesocket
nop
mov eax, dword [eax + esi]
add esi, 4
cmp dword [edx + 0x1420], 0
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x458], esi
je 0x52c4ab
mov ecx, dword [edx + 0x141c]
mov eax, dword [edx + 0x142c]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x44c]
lea eax, [esi - 0x1c]
neg esi
sbb esi, esi
and esi, eax
jmp 0x52c4ad
xor esi, esi
mov dword [ebp - 0x454], esi
test esi, esi
je 0x52c826
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 0x52c4df
mov ecx, dword [esi]
mov dword [ebp - 0x444], ecx
cmp eax, 0x10
jae 0x52c501
movups xmm0, xmmword [ecx]
mov edx, 0xf
mov dword [ebp - 0x450], edx
movups xmmword [ebp - 0x428], xmm0
mov edi, dword [ebp - 0x428]
jmp 0x52c563
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, edi
mov dword [ebp - 0x450], eax
inc eax
cmp eax, 0x1000
jb 0x52c527
push eax
call fcn.0043e350
add esp, 4
mov edi, eax
jmp 0x52c53a
test eax, eax
je 0x52c538
push eax
call fcn.005a48da
add esp, 4
mov edi, eax
jmp 0x52c53a
xor edi, edi
mov eax, dword [ebp - 0x448]
inc eax
mov dword [ebp - 0x428], 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 - 0x414], edx
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
test eax, eax
je 0x52c664
cmp edx, 0x10
lea ecx, [ebp - 0x428]
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 0x52c5a1
mov eax, dword [ebp - 0x448]
mov edx, dword [ebp - 0x450]
add eax, 0xffffffff
je 0x52c664
cmp edx, 0x10
lea ecx, [ebp - 0x428]
cmovae ecx, edi
cmp byte [ecx + eax], 0x2f
je 0x52c5f2
cmp edx, 0x10
lea ecx, [ebp - 0x428]
cmovae ecx, edi
cmp byte [ecx + eax], 0x5c
je 0x52c5f2
test eax, eax
je 0x52c664
sub eax, 1
jne 0x52c5c3
jmp 0x52c664
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x448]
cmp ecx, eax
jae 0x52c65a
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 - 0x428]
cmp edx, 0x10
cmovae eax, edi
mov al, byte [eax + ecx]
mov byte [esi + ecx], al
inc ecx
cmp ecx, dword [ebp - 0x448]
jb 0x52c620
mov eax, dword [ebp - 0x460]
mov esi, dword [ebp - 0x454]
cmp eax, 0x400
jae 0x52c84b
jmp 0x52c65c
xor eax, eax
mov byte [ebp + eax - 0x410], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x430], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x52c692
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.0043e410
or dword [ebp - 0x464], 1
mov eax, dword [ebp - 0x450]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x52c6ef
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x52c6e5
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52c850
push ecx
push edi
call fcn.005a48cc
add esp, 8
cmp dword [ebp - 0x42c], 0x10
lea ecx, [ebp - 0x440]
mov edi, dword [ebp - 0x440]
mov eax, dword [ebp - 0x430]
cmovae ecx, edi
add eax, ecx
mov dword [ebp - 0x444], edi
xor edx, edx
cmp ecx, eax
jae 0x52c736
mov edi, eax
nop dword [eax + eax]
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, edi
jb 0x52c720
mov edi, dword [ebp - 0x444]
cmp dword [ebp - 0x470], edx
je 0x52c7a2
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x52c77b
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x52c771
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52c850
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 - 0x454], esi
jne 0x52c4c0
mov esi, dword [ebp - 0x458]
jmp 0x52c800
mov ecx, dword [esi + 0x18]
call fcn.00531710
mov ecx, dword [ebp - 0x46c]
mov esi, dword [ebp - 0x458]
add ecx, esi
push ecx
mov ecx, eax
call fcn.00536f90
add esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
cmp eax, 0x10
jb 0x52c7fb
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x52c7f1
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52c850
push ecx
push edi
call fcn.005a48cc
add esp, 8
mov edi, closesocket
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x45c]
inc ecx
mov dword [ebp - 0x44c], ecx
cmp ecx, dword [ebp - 0x468]
jge 0x52c82e
mov eax, dword [ebp - 0x46c]
jmp 0x52c470
mov esi, dword [ebp - 0x458]
jmp 0x52c80c
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