Function at 0x10002a80
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100255b3
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x1003706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x414], 0
or ebx, 0xffffffff
mov eax, 1
mov edx, 0x80000000
mov ecx, edx
or ecx, eax
mov esi, ecx
and esi, ebx
cmp esi, edx
je 0x10002ad7
cmp esi, eax
jne 0x10002ad9
xor ebx, ecx
shr edx, 1
add eax, eax
cmp edx, eax
ja 0x10002ac7
mov dword [ebp - 0x4e8], 0x10033930
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4d8]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x414], 1
push eax
lea ecx, [ebp - 0x478]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x47c], 0x58
movlpd qword [ebp - 0x4e0], xmm0
call fcn.10006560
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x4e8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x4e8], 0x10033940
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x4ec], eax
lea ecx, [ebp - 0x4d8]
call fcn.100064a0
push 0
push 0
lea ecx, [ebp - 0x4d8]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.10005e30
sub esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4d8]
push edi
call fcn.10005fd0
test eax, eax
jne 0x10002bc3
mov eax, dword [ebp - 0x4e8]
lea ecx, [ebp - 0x4e8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10002750
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x4e8]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x4dc], 6
jne 0x10002dc2
mov ecx, dword [0x10038bf8]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov dword [ebp - 0x424], edi
nop word [eax + eax]
sub esp, 8
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x4e8]
push eax
call fcn.10005110
mov eax, dword [0x10039a48]
lea edx, [ebp - 0x410]
mov esi, dword [ebp - 0x4e0]
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x428], ebx
cmp eax, dword [edi + 4]
jle 0x10002d88
push 0x10039a48
call fcn.1000a28d
add esp, 4
cmp dword [0x10039a48], 0xffffffff
jne 0x10002d82
mov eax, dword [0x10039a58]
cmp eax, dword [edi + 4]
jle 0x10002d6b
push 0x10039a58
call fcn.1000a28d
add esp, 4
cmp dword [0x10039a58], 0xffffffff
jne 0x10002d6b
xor ebx, ebx
mov dword [ebp - 0x420], ebx
push ecx
mov dl, 1
mov ecx, ebx
xor esi, esi
call fcn.10006f00
movzx ecx, ax
lea edx, [esi + 8]
add esp, 4
mov word [ebp - 0x416], ax
mov dword [ebp - 0x41c], ecx
mov di, cx
mov ebx, 0x4c11db7
nop dword [eax + eax]
and ecx, 1
shl ecx, 0x1f
xor ecx, esi
xor esi, esi
mov eax, ecx
shr eax, 0x1f
test al, al
lea eax, [ecx + ecx]
cmovne esi, ebx
shr di, 1
xor esi, eax
mov word [ebp - 0x41c], di
sub edx, 1
je 0x10002cf0
mov ecx, dword [ebp - 0x41c]
jmp 0x10002cc0
mov ebx, dword [ebp - 0x420]
mov eax, 1
mov ecx, 0x80000000
mov edi, ecx
or edi, eax
mov edx, edi
and edx, esi
cmp edx, ecx
je 0x10002d10
cmp edx, eax
jne 0x10002d12
xor esi, edi
shr ecx, 1
add eax, eax
cmp ecx, eax
ja 0x10002d00
movzx eax, word [ebp - 0x416]
inc ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp + eax*4 - 0x8e8], esi
mov eax, 0x100
cmp bx, ax
jb 0x10002c91
mov ecx, eax
lea esi, [ebp - 0x8e8]
mov edi, 0x10039640
rep movsd dword es:[edi], dword [esi]
push 0x10039a58
call fcn.1000a243
mov ebx, dword [ebp - 0x428]
add esp, 4
mov esi, dword [ebp - 0x42c]
mov edi, dword [ebp - 0x424]
push 0x10039a48
mov dword [0x10039a54], 0x10039640
call fcn.1000a243
add esp, 4
mov edx, dword [ebp - 0x414]
test esi, esi
je 0x10002da7
mov ecx, dword [0x10039a54]
mov al, byte [edx]
lea edx, [edx + 1]
xor al, bl
shr ebx, 8
movzx eax, al
xor ebx, dword [ecx + eax*4]
sub esi, 1
jne 0x10002d92
mov ecx, dword [ebp - 0x4e8]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x4dc], 6
je 0x10002c00
not ebx
jmp 0x10002dc4
xor ebx, ebx
mov eax, dword [ecx + 4]
mov dword [ebp + eax - 0x4e8], 0x10033940
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x4ec], eax
lea ecx, [ebp - 0x4d8]
call fcn.10005060
mov eax, dword [ebp - 0x4e8]
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 - 0x4e8]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0x4ec], ecx
lea eax, [ebp - 0x478]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1000909d
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a0a5
mov esp, ebp
pop ebp
ret