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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10223ac6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x240
mov eax, dword [0x102d2084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x1035c398
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x224], 0
call fcn.10042810
mov dword [ebp - 4], 0
lea esi, [ebp - 0x64]
mov eax, dword [edi]
mov ecx, edi
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x224], 3
cmovae esi, dword [ebp - 0x64]
mov eax, dword [eax + 4]
call eax
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10087780
test cl, cl
je 0x1008777c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10087780
add eax, 2
add esi, 2
test cl, cl
jne 0x10087760
xor eax, eax
jmp 0x10087785
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100877a8
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
mov byte [ebp - 0x22d], 0
xor eax, 0xfd410b50
cmp dword [eax + 0x134], 0
jne 0x100877af
mov byte [ebp - 0x22d], 1
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.1002b860
cmp byte [ebp - 0x22d], 0
jne 0x10088023
test byte [0x10355aec], 8
je 0x10088023
mov eax, dword [edi]
mov ecx, 0x1035c2a0
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.10042c20
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov ecx, edi
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.1002b860
test esi, esi
je 0x10088023
mov ecx, dword [0x10bbb620]
xor eax, eax
add ecx, 0x91761abb
xor ecx, 0xfd410b50
push esi
mov ecx, dword [ecx + 0xac]
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x10bbb620]
add ecx, 0x91761abb
xor ecx, 0xfd410b50
push eax
mov ecx, dword [ecx + 0xb0]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [ebp - 0x248], eax
test eax, eax
je 0x10088023
mov ecx, dword [0x10bbb620]
add ecx, 0x91761abb
xor ecx, 0xfd410b50
mov edx, dword [ecx + 0x134]
mov dword [ebp - 0x240], edx
test edx, edx
je 0x10087b02
cmp eax, edx
je 0x10088023
mov ecx, dword [ecx + 0x184]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x10087b02
mov ecx, dword [0x10370f7c]
test cl, 1
jne 0x10087a38
or ecx, 1
mov dword [0x10370f7c], ecx
mov dword [ebp - 4], 2
mov eax, dword [0x1036cbb0]
mov ecx, dword [0x1036cbb4]
mov dword [ebp - 0x22c], eax
cmp eax, ecx
je 0x10087942
mov eax, dword [eax]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x1008792f
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10087900
xor edx, edx
test ecx, ecx
je 0x10087929
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087910
cmp esi, 0x1eee87cc
je 0x1008795b
mov ecx, dword [0x1036cbb4]
mov eax, dword [ebp - 0x22c]
add eax, 4
mov dword [ebp - 0x22c], eax
cmp eax, ecx
jne 0x100878e6
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x10370f7c]
mov dword [0x10370f34], eax
jmp 0x10087a3d
mov eax, dword [ebp - 0x228]
xor edi, edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x22c], edi
cmp dword [eax + 4], edi
jle 0x10087a1d
xor ecx, ecx
mov dword [ebp - 0x234], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x238], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x100879bd
cmp dword [ecx + 4], 0
jle 0x100879bd
push 0
mov edx, 0xa5bfefb3
call fcn.10138e60
add esp, 4
test eax, eax
je 0x100879b7
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x224], edi
mov eax, dword [ebp - 0x228]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x100879c6
xor edx, edx
test ecx, ecx
je 0x100879f2
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100879d3
cmp esi, 0xa5bfefb3
je 0x10087a24
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x234]
inc edx
mov edi, dword [ebp - 0x224]
add ecx, 0x3c
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x234], ecx
cmp edx, dword [eax + 4]
jl 0x10087980
mov eax, edi
jmp 0x10087944
mov eax, dword [ebp - 0x238]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x224]
jmp 0x10087944
mov eax, dword [0x10370f34]
mov edx, dword [ebp - 0x248]
mov edx, dword [eax + edx]
mov dword [ebp - 0x23c], edx
test cl, 1
jne 0x10087aed
or ecx, 1
mov dword [0x10370f7c], ecx
mov dword [ebp - 4], 3
mov eax, dword [0x1036cbb0]
mov ecx, dword [0x1036cbb4]
mov dword [ebp - 0x234], eax
cmp eax, ecx
je 0x10087ad9
nop word [eax + eax]
mov eax, dword [eax]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x10087ac6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10087a96
xor edx, edx
test ecx, ecx
je 0x10087ac0
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087aa3
cmp esi, 0x1eee87cc
je 0x10087c71
mov ecx, dword [0x1036cbb4]
mov eax, dword [ebp - 0x234]
add eax, 4
mov dword [ebp - 0x234], eax
cmp eax, ecx
jne 0x10087a80
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x23c]
mov dword [0x10370f34], eax
mov ecx, dword [ebp - 0x240]
cmp edx, dword [ecx + eax]
je 0x10088023
mov edi, dword [ebp - 0x244]
mov eax, dword [edi]
mov ecx, 0x1035c240
mov dword [ebp - 0x228], 0xffffffff
mov esi, dword [eax + 0x24]
lea eax, [ebp - 0x94]
push eax
call fcn.10042c20
mov dword [ebp - 0x224], 0xe
mov dword [ebp - 4], 4
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
mov ecx, edi
push 0x102b35f8
cmovae eax, dword [ebp - 0x94]
push eax
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x240], eax
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
push 0x158
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.101f2d60
mov eax, dword [0x10bbb620]
add esp, 0xc
mov ecx, dword [ebp - 0x248]
add eax, 0x91761abb
xor eax, 0xfd410b50
add ecx, 8
mov esi, dword [eax + 0xac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
xor edx, edx
lea ecx, [ebp - 0x220]
test esi, esi
push ecx
cmovne edx, esi
mov ecx, esi
push eax
mov edx, dword [edx]
mov edx, dword [edx + 0x20]
call edx
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10087bf0
sub ecx, edx
lea eax, [ebp - 0x210]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1002cfa0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x224], 0x2e
call fcn.10044a10
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x224], 0x4e
cmp ecx, 0x10
jb 0x10087d5f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
mov dword [ebp - 4], 9
cmp ecx, 0x1000
jb 0x10087d55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10088043
jmp 0x10087d55
mov eax, dword [ebp - 0x228]
xor edi, edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x234], edi
cmp dword [eax + 4], edi
jle 0x10087d3a
xor ecx, ecx
mov dword [ebp - 0x22c], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x238], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10087cd3
cmp dword [ecx + 4], 0
jle 0x10087cd3
push 0
mov edx, 0xa5bfefb3
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10087ccd
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x224], edi
mov eax, dword [ebp - 0x228]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10087ce0
xor edx, edx
test ecx, ecx
je 0x10087d0f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087cf0
cmp esi, 0xa5bfefb3
je 0x10087d41
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x22c]
inc edx
mov edi, dword [ebp - 0x224]
add ecx, 0x3c
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x22c], ecx
cmp edx, dword [eax + 4]
jl 0x10087c96
mov eax, edi
jmp 0x10087adb
mov eax, dword [ebp - 0x238]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x224]
jmp 0x10087adb
push ecx
push edx
call fcn.101f0b05
add esp, 8
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x1035c258
call fcn.1004a450
mov dword [ebp - 0x224], 0xce
cmp dword [ebp - 0x68], 0x10
lea esi, [ebp - 0x7c]
cmovae esi, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0xb
call fcn.100442c0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x34], eax
mov ecx, 2
mov dword [ebp - 0x30], 2
lea eax, [ebp - 0x24]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10087db2
push dword [ebp - 0x30]
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x28], 0x1008a6a0
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x160]
lea eax, [ebp - 0x240]
mov dword [ebp - 0x24], method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52
mov edx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x1008a7f0
mov dword [ebp - 0x18], method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52
call fcn.1003dbd0
add esp, 8
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x160]
push eax
call fcn.100441d0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x224], 0x1ce
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x102b379c
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x15c]
call fcn.10043e20
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x164], eax
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.101ef669
mov byte [ebp - 4], 0xb
add esp, 4
movss xmm1, dword [0x102baa58]
movss xmm0, dword [0x10355fb0]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x10355fac]
mulss xmm0, xmm1
mov dword [ebp - 0x244], eax
cvttss2si edx, xmm0
movss xmm0, dword [0x10355fa8]
mulss xmm0, xmm1
mov byte [ebp - 0x22a], dl
cvttss2si ecx, xmm0
movss xmm0, dword [0x10355fa4]
mulss xmm0, xmm1
mov byte [ebp - 0x22b], cl
mov ecx, 0x1035c270
cvttss2si eax, xmm0
mov byte [ebp - 0x22c], al
mov eax, dword [ebp - 0x244]
mov byte [ebp - 0x229], al
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x23c], eax
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov esi, dword [eax + 0xd0]
lea eax, [ebp - 0x2c]
push eax
call fcn.10042810
mov dword [ebp - 0x224], 0x3ce
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [esi]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov eax, dword [eax + 0x64]
lea ecx, [ebp - 0x23c]
push ecx
push esi
call eax
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.1002b860
mov eax, dword [0x10bbb620]
lea ecx, [ebp - 0x4c]
add eax, 0x91761abb
xor eax, 0xfd410b50
cmp dword [ebp - 0x38], 0x10
cmovae ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [eax + 0xd0]
lea ecx, [ebp - 0x228]
push str._s__n
push ecx
push edx
mov eax, dword [edx]
mov eax, dword [eax + 0x64]
call eax
mov esi, dword [ebp - 0x24c]
add esp, 0x10
call fcn.101f641e
lea ecx, [ebp - 0x2c]
movd xmm0, eax
mov eax, dword [ebp - 0x228]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
mulss xmm0, dword [0x102ba63c]
movss dword [ebp - 0x34], xmm0
call fcn.10044a10
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [esi + 4]
call fcn.10087660
lea ecx, [ebp - 0x2c]
call fcn.1002b860
lea ecx, [ebp - 0x4c]
call fcn.1002b860
lea ecx, [ebp - 0x7c]
call fcn.1002b860
lea ecx, [ebp - 0xc4]
call fcn.1002b860
lea ecx, [ebp - 0x94]
call fcn.1002b860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101f065f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.101f6163
int3