Function at 0x10086cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b748f
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x100d99c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xe0], 0
lea esi, [edx + 4]
cmp byte [edx], 0
mov eax, dword [0x100f69fc]
movss xmm0, dword [esi]
movss xmm1, dword [eax + 0x14]
addss xmm1, xmm1
je 0x10086d0f
addss xmm0, xmm1
jmp 0x10086d13
subss xmm0, xmm1
movss dword [esi], xmm0
lea ecx, [ebp - 0x100]
comiss xmm0, dword [0x100bb590]
mov dword [ebp - 0x100], 0x3f800000
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0
xorps xmm1, xmm1
cmovbe ecx, esi
movss xmm0, dword [ecx]
comiss xmm0, xmm1
cmova eax, ecx
movss xmm0, dword [eax]
movss dword [esi], xmm0
mulss xmm0, dword [0x100bbc38]
cvttss2si ecx, xmm0
mov dword [edx + 8], ecx
test ecx, ecx
je 0x100874b9
mov eax, dword [0x100f6f04]
mov edi, dword [edx + 0x1c]
mov esi, dword [edx + 0x18]
mov edx, dword [edx + 0x14]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 0xf1], cl
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
cvttss2si edx, xmm0
mov ecx, dword [ecx + 0x10]
push ecx
mov eax, esp
push edi
push esi
mov byte [eax + 3], dl
mov edx, dword [ebp - 0xe0]
push edx
push ecx
mov word [eax], 0xc0c
mov byte [eax + 2], 0xc
call fcn.100a0dc0
mov ecx, dword [ebp - 0xdc]
add esp, 0x10
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x18]
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0xe0], eax
mov eax, esp
push edx
push esi
push edi
push dword [ebp - 0xe0]
mov word [eax], 0x505
mov byte [eax + 2], 5
mov byte [eax + 3], cl
call fcn.100a0d80
mov ecx, dword [ebp - 0xdc]
add esp, 0x10
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
sub eax, 2
mov esi, dword [ecx + 0x14]
sub edi, 2
mov edx, dword [ecx + 0x10]
inc esi
mov ecx, dword [ecx + 8]
inc edx
mov dword [ebp - 0xe0], eax
mov eax, esp
push dword [ebp - 0xe0]
push edi
push esi
push edx
mov word [eax], 0x3c3c
mov byte [eax + 2], 0x3c
mov byte [eax + 3], cl
call fcn.100a0d80
mov ecx, dword [ebp - 0xdc]
add esp, 0x10
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
sub eax, 4
mov esi, dword [ecx + 0x14]
sub edi, 4
mov edx, dword [ecx + 0x10]
add esi, 2
mov ecx, dword [ecx + 8]
add edx, 2
mov dword [ebp - 0xe0], eax
mov eax, esp
push dword [ebp - 0xe0]
push edi
push esi
push edx
mov word [eax], 0x2828
mov byte [eax + 2], 0x28
mov byte [eax + 3], cl
call fcn.100a0d80
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ecx + 0x1c]
add esp, 0x10
mov edi, dword [ecx + 0x18]
sub eax, 6
mov esi, dword [ecx + 0x14]
sub edi, 6
mov edx, dword [ecx + 0x10]
add esi, 3
mov ecx, dword [ecx + 8]
add edx, 3
mov dword [ebp - 0xe0], eax
mov eax, esp
push dword [ebp - 0xe0]
push edi
push esi
push edx
mov word [eax], 0x2828
mov byte [eax + 2], 0x28
mov byte [eax + 3], cl
call fcn.100a0d80
mov ecx, dword [ebp - 0xdc]
add esp, 0x10
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
sub eax, 8
mov esi, dword [ecx + 0x14]
sub edi, 8
mov edx, dword [ecx + 0x10]
add esi, 4
mov ecx, dword [ecx + 8]
add edx, 4
mov dword [ebp - 0xe0], eax
mov eax, esp
push dword [ebp - 0xe0]
push edi
push esi
push edx
mov word [eax], 0x2828
mov byte [eax + 2], 0x28
mov byte [eax + 3], cl
call fcn.100a0d80
mov ecx, dword [ebp - 0xdc]
add esp, 0x10
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
sub eax, 0xa
mov esi, dword [ecx + 0x14]
sub edi, 0xa
mov edx, dword [ecx + 0x10]
add esi, 5
mov ecx, dword [ecx + 8]
add edx, 5
mov dword [ebp - 0xe0], eax
mov eax, esp
push dword [ebp - 0xe0]
push edi
push esi
push edx
mov word [eax], 0x3c3c
mov byte [eax + 2], 0x3c
mov byte [eax + 3], cl
call fcn.100a0d80
mov edi, dword [ebp - 0xdc]
add esp, 0x14
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x28]
je 0x100874b9
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x1c]
add eax, 0x14
mov ecx, dword [edi + 8]
add esi, 0xffffffd8
mov edx, dword [edi + 0x10]
push ecx
mov dword [ebp - 0xdc], eax
add edx, 0x14
mov eax, esp
mov dword [ebp - 0xe4], edx
push esi
push 0x64
push dword [ebp - 0xdc]
mov word [eax], 0x1111
push edx
mov byte [eax + 2], 0x11
mov byte [eax + 3], cl
call fcn.100a0dc0
mov ecx, dword [edi + 8]
add esp, 0x10
mov eax, esp
push esi
push 0x64
push dword [ebp - 0xdc]
mov word [eax], 0
push dword [ebp - 0xe4]
mov byte [eax + 2], 0
mov byte [eax + 3], cl
call fcn.100a0d80
mov ecx, dword [edi + 8]
add esp, 0x10
mov eax, esp
mov word [eax], 0x3030
mov byte [eax + 2], 0x30
mov byte [eax + 3], cl
lea eax, [esi - 2]
push eax
mov eax, dword [ebp - 0xdc]
inc eax
push 0x62
push eax
mov eax, dword [ebp - 0xe4]
inc eax
push eax
call fcn.100a0d80
mov eax, dword [edi + 0x28]
xor ecx, ecx
mov edx, dword [edi + 0x24]
add esp, 0x14
sub eax, edx
mov dword [ebp - 0xe0], ecx
sar eax, 2
test eax, eax
je 0x10087081
mov eax, dword [ebp - 0xdc]
mov esi, dword [ebp - 0xf4]
add eax, 5
mov dword [ebp - 0xdc], eax
mov ecx, dword [edx + ecx*4]
cmp ecx, dword [edi + 0x30]
jne 0x10087032
mov eax, esi
jmp 0x10087040
mov eax, dword [edi + 8]
movzx eax, al
shl eax, 0x18
or eax, 0x989898
push 0
push ecx
push eax
push dword [ebp - 0xdc]
mov eax, dword [ebp - 0xe4]
mov ecx, 0x100fa594
add eax, 0xa
push eax
call fcn.100a1120
mov eax, dword [edi + 0x28]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [edi + 0x24]
inc ecx
add dword [ebp - 0xdc], 0x10
sub eax, edx
sar eax, 2
mov dword [ebp - 0xe0], ecx
cmp ecx, eax
jb 0x10087026
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
je 0x100874b9
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 8]
add eax, 0xffffff60
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
add esi, 0x8c
mov dword [ebp - 0xe4], eax
add edx, 0x14
mov eax, dword [edi + 0x1c]
push ecx
add eax, 0xffffffd8
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0xdc], eax
mov eax, esp
mov byte [eax + 3], cl
mov ecx, dword [ebp - 0xdc]
push ecx
push dword [ebp - 0xe4]
mov word [eax], 0x1111
push edx
push esi
mov byte [eax + 2], 0x11
call fcn.100a0dc0
mov ecx, dword [edi + 8]
add esp, 0x10
mov eax, esp
push dword [ebp - 0xdc]
mov word [eax], 0
push dword [ebp - 0xe4]
mov byte [eax + 2], 0
push dword [ebp - 0xf4]
mov byte [eax + 3], cl
push esi
call fcn.100a0d80
mov ecx, dword [edi + 8]
add esp, 0x10
mov eax, esp
mov word [eax], 0x3030
mov byte [eax + 2], 0x30
mov byte [eax + 3], cl
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffffe
push eax
mov eax, dword [ebp - 0xe4]
add eax, 0xfffffffe
push eax
mov eax, dword [ebp - 0xf4]
inc eax
push eax
lea eax, [esi + 1]
push eax
call fcn.100a0d80
add esp, 0x14
mov dword [ebp - 0xf0], 0x8cd5cde1
mov dword [ebp - 0xec], 0x9e8c9a9d
xor eax, eax
mov dword [ebp - 0xe8], 0xac989e9c
nop dword [eax]
xor byte [ebp + eax - 0xf0], 0xac
inc eax
cmp eax, 0xc
jb 0x10087170
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100871a0
sub ecx, edx
lea eax, [ebp - 0xf0]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1001d5b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x98
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xd8]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xfc], 0x7c207325
mov dword [ebp - 0xf8], 0x732520
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd8], 0x100bb668
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xe0], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x100bb664
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xd4], 0x100bb4b0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 4
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x124], eax
mov ecx, 2
mov dword [ebp - 0x120], 2
lea eax, [ebp - 0x114]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x100872b3
push dword [ebp - 0x120]
lea eax, [ebp - 0x104]
mov dword [ebp - 0xec], 0x10027d30
push dword [ebp - 0x124]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xfc]
movq xmm0, qword [ebp - 0xf0]
push eax
movq qword [ebp - 0x11c], xmm0
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xf0], 0x100c75b4
mov dword [ebp - 0xec], 0x1003e3d0
movq xmm0, qword [ebp - 0xf0]
push eax
mov dword [ebp - 0x114], fcn.10027e90
movq qword [ebp - 0x110], xmm0
mov dword [ebp - 0x108], fcn.10027e90
call fcn.1002a440
add esp, 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xd4]
push eax
call fcn.1002a980
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x100bb664
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xd4]
call fcn.1001f9b0
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov edx, dword [edi + 8]
lea eax, [ebp - 0x40]
push 1
push eax
push ecx
mov ecx, dword [ebp - 0xdc]
mov eax, esp
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
mov word [eax], 0xcdcd
mov byte [eax + 2], 0xcd
mov byte [eax + 3], dl
mov eax, dword [ebp - 0xf4]
add eax, ecx
mov ecx, 0x100fa594
push eax
mov eax, dword [ebp - 0xe4]
add eax, 0xfffffffb
add eax, esi
push eax
call fcn.100a1120
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0xdc], ecx
cmp esi, ecx
je 0x10087430
mov eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x10087429
mov eax, dword [edi + 0x34]
test eax, eax
je 0x10087413
cmp ecx, eax
je 0x10087423
cmp byte [ecx + 0x68], 0
je 0x10087423
test byte [ecx + 0x50], 1
je 0x10087423
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0xdc]
add esi, 4
cmp esi, eax
jne 0x10087402
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x10087441
cmp byte [ecx + 0x68], 0
je 0x10087441
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x10087471
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10087467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100874a9
push ecx
push edx
call fcn.100ae001
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x100874b9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100874af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100874af
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100ae001
add esp, 8
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.100ae337
mov esp, ebp
pop ebp
ret