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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x6c
mov dword [ebp - 0x4c], ecx
call fcn.004cb890
lea ecx, [edi + 0x14]
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x3f800000
mov dword [edi + 0x18], 0
mov dword [edi + 8], eax
mov dword [esp], 0xa
call fcn.005e86a0
mov ecx, dword [edi + 8]
lea ebx, [eax*4]
sub esp, 4
mov dword [edi + 4], eax
mov dword [esp], ebx
call fcn.004cba30
sub esp, 4
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [edi], esi
call fcn.004cb890
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x30]
add edi, 0x1c
mov esi, eax
mov dword [ebp - 0x5c], eax
call fcn.004cb890
mov ebx, eax
call fcn.004cb890
mov dword [esp], 0xd
mov ecx, eax
call fcn.004cba30
mov ecx, esi
sub esp, 4
lea edx, [eax + 0xc]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0
mov byte [eax + 0xc], 0
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], edx
mov dword [esp + 4], 0xb
mov dword [esp], str._bad_token_
call fcn.005f4300
mov eax, 0x7e
mov byte [ebp - 0x2b], 0
mov dword [ebp - 0x54], str.______._____:___
mov dword [ebp - 0x60], edi
sub esp, 8
lea esi, [esi]
mov edi, eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x50], eax
call fcn.004cb890
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.005f4b30
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], edi
sub esp, 8
mov dword [esp], eax
call fcn.006040c0
mov dword [ebp - 0x58], eax
mov eax, dword [eax + 8]
sub esp, 4
mov edi, dword [eax - 0xc]
mov ecx, eax
mov dword [ebp - 0x48], eax
test edi, edi
mov dword [ebp - 0x40], edi
je 0x5355d8
add ecx, edi
mov esi, 0x811c9dc5
lea esi, [esi]
movsx edx, byte [eax]
add eax, 1
xor edx, esi
imul esi, edx, 0x1000193
cmp eax, ecx
jne 0x5352f0
mov ebx, dword [ebp - 0x4c]
xor edx, edx
mov eax, esi
mov edi, dword [ebx + 4]
div edi
mov eax, dword [ebx]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x3c], edx
test eax, eax
je 0x53533c
mov ebx, dword [eax]
mov ecx, dword [ebx + 0x10]
nop
cmp ecx, esi
je 0x535517
mov ebx, dword [ebx]
test ebx, ebx
je 0x53533c
mov ecx, dword [ebx + 0x10]
xor edx, edx
mov eax, ecx
div edi
cmp dword [ebp - 0x3c], edx
je 0x535320
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.00604230
sub esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x20]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
lea ebx, [edi + 1]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, ebx
jb 0x535584
mov eax, dword [ebp - 0x50]
add esi, 4
add dword [ebp - 0x54], 1
mov dword [edx + eax*4], esi
mov eax, dword [ebp - 0x54]
movsx eax, byte [eax]
test al, al
jne 0x535290
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0
add eax, 0x1c
mov dword [ebp - 0x60], eax
nop
lea esi, [esi]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax*8 + 0x6e0160]
mov ebx, dword [eax*8 + 0x6e0164]
mov dword [ebp - 0x50], edi
call fcn.004cb890
lea ecx, [ebp - 0x24]
mov dword [esp], ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
call fcn.005f4b30
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], edi
sub esp, 8
mov dword [esp], eax
call fcn.006040c0
mov dword [ebp - 0x58], eax
mov eax, dword [eax + 8]
sub esp, 4
mov edi, dword [eax - 0xc]
mov ecx, eax
mov dword [ebp - 0x48], eax
test edi, edi
mov dword [ebp - 0x40], edi
je 0x5355a8
add ecx, edi
mov esi, 0x811c9dc5
movsx edx, byte [eax]
add eax, 1
xor edx, esi
imul esi, edx, 0x1000193
cmp eax, ecx
jne 0x535415
mov ebx, dword [ebp - 0x4c]
xor edx, edx
mov eax, esi
mov edi, dword [ebx + 4]
div edi
mov eax, dword [ebx]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x3c], edx
test eax, eax
je 0x535460
mov ebx, dword [eax]
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
je 0x5354d0
mov ebx, dword [ebx]
test ebx, ebx
je 0x535460
mov ecx, dword [ebx + 0x10]
xor edx, edx
mov eax, ecx
div edi
cmp dword [ebp - 0x3c], edx
je 0x535444
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.00604230
sub esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x20]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
lea ebx, [edi + 1]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, ebx
jb 0x535560
mov eax, dword [ebp - 0x50]
add esi, 4
add dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0x2a
mov dword [edx + eax*4], esi
jne 0x5353b0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x2c], 0xb7
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
cmp edx, ecx
cmovbe ecx, edx
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [ebp - 0x44], edx
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x53544c
mov edx, dword [ebp - 0x44]
cmp dword [ebp - 0x40], edx
jne 0x53544c
mov eax, dword [ebp - 0x48]
lock sub dword [eax - 4], 1
mov esi, ebx
jmp 0x53547e
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
cmp edx, ecx
cmovbe ecx, edx
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [ebp - 0x44], edx
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x535328
mov edx, dword [ebp - 0x44]
cmp dword [ebp - 0x40], edx
jne 0x535328
mov eax, dword [ebp - 0x48]
lock sub dword [eax - 4], 1
mov esi, ebx
jmp 0x53535a
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x50]
lea ebx, [edi + 0x64]
cmp eax, ebx
jb 0x5355b2
jbe 0x5354a4
mov edi, dword [ebp - 0x4c]
lea eax, [edx + ebx*4]
mov dword [edi + 0x24], eax
jmp 0x5354a4
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x50]
lea ebx, [edi + 0x64]
cmp eax, ebx
jb 0x5355e2
jbe 0x535380
mov edi, dword [ebp - 0x4c]
lea eax, [edx + ebx*4]
mov dword [edi + 0x24], eax
jmp 0x535380
mov esi, 0x811c9dc5
jmp 0x535427
mov dword [esp], ecx
mov ecx, dword [ebp - 0x60]
sub ebx, eax
lea edi, [ebp - 0x24]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
call fcn.006343f0
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x20]
sub esp, 0xc
jmp 0x5354a4
mov esi, 0x811c9dc5
jmp 0x535302
mov dword [esp], ecx
mov ecx, dword [ebp - 0x60]
sub ebx, eax
lea edi, [ebp - 0x24]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
call fcn.006343f0
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x20]
sub esp, 0xc
jmp 0x535380