Function at 0x431e40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba826
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10d0
call fcn.00496320
mov eax, dword [0x4eac74]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov esi, ecx
push ecx
lea ecx, [ebp - 0x10e0]
mov dword [ebp - 0x1024], ebx
call fcn.00432280
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1084], 0
mov dword [ebx], 0xffffffff
jne 0x431f65
push 0x40
push 0x21
push esi
call fcn.00496ff8
add esp, 0xc
test eax, eax
je 0x431f65
push 1
push eax
lea ecx, [ebp - 0x10d0]
call fcn.00433970
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x109c]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x101c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1020]
mov byte [ebp - 4], 3
push eax
call fcn.00434050
mov edi, eax
add esp, 4
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x431f15
mov dword [ebp - 0x1098], 0
jmp 0x431f26
lea ecx, [ebp - 0x10d0]
mov dword [ebp - 0x1098], edi
call fcn.00433c80
mov byte [ebp - 4], 4
test esi, esi
je 0x431f41
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x431f41
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10e0]
mov eax, dword [ebp - 0x10e0]
xor edx, edx
mov eax, dword [eax + 4]
add ecx, eax
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x431f88
mov eax, dword [ebp - 0x10e0]
lea ecx, [ebp - 0x10e0]
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 0
push eax
call fcn.00431c80
cmp dword [ebp - 0x1084], 0
je 0x432042
sub esp, 8
lea eax, [ebp - 0x1018]
lea ecx, [ebp - 0x10e0]
push eax
call fcn.00433040
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x101c], eax
nop
test edi, edi
je 0x432008
mov eax, dword [ebx]
xor esi, esi
test edi, edi
jle 0x431fec
nop dword [eax]
movzx ecx, byte [ebp + esi - 0x1018]
inc esi
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4d1d00]
cmp esi, edi
jl 0x431fd0
sub esp, 8
mov dword [ebx], eax
lea eax, [ebp - 0x1018]
lea ecx, [ebp - 0x10e0]
push eax
call fcn.00433040
mov edi, dword [eax + 8]
jmp 0x431fc0
lea ecx, [ebp - 0x10d0]
call fcn.00433a60
test eax, eax
jne 0x432042
mov eax, dword [ebp - 0x10e0]
lea ecx, [ebp - 0x10e0]
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.00431c80
mov dword [ebp - 4], 0
xor esi, esi
jmp 0x432070
cmp dword [ebp - 0x1084], 0
je 0x4320b3
lea ecx, [ebp - 0x10d0]
call fcn.00433a60
test eax, eax
jne 0x4320b3
mov eax, dword [ebp - 0x10e0]
lea ecx, [ebp - 0x10e0]
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.00431c80
mov eax, dword [ebp - 0x10e0]
not dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x10e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x10e4], eax
lea ecx, [ebp - 0x10d0]
call fcn.00432f90
mov eax, dword [ebp - 0x10e0]
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 - 0x10e0]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0x10e4], ecx
lea eax, [ebp - 0x1070]
mov dword [ebp - 4], 6
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00496ed0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004958e0
mov esp, ebp
pop ebp
ret