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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba9d6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10d0
call fcn.004964d0
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.004320a0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1084], 0
mov dword [ebx], 0xffffffff
jne 0x431d85
push 0x40
push 0x21
push esi
call fcn.004971a8
add esp, 0xc
test eax, eax
je 0x431d85
push 1
push eax
lea ecx, [ebp - 0x10d0]
call fcn.00433790
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.00433e70
mov edi, eax
add esp, 4
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x431d35
mov dword [ebp - 0x1098], 0
jmp 0x431d46
lea ecx, [ebp - 0x10d0]
mov dword [ebp - 0x1098], edi
call fcn.00433aa0
mov byte [ebp - 4], 4
test esi, esi
je 0x431d61
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x431d61
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 0x431da8
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.00431aa0
cmp dword [ebp - 0x1084], 0
je 0x431e62
sub esp, 8
lea eax, [ebp - 0x1018]
lea ecx, [ebp - 0x10e0]
push eax
call fcn.00432e60
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x101c], eax
nop
test edi, edi
je 0x431e28
mov eax, dword [ebx]
xor esi, esi
test edi, edi
jle 0x431e0c
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 + 0x4d1cc0]
cmp esi, edi
jl 0x431df0
sub esp, 8
mov dword [ebx], eax
lea eax, [ebp - 0x1018]
lea ecx, [ebp - 0x10e0]
push eax
call fcn.00432e60
mov edi, dword [eax + 8]
jmp 0x431de0
lea ecx, [ebp - 0x10d0]
call fcn.00433880
test eax, eax
jne 0x431e62
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.00431aa0
mov dword [ebp - 4], 0
xor esi, esi
jmp 0x431e90
cmp dword [ebp - 0x1084], 0
je 0x431ed3
lea ecx, [ebp - 0x10d0]
call fcn.00433880
test eax, eax
jne 0x431ed3
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.00431aa0
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.00432db0
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.00497080
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.00495a90
mov esp, ebp
pop ebp
ret