Function at 0x10238f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10262fdb
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 - 0xe8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xfc], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
mov edi, eax
push edi
call fcn.10251cd1
add esp, 4
xor esi, esi
mov dword [ebp - 0xe4], eax
mov byte [ebp - 0xd9], 0
test edi, edi
jle 0x10238ff1
lea esp, [esp]
mov ecx, dword [ebp - 0xe8]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
call eax
test al, al
mov eax, dword [ebp - 0xe4]
je 0x10238fe8
mov byte [esi + eax], 1
mov byte [ebp - 0xd9], 1
jmp 0x10238fec
mov byte [esi + eax], 0
inc esi
cmp esi, edi
jl 0x10238fc0
xor ecx, ecx
mov eax, edi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10251cd1
mov esi, dword [ebp - 0xe8]
add esp, 4
mov edx, dword [esi]
lea ecx, [edi*8]
mov edx, dword [edx + 0x98]
push ecx
mov ecx, esi
mov dword [ebp - 0xe0], eax
call edx
push eax
push dword [ebp - 0xe0]
call sub.MSVCR110.dll_memcpy
movsd xmm0, qword [ebp + 0x1c]
add esp, 0xc
ucomisd xmm0, qword [0x10268980]
lahf
test ah, 0x44
jp 0x1023905b
movsd xmm0, qword [0x1028cd90]
movsd qword [ebp + 0x1c], xmm0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x9c]
call eax
fstp qword [ebp - 0xec]
movsd xmm0, qword [ebp - 0xec]
mulsd xmm0, qword [ebp + 0x1c]
xorps xmm1, xmm1
comisd xmm1, xmm0
jbe 0x10239173
xor ecx, ecx
test edi, edi
jle 0x10239173
movapd xmm1, xmmword [0x1028cdd0]
cmp edi, 2
jb 0x102390dc
mov eax, edi
and eax, 0x80000001
jns 0x102390ac
dec eax
or eax, 0xfffffffe
inc eax
mov edx, edi
sub edx, eax
mov dword [ebp - 0xe8], edx
mov edx, dword [ebp - 0xe0]
mov eax, edx
mov edi, edi
movupd xmm0, xmmword [eax]
add ecx, 2
xorpd xmm0, xmm1
movupd xmmword [eax], xmm0
lea eax, [eax + 0x10]
cmp ecx, dword [ebp - 0xe8]
jl 0x102390c0
jmp 0x102390e2
mov edx, dword [ebp - 0xe0]
cmp ecx, edi
jge 0x10239173
mov eax, edi
sub eax, ecx
cmp eax, 4
jl 0x1023914c
lea eax, [edx + 0x10]
mov edx, edi
sub edx, ecx
sub edx, 4
shr edx, 2
inc edx
lea eax, [eax + ecx*8]
lea ecx, [ecx + edx*4]
jmp 0x10239110
movsd xmm0, qword [eax - 0x10]
xorpd xmm0, xmm1
movsd qword [eax - 0x10], xmm0
movsd xmm0, qword [eax - 8]
xorpd xmm0, xmm1
movsd qword [eax - 8], xmm0
movsd xmm0, qword [eax]
xorpd xmm0, xmm1
movsd qword [eax], xmm0
movsd xmm0, qword [eax + 8]
xorpd xmm0, xmm1
movsd qword [eax + 8], xmm0
lea eax, [eax + 0x20]
dec edx
jne 0x10239110
cmp ecx, edi
jge 0x10239173
mov eax, dword [ebp - 0xe0]
jmp 0x10239160
movsd xmm0, qword [eax + ecx*8]
xorpd xmm0, xmm1
movsd qword [eax + ecx*8], xmm0
inc ecx
cmp ecx, edi
jl 0x10239160
lea ecx, [ebp - 0xd8]
call fcn.101fca70
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
mov dword [ebp - 4], 0
call eax
sub esp, 8
lea ecx, [ebp - 0xd8]
fstp qword [esp]
call fcn.10204fa0
push dword [esi + 0xc]
lea ecx, [ebp - 0xd8]
call fcn.101ffcd0
push dword [ebp - 0xf0]
mov eax, dword [esi]
push dword [ebp - 0xf8]
mov eax, dword [eax + 0x94]
mov ecx, esi
call eax
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edi, dword [ebp - 0xe0]
push eax
xor eax, eax
cmp byte [ebp - 0xd9], al
mov ecx, esi
cmovne eax, dword [ebp - 0xe4]
push eax
mov eax, dword [esi]
push edi
mov eax, dword [eax + 0x80]
call eax
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x7c]
call eax
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
call eax
mov eax, dword [esi]
sub esp, 8
mov eax, dword [eax + 0xbc]
mov ecx, esi
fstp qword [esp]
call eax
push eax
lea ecx, [ebp - 0xd8]
call fcn.10205000
mov eax, dword [esi]
lea ecx, [ebp - 0x104]
push ecx
xorps xmm0, xmm0
push 4
mov ecx, esi
movsd qword [ebp - 0x104], xmm0
call dword [eax + 0x20]
movsd xmm0, qword [ebp - 0x104]
push edi
movsd qword [ebp - 0x90], xmm0
call sub.MSVCR110.dll_void___cdecl_operator_delete___void__
push dword [ebp - 0xe4]
call sub.MSVCR110.dll_void___cdecl_operator_delete___void__
add esp, 8
lea ecx, [ebp - 0xd8]
push dword [ebp - 0xfc]
push dword [ebp + 0x24]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 1
push dword [ebp - 0xf4]
call fcn.102056f0
mov esi, eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.101fcea0
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 0x24