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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f3cb
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x1006900c]
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
or ebx, 0xffffffff
mov eax, 1
mov edx, 0x80000000
nop dword [eax]
mov ecx, edx
or ecx, eax
mov esi, ecx
and esi, ebx
cmp esi, edx
je 0x10004ad0
cmp esi, eax
jne 0x10004ad2
xor ebx, ecx
shr edx, 1
add eax, eax
cmp edx, eax
ja 0x10004ac0
sub esp, 8
lea ecx, [ebp - 0x4e8]
push 0x20
push edi
call fcn.10008f70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4e8]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x4dc], 6
jne 0x10004ce2
mov ecx, dword [0x10353d88]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov dword [ebp - 0x42c], edi
nop
sub esp, 8
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x4e8]
push eax
call fcn.1000a3e0
mov eax, dword [0x103554d0]
lea edx, [ebp - 0x410]
mov esi, dword [ebp - 0x4e0]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x424], ebx
cmp eax, dword [edi + 4]
jle 0x10004ca8
push 0x103554d0
call fcn.10017343
add esp, 4
cmp dword [0x103554d0], 0xffffffff
jne 0x10004ca2
mov eax, dword [0x103554e8]
cmp eax, dword [edi + 4]
jle 0x10004c8b
push 0x103554e8
call fcn.10017343
add esp, 4
cmp dword [0x103554e8], 0xffffffff
jne 0x10004c8b
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
push ecx
mov dl, 1
mov ecx, ebx
xor esi, esi
call fcn.10013200
movzx ecx, ax
lea edx, [esi + 8]
add esp, 4
mov word [ebp - 0x412], ax
mov dword [ebp - 0x418], 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 - 0x418], di
sub edx, 1
je 0x10004c10
mov ecx, dword [ebp - 0x418]
jmp 0x10004be0
mov ebx, dword [ebp - 0x41c]
mov eax, 1
mov ecx, 0x80000000
mov edi, ecx
or edi, eax
mov edx, edi
and edx, esi
cmp edx, ecx
je 0x10004c30
cmp edx, eax
jne 0x10004c32
xor esi, edi
shr ecx, 1
add eax, eax
cmp ecx, eax
ja 0x10004c20
movzx eax, word [ebp - 0x412]
inc ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp + eax*4 - 0x8e8], esi
mov eax, 0x100
cmp bx, ax
jb 0x10004bb1
mov ecx, eax
lea esi, [ebp - 0x8e8]
mov edi, 0x103550c8
rep movsd dword es:[edi], dword [esi]
push 0x103554e8
call fcn.100172f9
mov ebx, dword [ebp - 0x424]
add esp, 4
mov esi, dword [ebp - 0x428]
mov edi, dword [ebp - 0x42c]
push 0x103554d0
mov dword [0x103554e4], 0x103550c8
call fcn.100172f9
add esp, 4
mov edx, dword [ebp - 0x420]
test esi, esi
je 0x10004cc7
mov ecx, dword [0x103554e4]
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 0x10004cb2
mov ecx, dword [ebp - 0x4e8]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x4dc], 6
je 0x10004b20
not ebx
jmp 0x10004ce4
xor ebx, ebx
mov eax, dword [ecx + 4]
mov dword [ebp + eax - 0x4e8], 0x10061b2c
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.100099a0
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], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1001c11b
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.10017199
mov esp, ebp
pop ebp
ret