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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63d0ab
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x6d5600]
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 - 0x460], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x468], 0
mov esi, dword [eax]
mov dword [ebp - 0x458], esi
mov esi, 4
mov edx, dword [ebp - 0x458]
test edx, edx
jle 0x524d9d
nop dword [eax + eax]
mov eax, dword [eax + esi]
add esi, 4
cmp dword [ecx + 0x1420], 0
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x45c], esi
je 0x524a0c
mov eax, dword [ecx + 0x141c]
mov esi, dword [ecx + 0x142c]
mov esi, dword [esi + eax*4]
jmp 0x524a0e
xor esi, esi
mov dword [ebp - 0x454], esi
test esi, esi
je 0x524d92
nop dword [eax]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x44c], edi
jb 0x524a40
mov eax, dword [eax]
mov dword [ebp - 0x444], eax
cmp edi, 0x10
jae 0x524a6e
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x44c]
mov edx, 0xf
mov dword [ebp - 0x418], edi
movups xmmword [ebp - 0x428], xmm0
mov edi, dword [ebp - 0x428]
mov dword [ebp - 0x450], edx
jmp 0x524add
mov eax, edi
mov ecx, SysReAllocString
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x450], eax
inc eax
cmp eax, 0x1000
jb 0x524a9b
push eax
call fcn.0044f5f0
add esp, 4
mov edi, eax
jmp 0x524aae
test eax, eax
je 0x524aac
push eax
call fcn.00599754
add esp, 4
mov edi, eax
jmp 0x524aae
xor edi, edi
mov eax, dword [ebp - 0x44c]
inc eax
mov dword [ebp - 0x428], edi
push eax
push dword [ebp - 0x444]
push edi
call fcn.005d5670
mov eax, dword [ebp - 0x44c]
add esp, 0xc
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], edx
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
test eax, eax
je 0x524bde
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 0x524b15
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x450]
add eax, 0xffffffff
je 0x524bde
cmp edx, 0x10
setae byte [ebp - 0x445]
cmp edx, 0x10
lea ecx, [ebp - 0x428]
cmovae ecx, edi
cmp byte [ecx + eax], 0x2f
je 0x524b74
cmp edx, 0x10
lea ecx, [ebp - 0x428]
cmovae ecx, edi
cmp byte [ecx + eax], 0x5c
je 0x524b74
test eax, eax
je 0x524bde
sub eax, 1
jne 0x524b41
jmp 0x524bde
mov edx, dword [ebp - 0x44c]
lea ecx, [eax + 1]
cmp ecx, edx
jae 0x524bd4
lea eax, [ebp - 0x410]
sub eax, ecx
mov dword [ebp - 0x444], eax
mov eax, edx
mov esi, dword [ebp - 0x444]
sub eax, ecx
mov dword [ebp - 0x44c], eax
nop
cmp byte [ebp - 0x445], 0
lea eax, [ebp - 0x428]
cmovne eax, edi
mov al, byte [eax + ecx]
mov byte [esi + ecx], al
inc ecx
cmp ecx, edx
jb 0x524ba0
mov eax, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x454]
cmp eax, 0x400
jae 0x524dba
jmp 0x524bd6
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
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x524c10
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00451ee0
or dword [ebp - 0x464], 1
mov eax, dword [ebp - 0x450]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x524c6d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x524c63
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x524dbf
push ecx
push edi
call fcn.005994f5
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
xor edx, edx
cmp ecx, eax
jae 0x524ca9
mov esi, eax
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, esi
jb 0x524c93
mov esi, dword [ebp - 0x454]
cmp dword [ebp - 0x470], edx
je 0x524d34
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x524cf2
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x524ce8
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x524dbf
push ecx
push edi
call fcn.005994f5
add esp, 8
mov esi, dword [esi]
mov dword [ebp - 0x454], esi
test esi, esi
jne 0x524a20
mov esi, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x460]
mov edx, dword [ebp - 0x458]
mov eax, dword [ebp - 0x468]
inc eax
mov dword [ebp - 0x468], eax
cmp eax, edx
jge 0x524d9d
mov eax, dword [ebp - 0x46c]
jmp 0x5249e0
mov ecx, dword [esi + 0x20]
call fcn.00527d20
mov ecx, dword [ebp - 0x46c]
mov esi, dword [ebp - 0x45c]
add ecx, esi
push ecx
mov ecx, eax
call fcn.0052cac0
add esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
cmp eax, 0x10
jb 0x524d08
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x524d83
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x524dbf
push ecx
push edi
call fcn.005994f5
add esp, 8
jmp 0x524d08
mov esi, dword [ebp - 0x45c]
jmp 0x524d14
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.005994b1
mov esp, ebp
pop ebp
ret 4
call fcn.00599f08
call fcn.005e01aa
int3