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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42db48
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x440024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x2c], 0
mov edi, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], esi
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x40a822
mov edi, dword [esi]
xor edx, edx
mov ecx, 0x811c9dc5
add eax, eax
je 0x40a844
mov esi, eax
nop
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, esi
jb 0x40a830
mov esi, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00401680
cmp dword [eax + 4], 0
jne 0x40ab01
mov dword [ebp - 0xd4], 0x42f4d8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x84], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x2c], 1
call fcn.00402280
mov eax, dword [ebp - 0xd4]
push 8
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd8], eax
mov dword [ebp - 0xd0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00412a36
mov edi, eax
add esp, 4
test edi, edi
je 0x40a90b
push 1
mov byte [ebp - 4], 2
call fcn.0041121f
add esp, 4
mov dword [edi + 4], eax
jmp 0x40a90d
xor edi, edi
lea eax, [ebp - 0xcc]
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xd0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 4
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], 3
push 0x430008
push eax
call fcn.00401100
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x40a9db
mov esi, dword [esi]
push 0x430004
push ecx
push esi
push eax
call fcn.00401710
add esp, 0xc
push eax
call fcn.00407dc0
mov edi, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 0x94]
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], 5
test cl, 2
jne 0x40aa49
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
test edx, edx
je 0x40aa49
cmp edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xc0]
cmovb edx, dword [ebp - 0x98]
mov ecx, dword [eax]
sub edx, ecx
sar edx, 1
push edx
jmp 0x40aa73
test cl, 4
jne 0x40aa7c
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
test edx, edx
je 0x40aa7c
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
add eax, eax
sub eax, ecx
add eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406100
mov eax, dword [edi + 0x34]
mov dword [ebp - 4], 5
cmp eax, dword [edi + 0x38]
je 0x40aaaf
movups xmm0, xmmword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
add dword [edi + 0x34], 0x18
call fcn.004037e0
xor al, al
jmp 0x40ab03
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.004014b0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40aaf2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aae8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab20
push edx
push ecx
call fcn.00412a66
add esp, 8
lea ecx, [ebp - 0xd4]
call fcn.004037e0
xor al, al
jmp 0x40ab03
mov al, 1
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.00412a74
mov esp, ebp
pop ebp
ret 4
call fcn.00416d9f
int3