Function at 0x885f54
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x8fd36c
call fcn.008fcc58
mov eax, 0x10310
call fcn.008e9a80
push ebx
push esi
push edi
push 0x31
xor ebx, ebx
pop ecx
inc ebx
mov dword [ebp - 4], ebx
mov esi, 0x906d38
mov edi, 0x938620
push 0x906bc0
rep movsd dword es:[edi], dword [esi]
call fcn.008bf330
pop ecx
cmp eax, 0xffffffff
jne 0x885fb9
call fcn.0088632c
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x78]
call fcn.008d6985
mov dword [ebp - 0x78], vtable.std::runtime_error.0
push 0x922d30
lea eax, [ebp - 0x78]
push eax
call fcn.008e0895
push 0x906e90
call fcn.008be580
pop ecx
cmp eax, 0xffffffff
jne 0x885ff7
call fcn.00886391
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.008d6985
mov dword [ebp - 0x9c], vtable.std::runtime_error.0
push 0x922d30
lea eax, [ebp - 0x9c]
jmp 0x885fb3
xor eax, eax
lea edi, [ebp - 0x14]
stosb byte es:[edi], al
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
test byte [0x9381d4], bl
jne 0x886020
or dword [0x9381d4], ebx
mov dword [0x933e9c], 0x9cccc5de
mov byte [0x933ea0], 0xad
xor eax, eax
mov cl, byte [eax + 0x933e9c]
xor cl, 0xad
mov byte [eax + 0x933fb0], cl
inc eax
cmp eax, 5
jb 0x886022
push 0x933fb0
call fcn.008bf450
pop ecx
test eax, eax
jns 0x88606e
call fcn.008863f6
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x60]
call fcn.008d6985
mov dword [ebp - 0x60], vtable.std::runtime_error.0
push 0x922d30
lea eax, [ebp - 0x60]
jmp 0x885fb3
xor eax, eax
lea edi, [ebp - 0x13]
stosb byte es:[edi], al
lea edi, [ebp - 0x11]
stosb byte es:[edi], al
test byte [0x9381cc], bl
jne 0x886090
or dword [0x9381cc], ebx
mov dword [0x933eb8], 0xaddec8cc
xor eax, eax
mov cl, byte [eax + 0x933eb8]
xor cl, 0xad
mov byte [eax + 0x933fcc], cl
inc eax
cmp eax, 4
jb 0x886092
push 0x933fcc
call fcn.008bf3a0
mov ebx, eax
pop ecx
test ebx, ebx
jns 0x8860e9
call fcn.0088645b
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xa8]
call fcn.008d6985
mov dword [ebp - 0xa8], vtable.std::runtime_error.0
push 0x922d30
lea eax, [ebp - 0xa8]
jmp 0x885fb3
push 0x10258
lea eax, [ebp - 0x1031c]
push 0
push eax
call fcn.008db890
mov eax, dword [0x92d914]
mov dword [ebp - 0x2e], eax
mov al, byte [0x92d8f3]
mov esi, 0x92d900
lea edi, [ebp - 0x34]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x92d8f4
lea edi, [ebp - 0x31]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x2c], al
mov eax, dword [0x92d904]
mov esi, 0x92d90c
lea edi, [ebp - 0x2b]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x28], eax
push 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1031c]
push ebx
push eax
call fcn.008bf1c0
add esp, 0x1c
push 0x10
test eax, eax
pop ecx
lea eax, [ebp - 0x34]
je 0x88618c
mov byte [eax], 0
inc eax
dec ecx
jne 0x886154
call fcn.008864c0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x90]
call fcn.008d6985
mov dword [ebp - 0x90], vtable.std::runtime_error.0
push 0x922d30
lea eax, [ebp - 0x90]
jmp 0x885fb3
mov byte [eax], 0
inc eax
dec ecx
jne 0x88618c
mov ax, word [0x92d924]
mov word [ebp - 0x24], ax
mov ax, word [0x92d910]
mov esi, 0x92d918
lea edi, [ebp - 0x22]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov word [ebp - 0x1d], ax
mov esi, 0x92d920
lea edi, [ebp - 0x1b]
push 0xc
lea eax, [ebp - 0x24]
movsw word es:[edi], word [esi]
push eax
lea eax, [ebp - 0x1031c]
push eax
movsb byte es:[edi], byte [esi]
call fcn.008bebe0
add esp, 0xc
push 0xc
test eax, eax
pop ecx
lea eax, [ebp - 0x24]
je 0x886213
mov byte [eax], 0
inc eax
dec ecx
jne 0x8861db
call fcn.00886514
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb4]
call fcn.008d6985
mov dword [ebp - 0xb4], vtable.std::runtime_error.0
push 0x922d30
lea eax, [ebp - 0xb4]
jmp 0x885fb3
mov byte [eax], 0
inc eax
dec ecx
jne 0x886213
push 9
call fcn.00886568
push eax
lea eax, [ebp - 0x1031c]
push eax
call fcn.008be690
add esp, 0xc
test eax, eax
je 0x88625d
call fcn.008865b2
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.008d6985
mov dword [ebp - 0x6c], vtable.std::runtime_error.0
push 0x922d30
lea eax, [ebp - 0x6c]
jmp 0x885fb3
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x886269
call fcn.008d65cf
mov eax, dword [ecx]
lea edx, [ebp - 0x1031c]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x1031c]
push eax
mov dword [ebp - 0x18], 0x10
call fcn.008be970
add esp, 0xc
test eax, eax
je 0x8862cb
call fcn.00886606
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x84]
call fcn.008d6985
mov dword [ebp - 0x84], vtable.std::runtime_error.0
push 0x922d30
lea eax, [ebp - 0x84]
jmp 0x885fb3
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x886264
push dword [ebp - 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x886301
mov eax, dword [ecx]
lea edx, [ebp + 8]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
and dword [ebp + 0x18], 0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x88631d
mov eax, dword [ecx]
lea edx, [ebp + 0x20]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret