Function at 0x10001910
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028316
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x10037040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 2
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0x18]
sub esi, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x24]
push esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
call fcn.10001270
push esi
mov esi, dword [sym.imp.mfc140u.dll_operator_2]
call esi
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
inc eax
shl eax, 4
push eax
call esi
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x24], eax
push eax
push edi
call fcn.100016b0
mov eax, dword [ebp - 0x14]
movups xmm1, xmmword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x40], xmm1
cmp dword [ebp - 0x20], eax
jbe 0x10001a27
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x40]
sub edi, esi
push dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x2c], eax
call fcn.10001330
lea eax, [ebp - 0x31]
cmp esi, eax
ja 0x10001a00
lea eax, [esi + 0xf]
lea ecx, [ebp - 0x40]
cmp eax, ecx
jb 0x10001a00
mov eax, esi
mov edx, 0x10
nop
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x100019f0
jmp 0x10001a09
movups xmm0, xmmword [esi]
xorps xmm0, xmm1
movups xmmword [esi], xmm0
mov eax, dword [ebp - 0x2c]
sub edi, 0x10
add esi, 0x10
movups xmm1, xmmword [eax]
mov eax, dword [ebp - 0x14]
add eax, 0x10
movups xmmword [ebp - 0x40], xmm1
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x20]
jb 0x100019c3
push dword [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_operator]
mov esi, dword [ebp - 0x28]
xorps xmm0, xmm0
mov edi, dword [ebx + 0x10]
add esp, 4
movq qword [esi], xmm0
mov dword [esi + 8], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
sub edi, dword [ebx + 0xc]
je 0x10001a97
cmp edi, 0x7fffffff
ja 0x10001b7f
push edi
mov ecx, esi
call fcn.10001e00
mov esi, dword [esi]
push edi
push dword [ebp - 0x1c]
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [edi + esi]
add esp, 0xc
mov esi, dword [ebp - 0x28]
mov dword [esi + 4], eax
push dword [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_operator]
mov ecx, dword [ebx + 0xc]
add esp, 4
test ecx, ecx
je 0x10001aec
mov edx, dword [ebx + 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10001acd
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001b57
push edx
push ecx
call fcn.10026cc1
add esp, 8
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x10001b31
mov edx, dword [ebx + 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10001b12
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001b57
push edx
push ecx
call fcn.10026cc1
add esp, 8
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x10001b67
mov edx, dword [ebx + 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10001b5d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001b5d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10026cc1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x28
call fcn.10001df0
int3