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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x24]
shr edx, 2
cmp eax, edx
push esi
push edi
ja 0x453b45
mov edx, dword [ebx + 0x14]
test edx, edx
lea esi, [ebx + 0x10]
jne 0x453811
xor ecx, ecx
jmp 0x453819
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 3
add ecx, 0xffffffff
cmp ecx, eax
ja 0x45385e
mov ecx, edx
test ecx, ecx
jne 0x45382a
xor eax, eax
jmp 0x453832
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
lea eax, [eax + eax - 3]
mov dword [ebx + 0x20], eax
mov edx, dword [ebx + 8]
lea ecx, [ebx + 4]
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x20]
add eax, 2
mov ecx, esi
call fcn.00454150
jmp 0x45386c
mov ecx, dword [ebx + 0x20]
cmp ecx, eax
jae 0x45386c
lea ecx, [ecx + ecx + 1]
mov dword [ebx + 0x20], ecx
mov edx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x24]
mov ecx, dword [esi + 4]
shr edx, 1
sub edi, edx
sub edi, 1
test ecx, ecx
mov dword [esp + 0x10], edi
je 0x453890
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x453895
call fcn.006151fe
add ebx, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*8 + 4]
mov dword [esp + 0x1c], ecx
jne 0x4538aa
call fcn.006151fe
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4538c8
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
lea ecx, [edi + 1]
cmp ecx, eax
jb 0x4538cd
call fcn.006151fe
mov edx, dword [esi + 4]
cmp dword [edx + edi*8 + 0xc], ebx
lea eax, [edi + 1]
je 0x453b39
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x4538ea
call fcn.006151fe
cmp ebx, dword [edi + 4]
jne 0x4538f4
call fcn.006151fe
cmp dword [ebx + 0x20], 0x10
jb 0x4538ff
mov ecx, dword [ebx + 0xc]
jmp 0x453902
lea ecx, [ebx + 0xc]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x453907
sub eax, edi
add eax, ecx
cmp ecx, eax
mov edx, 0x811c9dc5
je 0x453932
lea ecx, [ecx]
movsx edi, byte [ecx]
imul edx, edx, 0x1000193
add ecx, 1
xor edx, edi
cmp ecx, eax
jne 0x453920
push 0x1f31d
push edx
call fcn.00616f87
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
jns 0x453956
add edx, 0x7fffffff
mov ecx, dword [ebp + 8]
and edx, dword [ecx + 0x20]
mov edi, dword [esp + 0x10]
cmp edx, edi
mov eax, dword [esp + 0x20]
jne 0x453979
cmp ebx, dword [eax + 4]
jne 0x453972
call fcn.006151fe
mov ebx, dword [ebx]
jmp 0x4538b2
cmp ebx, dword [eax + 4]
lea edi, [ecx + 4]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ecx
jne 0x453995
call fcn.006151fe
cmp dword [esp + 0x18], edi
mov edx, dword [ebx]
mov dword [esp + 0x1c], edx
je 0x4539a6
call fcn.006151fe
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x1c], eax
je 0x453aa2
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4539cb
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4539d0
call fcn.006151fe
mov ecx, dword [esi + 4]
cmp dword [ecx + edi*8 + 4], ebx
jne 0x453a09
test ecx, ecx
je 0x4539e9
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4539ee
call fcn.006151fe
test edi, edi
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax + edi*8], edx
mov dword [eax + edi*8 + 4], ecx
je 0x453a09
sub edi, 1
jmp 0x4539b8
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
add eax, 4
cmp eax, eax
je 0x453a23
mov edx, dword [ebp + 8]
xor ecx, ecx
add edx, 4
call fcn.00454200
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
mov dword [edx], ecx
mov eax, dword [ecx + 4]
mov dword [eax], edi
mov edx, dword [edi + 4]
mov dword [edx], ebx
mov edx, dword [ecx + 4]
mov eax, dword [edi + 4]
mov dword [edi + 4], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov ecx, dword [ebp + 8]
add ecx, 4
mov dword [ebx + 4], eax
mov eax, dword [ecx + 4]
mov edi, dword [eax + 4]
cmp edi, eax
jne 0x453a5d
call fcn.006151fe
mov ecx, dword [ebp + 8]
lea eax, [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 4]
mov ebx, edi
mov edi, dword [ecx + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
add edi, 1
test eax, eax
je 0x453a89
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x453a8e
call fcn.006151fe
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
add ecx, 4
mov dword [eax + edi*8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + edi*8 + 4], ecx
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x24]
cmp dword [esp + 0x10], edi
jae 0x453b0c
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
add eax, 4
test ecx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
je 0x453ace
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x453ad3
call fcn.006151fe
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x3c]
cmp dword [ecx + edi*8 + 4], edx
jne 0x453b0c
test ecx, ecx
je 0x453af0
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x453af5
call fcn.006151fe
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], ebx
sub edi, 1
cmp dword [esp + 0x10], edi
jb 0x453aae
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
add eax, 4
cmp dword [esp + 0x18], eax
je 0x453b20
call fcn.006151fe
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
je 0x453b39
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], edx
jmp 0x4538b2
mov eax, dword [ebp + 8]
add dword [eax + 0x24], 1
mov ecx, dword [ebp + 0x10]
mov ebx, eax
cmp dword [ecx + 0x18], 0x10
jb 0x453b53
mov esi, dword [ecx + 4]
lea eax, [ecx + 4]
jmp 0x453b56
lea esi, [ecx + 4]
mov eax, esi
lea edx, [eax + 1]
jmp 0x453b60
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x453b60
sub eax, edx
add eax, esi
cmp esi, eax
mov ecx, esi
mov edx, 0x811c9dc5
je 0x453b92
jmp 0x453b80
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
add ecx, 1
xor edx, esi
cmp ecx, eax
jne 0x453b80
push 0x1f31d
push edx
call fcn.00616f87
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x453bb7
add eax, 0x7fffffff
mov ecx, dword [ebx + 0x20]
and eax, ecx
cmp dword [ebx + 0x24], eax
mov dword [esp + 0x10], eax
ja 0x453bd2
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x14]
test ecx, ecx
mov dword [esp + 0x18], eax
lea esi, [eax + 1]
je 0x453bec
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x453bf1
call fcn.006151fe
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + esi*8 + 4]
lea edi, [ebx + 4]
test edi, edi
jne 0x453c04
call fcn.006151fe
mov dword [esp + 0x20], edi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x453c1d
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp dword [esp + 0x10], eax
jb 0x453c22
call fcn.006151fe
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x10]
cmp dword [ecx + edx*8 + 4], esi
je 0x453d2c
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x453c40
call fcn.006151fe
mov esi, dword [esi + 4]
cmp esi, dword [edi + 4]
jne 0x453c57
call fcn.006151fe
cmp esi, dword [edi + 4]
jne 0x453c57
call fcn.006151fe
cmp dword [esi + 0x20], 0x10
jb 0x453c62
mov edx, dword [esi + 0xc]
jmp 0x453c65
lea edx, [esi + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 0x14]
mov ecx, edi
mov ecx, dword [esi + 0x1c]
cmp edi, ecx
jae 0x453c76
mov ecx, edi
cmp dword [eax + 0x18], 0x10
jb 0x453c83
add eax, 4
mov eax, dword [eax]
jmp 0x453c86
add eax, 4
push ecx
push edx
push eax
call fcn.00403fd0
add esp, 0xc
test eax, eax
jne 0x453ca6
cmp edi, dword [esi + 0x1c]
jb 0x453c08
cmp edi, dword [esi + 0x1c]
setne al
test eax, eax
jl 0x453c08
mov eax, dword [esp + 0x20]
cmp esi, dword [eax + 4]
jne 0x453cba
call fcn.006151fe
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x10], ecx
jb 0x453cd2
mov edx, dword [eax + 4]
add eax, 4
jmp 0x453cd7
add eax, 4
mov edx, eax
mov edi, dword [esi + 0x1c]
mov eax, edi
cmp eax, edi
jae 0x453ce0
cmp edi, ecx
jae 0x453ce6
mov ecx, edi
cmp dword [esi + 0x20], 0x10
jb 0x453cf1
mov eax, dword [esi + 0xc]
jmp 0x453cf4
lea eax, [esi + 0xc]
push ecx
push edx
push eax
call fcn.00403fd0
add esp, 0xc
test eax, eax
jne 0x453d16
mov eax, dword [esp + 0x10]
cmp edi, eax
jb 0x453d1c
xor ecx, ecx
cmp edi, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x453dd5
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 4]
jne 0x453d2a
call fcn.006151fe
mov esi, dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
push eax
push ecx
push esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
call fcn.00454360
mov ecx, 1
lea edx, [ebx + 4]
mov edi, eax
call fcn.00454200
cmp dword [esp + 0x20], 0
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov dword [edx], edi
jne 0x453d69
call fcn.006151fe
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
jne 0x453d7e
call fcn.006151fe
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x453d95
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x453d9a
call fcn.006151fe
mov edx, dword [ebx + 0x14]
cmp dword [edx + edi*8 + 4], esi
jne 0x453dee
mov ecx, edx
test ecx, ecx
je 0x453db5
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x453dba
call fcn.006151fe
test edi, edi
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
je 0x453dee
sub edi, 1
jmp 0x453d82
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], esi
mov byte [eax + 8], 0
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax + 4], edx
mov byte [eax + 8], 1
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc