Function at 0x10055550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bd26
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x100d7010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xb8
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.100679f0
add esp, 4
lea ecx, [ebp - 0xc8]
push 0x20
push str.LFS.exe
call fcn.10055df0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xbc], 6
jne 0x1005588d
push 2
sub esp, 8
mov dword [ebp - 0xd0], 0
lea ecx, [ebp - 0xc8]
call fcn.10055f10
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x90]
test ecx, ecx
je 0x10055602
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 1
call fcn.10056270
mov byte [ebp - 0xdc], al
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0xbc], 6
jne 0x10055656
mov ecx, dword [ebp + ecx - 0x90]
lea edx, [ebp - 0xf8]
push 1
push 1
push 0
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x28]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xc8]
jmp 0x10055678
xorps xmm0, xmm0
mov dword [ebp - 0xf8], 0xffffffff
mov dword [ebp - 0xf4], 0xffffffff
movups xmmword [ebp - 0xf0], xmm0
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x90]
test ecx, ecx
je 0x1005568b
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
mov edi, dword [ebp - 0xf8]
add edi, dword [ebp - 0xf0]
push 0
sub esp, 8
mov dword [ebp - 0xdc], edi
call fcn.10055f10
push edi
call fcn.10065413
add esp, 4
lea ecx, [ebp - 0xc8]
mov esi, eax
mov eax, edi
cdq
push edx
push eax
push esi
call fcn.10056010
lea ecx, [ebp - 0xb8]
call fcn.10053100
test eax, eax
jne 0x10055707
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
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.100512b0
xor edx, edx
test edi, edi
jle 0x100557aa
cmp edi, 8
jb 0x100557aa
cmp dword [0x100d8648], 2
jl 0x100557aa
mov eax, edi
and eax, 0x80000007
jns 0x10055735
dec eax
or eax, 0xfffffff8
inc eax
movaps xmm2, xmmword [0x100cf710]
mov ecx, edi
movaps xmm3, xmmword [0x100cf720]
sub ecx, eax
xorps xmm1, xmm1
xorps xmm4, xmm4
nop dword [eax]
movd xmm0, dword [edx + esi]
pmovsxbd xmm0, xmm0
pxor xmm0, xmm3
pmulld xmm0, xmm2
paddd xmm1, xmm0
movd xmm0, dword [edx + esi + 4]
pmovsxbd xmm0, xmm0
pxor xmm0, xmm3
add edx, 8
pmulld xmm0, xmm2
paddd xmm4, xmm0
cmp edx, ecx
jl 0x10055750
paddd xmm1, xmm4
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd dword [ebp - 0xd0], xmm1
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
cmp edx, edi
jge 0x1005586b
mov eax, edi
sub eax, edx
cmp eax, 2
jl 0x10055834
lea eax, [edi - 1]
xor edi, edi
mov dword [ebp - 0xd8], eax
nop word [eax + eax]
movsx ecx, byte [edx + esi]
xor ecx, 0xaa
mov eax, ecx
shl eax, 5
sub eax, ecx
movsx ecx, byte [edx + esi + 1]
xor ecx, 0xaa
add edi, eax
mov eax, ecx
add edx, 2
shl eax, 5
sub eax, ecx
mov ecx, dword [ebp - 0xd4]
add ecx, eax
mov eax, edx
mov dword [ebp - 0xd4], ecx
cmp edx, dword [ebp - 0xd8]
jl 0x100557e0
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd8], edi
cmp eax, dword [ebp - 0xdc]
jge 0x10055855
movsx ecx, byte [edx + esi]
mov edx, dword [ebp - 0xd0]
xor ecx, 0xaa
mov eax, ecx
shl eax, 5
sub eax, ecx
mov ecx, dword [ebp - 0xd4]
add edx, eax
jmp 0x1005585b
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd8]
add eax, ecx
add edx, eax
mov dword [ebp - 0xd0], edx
push esi
call fcn.100653b6
mov ecx, dword [ebp - 0xc8]
add esp, 4
cmp dword [ebp - 0xd0], 0xced1b37c
sete byte [ebp - 0xc9]
jmp 0x10055894
mov byte [ebp - 0xc9], 0
mov eax, dword [ecx + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xcc], eax
lea ecx, [ebp - 0xb8]
call fcn.10052500
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0xcc], ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.100661ae
mov al, byte [ebp - 0xc9]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064b15
mov esp, ebp
pop ebp
ret