Function at 0x10023450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca559
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x100fd230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp dword [ebp + 0x10], 0x40c
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 1
ja 0x1002358a
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x44], edx
mov al, byte [ecx + 0xc]
test al, al
je 0x1002367d
mov esi, ecx
nop
movzx eax, al
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10023537
add esi, 0xd
mov dword [ebp - 0x4c], eax
mov al, byte [esi]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov byte [ebp - 0x48], al
cmp ecx, edx
jae 0x1002351b
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1002350e
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x48]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x1002352a
push dword [ebp - 0x48]
mov ecx, edi
push dword [ebp - 0x50]
push 1
call fcn.10009180
inc esi
sub dword [ebp - 0x4c], 1
jne 0x100234f0
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp + 0xc]
inc edx
add edx, eax
add esi, edx
mov dword [ebp - 0x44], edx
cmp byte [esi + 0xc], 0
je 0x1002357a
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x10023569
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10023561
mov eax, dword [edi]
mov word [eax + ecx], 0x2e
jmp 0x10023577
push 0x2e
push dword [ebp - 0x50]
mov ecx, edi
push 1
call fcn.10009180
mov edx, dword [ebp - 0x44]
mov al, byte [esi + 0xc]
test al, al
jne 0x100234e0
jmp 0x1002367d
push ecx
lea ecx, [ebp - 0x108]
call fcn.100043e0
mov edx, str._TID:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xf8]
call fcn.10006590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001c750
mov edx, 0x100e5420
mov ecx, eax
call fcn.10006590
movaps xmm0, xmmword [0x100e8c90]
mov esi, eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x5490606
mov dword [ebp - 0x2c], 0xe0706
mov byte [ebp - 4], 2
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0x16
jb 0x100235f0
lea edx, [ebp - 0x28]
mov byte [ebp - 0x12], 0
mov ecx, esi
call fcn.10006590
mov byte [ebp - 4], 1
call fcn.100035c0
mov esi, eax
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0x2c]
push eax
call fcn.100042f0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x10023635
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 3
call fcn.10003d10
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10023672
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023668
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002369c
push ecx
push edx
call fcn.1008f79d
add esp, 8
lea ecx, [ebp - 0x108]
call fcn.10004220
mov eax, edi
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.1008f445
mov esp, ebp
pop ebp
ret 0xc
call fcn.1009b8bf
int3