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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0b8a
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x64e2c0]
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 - 0x88], esi
push 1
push 0x40
push 1
push str.Asset_Data_charaData.json
lea ecx, [ebp - 0x15c]
call fcn.0045a490
mov eax, dword [ebp - 0x15c]
xorps xmm0, xmm0
mov byte [ebp - 0x7f], 0
mov word [ebp - 0x94], 1
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp + eax - 0x124]
test ecx, ecx
mov dword [ebp - 0x7c], ecx
sete byte [ebp - 0x80]
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00459fb0
add esp, 8
test al, al
je 0x45b021
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x45b03a
push 0
push dword [ebp - 0x80]
lea ecx, [ebp - 0x58]
push dword [ebp - 0x84]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
call fcn.0045a050
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00431fb0
add esp, 0x10
mov eax, dword [str.player]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], eax
mov ax, word [0x5f8c64]
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x2c], 0xf
mov word [ebp - 0x3c], ax
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa4]
call fcn.0042fbd0
mov ecx, eax
call fcn.00431f80
mov ecx, dword [ebp - 0x2c]
mov edi, eax
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x45b0ef
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b0e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9f6
push ecx
push edx
call fcn.005b26d8
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x28], xmm0
mov eax, 0x7048
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0xf
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.0042ede0
mov ecx, dword [eax]
add ecx, 0x28
call fcn.00431d30
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x45b17e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b174
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9fb
push ecx
push edx
call fcn.005b26d8
add esp, 8
mov eax, dword [str.Attack]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], eax
mov ax, word [0x5f8c6c]
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x14], 0xf
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.0042ede0
mov ecx, dword [eax]
add ecx, 0x28
call fcn.00431d30
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x45b204
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b1fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ba00
push ecx
push edx
call fcn.005b26d8
add esp, 8
mov eax, dword [str.Defense]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], eax
mov ax, word [0x5f8c74]
mov word [ebp - 0x24], ax
mov al, byte [0x5f8c76]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.0042ede0
mov ecx, dword [eax]
add ecx, 0x28
call fcn.00431d30
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x45b292
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b288
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ba05
push ecx
push edx
call fcn.005b26d8
add esp, 8
mov ax, word [0x5f8c80]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x20], ax
movq xmm0, qword [str.StatusPoint]
mov al, byte [0x5f8c82]
mov dword [ebp - 0x18], 0xb
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.0042ede0
mov ecx, dword [eax]
add ecx, 0x28
call fcn.00431d30
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x45b325
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b31b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ba0a
push ecx
push edx
call fcn.005b26d8
add esp, 8
lea ecx, [ebp - 0x14c]
call fcn.00439e00
test eax, eax
jne 0x45b370
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x124], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x150]
and eax, 0x17
mov dword [ebp + ecx - 0x150], eax
mov ecx, dword [ebp + ecx - 0x14c]
and ecx, eax
jne 0x45ba0f
or edi, 0xffffffff
cmp dword [esi + 0x248], 0
jne 0x45b6db
push 0x28
call fcn.005b2e07
mov ecx, eax
add esp, 4
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x45b3e2
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 1
mov dword [ecx + 8], 1
mov dword [ecx], vtable.std::_Ref_count_obj2_class_KdModelWork_.0
mov byte [ecx + 0xc], 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov byte [ecx + 0x24], 0
jmp 0x45b3e4
xor ecx, ecx
mov edx, dword [esi + 0x24c]
lea eax, [ecx + 0xc]
mov dword [esi + 0x248], eax
mov dword [ebp - 0x74], edx
mov dword [esi + 0x24c], ecx
test edx, edx
je 0x45b420
mov eax, edi
lock xadd dword [edx + 4], eax
jne 0x45b420
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x74]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x45b420
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x248]
mov ecx, dword [0x655918]
mov dword [ebp - 0x78], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x655458]
cmp eax, dword [ecx + 0x10]
jg 0x45ba54
push 0x1f
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.Asset_Models_Chara_Knight5.gltf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.0042e940
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov edx, 0x811c9dc5
cmova eax, dword [ebp - 0x40]
xor ecx, ecx
cmp dword [ebp - 0x30], ecx
jbe 0x45b49e
mov esi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x30]
jb 0x45b486
mov esi, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x40]
mov ecx, 0x655438
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0043b530
mov edx, dword [0x65543c]
mov ecx, edx
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x94], ecx
cmp eax, 0xf
jbe 0x45b512
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x40]
mov edx, eax
cmp ecx, 0x1000
jb 0x45b4fc
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x74], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x45b9f6
mov eax, dword [ebp - 0x74]
push ecx
push eax
call fcn.005b26d8
mov edx, dword [0x65543c]
add esp, 8
mov ecx, dword [ebp - 0x94]
cmp ecx, edx
je 0x45b543
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x45b532
lock inc dword [eax + 4]
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x80], eax
jmp 0x45b55b
push 0x1f
push str.Asset_Models_Chara_Knight5.gltf
lea eax, [ebp - 0x84]
mov ecx, 0x655438
push eax
call fcn.0043c530
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0xa
call fcn.004c0510
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 3
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x45b59a
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x45b59a
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x78]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x45b59a
mov eax, dword [ecx]
call dword [eax + 4]
push 0x1c
call fcn.005b2e07
mov ecx, eax
add esp, 4
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x45b5ee
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 1
mov dword [ecx + 8], 1
mov dword [ecx], vtable.std::_Ref_count_obj2_class_KdAnimator_.0
movups xmmword [ecx + 0xc], xmm0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x18], 0
jmp 0x45b5f0
xor ecx, ecx
mov edx, dword [esi + 0x254]
lea eax, [ecx + 0xc]
mov dword [esi + 0x250], eax
mov dword [ebp - 0x78], edx
mov dword [esi + 0x254], ecx
test edx, edx
je 0x45b62c
mov eax, edi
lock xadd dword [edx + 4], eax
jne 0x45b62c
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x78]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x45b62c
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x248]
mov eax, dword [esi + 0x250]
mov dword [ebp - 0x78], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x45b646
lock inc dword [eax + 4]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x80], edx
sub esp, 8
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [eax], 0x5f83d0
mov dword [eax + 4], 9
lea eax, [ebp - 0x90]
push eax
call fcn.004c0260
mov ecx, dword [ebp - 0x78]
push 1
push eax
call fcn.0044aa80
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x45b6b0
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x45b6b0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x78]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x45b6b0
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x45b6db
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x45b6db
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x74]
mov eax, edi
lock xadd dword [edx + 8], eax
jne 0x45b6db
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
lea ecx, [ebp - 0x19c]
call fcn.00434e40
movups xmm0, xmmword [0x5f7ec0]
add esi, 0x68
lea ecx, [ebp - 0x19c]
movups xmm1, xmmword [0x5f7dd0]
movups xmm2, xmmword [0x5f7ed0]
movups xmm3, xmmword [0x5eec70]
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm1
movups xmmword [esi + 0x20], xmm2
movups xmmword [esi + 0x30], xmm3
call fcn.00434e40
mov ecx, dword [ebp - 0x88]
movups xmm3, xmmword [0x5f7de0]
lea eax, [ecx + 0x130]
movups xmm0, xmmword [0x5f8cf0]
push esi
movups xmm1, xmmword [0x5f8000]
mov esi, ecx
movups xmm2, xmmword [0x5f8d00]
push eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm3
lea eax, [esi + 0x260]
movups xmm0, xmmword [0x602108]
push eax
lea eax, [ebp - 0x19c]
movups xmmword [ecx + 0x28], xmm0
push eax
movups xmm0, xmmword [0x602118]
movups xmmword [ecx + 0x38], xmm0
movups xmm0, xmmword [0x602128]
movups xmmword [ecx + 0x48], xmm0
movups xmm0, xmmword [0x602138]
movups xmmword [ecx + 0x58], xmm0
call fcn.0043a8f0
add esp, 0xc
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.0043a8f0
push 0x24
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esi + 0x58], xmm0
call fcn.005b2e07
add esp, 0x10
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x45b84e
mov dword [eax], 0
push 0x24
mov dword [ebp - 0x78], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.005b2e07
mov edx, dword [ebp - 0x74]
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edx + 4], eax
lea ecx, [edx + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edx + 0x18], 7
mov dword [edx + 0x1c], 8
mov dword [edx], 0x3f800000
push dword [edx + 4]
mov byte [ebp - 4], 0xe
push 0x10
call fcn.00437690
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x20], 0
jmp 0x45b850
xor eax, eax
mov ecx, dword [esi + 0xa8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x78], ecx
mov dword [esi + 0xa8], eax
test ecx, ecx
je 0x45b879
call fcn.0043bcc0
push 0x24
push dword [ebp - 0x78]
call fcn.005b26d8
add esp, 8
mov ecx, dword [esi + 0xa8]
lea eax, [esi + 0x248]
push 2
push eax
sub esp, 8
mov eax, esp
mov dword [eax], str.Player
mov dword [eax + 4], 6
call fcn.004700e0
mov ecx, esi
call fcn.004389f0
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x45b8ce
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45b8ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x45b8ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x45b906
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b8fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ba9c
push ecx
push edx
call fcn.005b26d8
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x45b950
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b946
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ba9c
push ecx
push edx
call fcn.005b26d8
add esp, 8
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x160], eax
lea ecx, [ebp - 0x14c]
call fcn.0044f860
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x160], eax
lea eax, [ebp - 0xec]
mov dword [ebp - 4], 0xf
push eax
mov dword [ebp - 0xec], vtable.std::ios_base.0
call fcn.004f6241
add esp, 4
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.005b26e6
mov esp, ebp
pop ebp
ret
call fcn.005c1009
call fcn.005c1009
call fcn.005c1009
call fcn.005c1009
call fcn.005c1009
test cl, 4
je 0x45ba1b
mov esi, str.ios_base::badbit_set
jmp 0x45ba2b
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x90]
push 1
push eax
call fcn.0043a220
add esp, 8
lea ecx, [ebp - 0x3c]
push eax
push esi
call fcn.004393d0
push 0x63ee9c
lea eax, [ebp - 0x3c]
push eax
call fcn.005b4f5d
push 0x655458
call fcn.005b2bcf
add esp, 4
cmp dword [0x655458], 0xffffffff
jne 0x45b449
mov ecx, 0x655418
mov byte [ebp - 4], 9
call fcn.0043ba10
push 0x5ec490
call fcn.005b2b3e
push 0x655458
mov byte [ebp - 4], 3
call fcn.005b2b7e
add esp, 8
jmp 0x45b449
call fcn.005c1009
int3