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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eda2d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101258d4]
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 - 0x60], esi
lea edi, [esi + 0x7c]
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x70], edi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x1004ad5b
cmp dword [esi + 0xb0], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
je 0x1004aae3
push dword [eax + 4]
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
push dword [eax]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.100204c0
mov eax, dword [esi + 0xac]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
cmp esi, eax
je 0x1004aac7
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x54], eax
jb 0x1004a992
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax + 0x10]
xor ecx, ecx
mov edi, 0x811c9dc5
test edx, edx
je 0x1004a9b7
mov eax, dword [ebp - 0x54]
movzx eax, byte [ecx + eax]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x1004a9a0
lea eax, [esi + 0x10]
push edi
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x30]
call fcn.100204c0
cmp dword [eax + 4], 0
je 0x1004aaa7
cmp dword [esi + 0x24], 0x10
lea edi, [esi + 0x10]
mov dword [ebp - 0x54], edi
jb 0x1004a9e0
mov eax, dword [edi]
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 0x58], edx
cmp dword [edi + 0x10], ecx
jbe 0x1004aa0a
mov esi, dword [ebp - 0x54]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x1004a9f2
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
push edx
push edi
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x30]
call fcn.100204c0
mov edx, dword [eax + 4]
test edx, edx
je 0x1004aa6d
mov ecx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x1004aa48
cmp eax, edx
jne 0x1004aa40
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x1004aa50
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x1004aa50
cmp eax, edx
jne 0x1004aa50
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [ebp - 0x28]
mov eax, dword [edx + 4]
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100204c0
add esp, 8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], esi
call fcn.10007d80
mov ecx, dword [ebp - 0x60]
push esi
lea ecx, [ecx + 0xac]
call fcn.100204c0
mov esi, eax
lea ecx, [esi + 0x10]
call fcn.10049ae0
push 0x80
push esi
call fcn.100204c0
mov esi, dword [ebp - 0x54]
add esp, 8
mov dword [ebp - 0x58], esi
jmp 0x1004aab2
lea ecx, [ebp - 0x58]
call fcn.10007d80
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], esi
cmp esi, dword [ecx + 0xac]
jne 0x1004a981
mov edi, dword [ebp - 0x64]
cmp dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
jne 0x1004aadb
call fcn.100499d0
push edi
jmp 0x1004ad2e
call fcn.100499d0
mov esi, dword [ebp - 0x60]
push edi
mov byte [ebp - 4], 0
call sub.MSVCP140.dll__Mtx_unlock
add esi, 0x10
push esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], esi
call sub.MSVCP140.dll__Mtx_lock
add esp, 8
test eax, eax
jne 0x1004ad61
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x50]
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x50], xmm0
push dword [eax + 4]
movups xmmword [ebp - 0x40], xmm0
push dword [eax]
call fcn.100204c0
mov edi, dword [ebp - 0x60]
add edi, 0x40
mov dword [ebp - 0x64], 5
mov dword [ebp - 0x58], edi
mov esi, dword [edi]
mov eax, 0x2e8ba2e9
mov ecx, dword [edi + 4]
sub ecx, esi
mov dword [ebp - 0x5c], esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004ad12
cmp dword [ebp - 0x48], 0
je 0x1004ad12
cmp esi, dword [edi + 4]
je 0x1004ad12
nop word [eax + eax]
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x54], esi
jb 0x1004ab7e
mov eax, dword [esi]
mov dword [ebp - 0x54], eax
mov edx, dword [esi + 0x10]
xor ecx, ecx
mov edi, 0x811c9dc5
test edx, edx
je 0x1004aba4
mov esi, dword [ebp - 0x54]
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x1004ab90
mov esi, dword [ebp - 0x5c]
push edi
push esi
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x50]
call fcn.100204c0
cmp dword [eax + 4], 0
je 0x1004acfe
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x54], esi
jb 0x1004abca
mov eax, dword [esi]
mov dword [ebp - 0x54], eax
mov edx, dword [esi + 0x10]
xor ecx, ecx
mov edi, 0x811c9dc5
test edx, edx
je 0x1004abf4
mov esi, dword [ebp - 0x54]
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x1004abe0
mov esi, dword [ebp - 0x5c]
push edi
push esi
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x50]
call fcn.100204c0
mov edx, dword [eax + 4]
test edx, edx
je 0x1004ac59
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x1004ac34
cmp eax, edx
jne 0x1004ac2c
mov eax, dword [ebp - 0x4c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x1004ac3c
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x1004ac3c
cmp eax, edx
jne 0x1004ac3c
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [ebp - 0x48]
mov eax, dword [edx + 4]
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100204c0
add esp, 8
mov edi, dword [ebp - 0x60]
mov ecx, dword [esi + 0x44]
sub ecx, dword [esi + 0x40]
add ecx, 0x58
mov edx, dword [edi + 0xb4]
cmp ecx, edx
mov eax, edx
cmovb eax, ecx
sub edx, eax
lea eax, [esi + 0x58]
mov dword [edi + 0xb4], edx
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov ecx, dword [edi + 4]
mov dword [ebp - 0x68], ecx
cmp eax, ecx
je 0x1004acf0
lea edi, [esi + 0x30]
mov esi, eax
push esi
lea ecx, [edi - 0x30]
call fcn.100204c0
lea eax, [edi + 0x40]
push eax
lea ecx, [edi - 0x18]
call fcn.100204c0
mov eax, dword [edi + 0x58]
mov dword [edi], eax
mov eax, dword [edi + 0x5c]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x64]
mov dword [edi + 8], eax
lea eax, [edi + 0x68]
mov dword [edi + 0xc], ecx
lea ecx, [edi + 0x10]
push eax
call fcn.100204c0
mov eax, dword [edi + 0x74]
lea edi, [edi + 0x58]
mov dword [edi - 0x3c], eax
add esi, 0x58
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [edi - 0x38], eax
mov dword [edi - 0x34], ecx
cmp esi, dword [ebp - 0x68]
jne 0x1004ac92
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov ecx, dword [edi + 4]
add ecx, 0xffffffa8
call fcn.10026ea0
add dword [edi + 4], 0xffffffa8
jmp 0x1004ad07
mov edi, dword [ebp - 0x58]
add esi, 0x58
mov dword [ebp - 0x5c], esi
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x1004ab70
add edi, 0xc
sub dword [ebp - 0x64], 1
mov dword [ebp - 0x58], edi
jne 0x1004ab36
lea ecx, [ebp - 0x50]
call fcn.100499d0
mov esi, dword [ebp - 0x70]
push esi
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
lea ecx, [ebp + 0xc]
call fcn.100422a0
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.100e5f10
mov esp, ebp
pop ebp
ret 0x28
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3