Function at 0x10238a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10262f9b
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x102a5f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xfc], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
mov esi, eax
push esi
mov dword [ebp - 0xf0], esi
call fcn.10251cd1
add esp, 4
xor edi, edi
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0xd1], 0
test esi, esi
jle 0x10238ac1
lea esp, [esp]
mov ecx, dword [ebp - 0xd8]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
call eax
test al, al
mov eax, dword [ebp - 0xe8]
je 0x10238ab8
mov byte [edi + eax], 1
mov byte [ebp - 0xd1], 1
jmp 0x10238abc
mov byte [edi + eax], 0
inc edi
cmp edi, esi
jl 0x10238a90
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10251cd1
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd8]
add esp, 4
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x98]
call edx
movsd xmm0, qword [ebp + 0x24]
ucomisd xmm0, qword [0x10268980]
mov edi, eax
lahf
mov dword [ebp - 0xec], edi
test ah, 0x44
jp 0x10238b1c
movsd xmm0, qword [0x1028cd90]
movsd qword [ebp + 0x24], xmm0
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x9c]
call eax
fstp qword [ebp - 0xf8]
movsd xmm0, qword [ebp - 0xf8]
mulsd xmm0, qword [ebp + 0x24]
xorps xmm1, xmm1
comisd xmm1, xmm0
jbe 0x10238ca8
xor ecx, ecx
test esi, esi
jle 0x10238d4f
movapd xmm1, xmmword [0x1028cdd0]
cmp esi, 2
jb 0x10238bcd
mov edx, dword [ebp - 0xdc]
lea eax, [esi - 1]
lea eax, [edi + eax*8]
cmp edx, eax
ja 0x10238b7d
lea eax, [edx - 8]
lea eax, [eax + esi*8]
cmp eax, edi
jae 0x10238bcd
mov eax, esi
and eax, 0x80000001
jns 0x10238b8b
dec eax
or eax, 0xfffffffe
inc eax
mov dword [ebp - 0xe0], esi
sub dword [ebp - 0xe0], eax
sub edx, edi
mov dword [ebp - 0xe4], edx
mov edx, dword [ebp - 0xe0]
mov eax, edi
mov edi, dword [ebp - 0xe4]
lea ecx, [ecx]
movupd xmm0, xmmword [eax]
add ecx, 2
xorpd xmm0, xmm1
movupd xmmword [edi + eax], xmm0
lea eax, [eax + 0x10]
cmp ecx, edx
jl 0x10238bb0
mov edi, dword [ebp - 0xec]
cmp ecx, esi
jge 0x10238d4f
mov eax, esi
sub eax, ecx
cmp eax, 4
jl 0x10238c7a
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edi
lea edx, [ecx + 3]
lea eax, [eax + ecx*8]
lea edx, [edi + edx*8]
sub edi, dword [ebp - 0xdc]
add eax, 8
mov dword [ebp - 0xe0], edi
mov edi, esi
mov esi, dword [ebp - 0xe0]
sub edi, ecx
sub edi, 4
shr edi, 2
inc edi
mov dword [ebp - 0xe4], edi
lea ecx, [ecx + edi*4]
mov edi, dword [ebp - 0xec]
mov dword [ebp - 0xf4], edx
lea esp, [esp]
dec dword [ebp - 0xe4]
movsd xmm0, qword [edx - 0x18]
xorpd xmm0, xmm1
movsd qword [eax - 8], xmm0
movsd xmm0, qword [esi + eax]
xorpd xmm0, xmm1
movsd qword [eax], xmm0
movsd xmm0, qword [edx - 8]
xorpd xmm0, xmm1
movsd qword [eax + 8], xmm0
movsd xmm0, qword [edx]
xorpd xmm0, xmm1
movsd qword [eax + 0x10], xmm0
lea eax, [eax + 0x20]
lea edx, [edx + 0x20]
jne 0x10238c30
mov esi, dword [ebp - 0xf0]
cmp ecx, esi
jge 0x10238d4f
mov edx, dword [ebp - 0xdc]
sub edi, edx
lea eax, [edx + ecx*8]
sub esi, ecx
nop
movsd xmm0, qword [edi + eax]
xorpd xmm0, xmm1
movsd qword [eax], xmm0
lea eax, [eax + 8]
dec esi
jne 0x10238c90
jmp 0x10238d4f
xor edx, edx
cmp esi, 4
jl 0x10238d2b
mov edx, dword [ebp - 0xdc]
lea ecx, [edi + 0x18]
mov dword [ebp - 0xf0], ecx
mov ecx, edi
sub ecx, edx
lea eax, [edx + 8]
lea edx, [esi - 4]
shr edx, 2
mov dword [ebp - 0xf4], ecx
mov edi, ecx
inc edx
lea ecx, [edx*4]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0xf0]
jmp 0x10238cf0
movsd xmm0, qword [ecx - 0x18]
movsd qword [eax - 8], xmm0
movsd xmm0, qword [edi + eax]
movsd qword [eax], xmm0
movsd xmm0, qword [ecx - 8]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [ecx]
movsd qword [eax + 0x10], xmm0
lea eax, [eax + 0x20]
lea ecx, [ecx + 0x20]
dec edx
jne 0x10238cf0
mov edi, dword [ebp - 0xec]
mov edx, dword [ebp - 0xe4]
cmp edx, esi
jge 0x10238d4f
mov ecx, dword [ebp - 0xdc]
sub edi, ecx
lea eax, [ecx + edx*8]
sub esi, edx
lea esp, [esp]
movsd xmm0, qword [edi + eax]
movsd qword [eax], xmm0
lea eax, [eax + 8]
dec esi
jne 0x10238d40
lea ecx, [ebp - 0xd0]
call fcn.101f6e40
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
sub esp, 8
lea ecx, [ebp - 0xd0]
fstp qword [esp]
call fcn.101faf90
movsd xmm0, qword [ebp + 0x14]
sub esp, 8
lea ecx, [ebp - 0xd0]
movsd qword [esp], xmm0
call fcn.101fae00
mov edi, dword [ebp + 0x1c]
push edi
lea ecx, [ebp - 0xd0]
call fcn.101fb490
mov esi, dword [ebp + 0x20]
push esi
lea ecx, [ebp - 0xd0]
call fcn.101fa9d0
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
mov ecx, dword [ebp - 0xd8]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
call eax
mov ecx, dword [ebp - 0xd8]
push eax
xor eax, eax
cmp byte [ebp - 0xd1], al
cmovne eax, dword [ebp - 0xe8]
push eax
mov eax, dword [ecx]
push dword [ebp - 0xdc]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [ebp - 0xd8]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
mov ecx, dword [ebp - 0xd8]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xb8]
call eax
push eax
lea ecx, [ebp - 0xd0]
call fcn.101fb290
push dword [ebp - 0xfc]
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x104]
call fcn.101fb120
push dword [ebp - 0xdc]
call sub.MSVCR110.dll_void___cdecl_operator_delete___void__
push dword [ebp - 0xe8]
call sub.MSVCR110.dll_void___cdecl_operator_delete___void__
movsd xmm0, qword [ebp + 0x14]
add esp, 8
lea ecx, [ebp - 0xd0]
push dword [ebp + 0x2c]
push esi
push edi
sub esp, 8
movsd qword [esp], xmm0
push dword [ebp - 0x100]
call fcn.101fbce0
lea ecx, [ebp - 0xd0]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.101f7030
mov eax, esi
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.10251d16
mov esp, ebp
pop ebp
ret 0x28