Function at 0x10009560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100603e9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x100095b8
mov eax, dword [esi]
jmp 0x100095ba
mov eax, esi
mov byte [eax], 0
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov dword [esi + 0x10], 0
jb 0x100095dc
mov eax, dword [esi]
jmp 0x100095de
mov eax, esi
mov edi, dword [ebp + 0x14]
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000972a
mov ebx, dword [eax + 0x4c]
mov eax, 0x12e0be83
mul edi
mov eax, edi
mov byte [ebp - 0x2c], 0
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
dec eax
cmp eax, 2
mov eax, 0xcccccccd
jbe 0x1000967f
mul ebx
movaps xmm0, xmmword [0x100656d0]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x10065740]
mov eax, ebx
mov dword [ebp - 0x30], 0x535f4309
shr edx, 3
movups xmmword [ebp - 0x40], xmm0
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
push eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul ebx
shr edx, 0x16
xor ecx, ecx
push edx
nop
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x10009670
jmp 0x100096ed
mul ebx
movaps xmm0, xmmword [0x10065770]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x100656b0]
mov eax, ebx
mov dword [ebp - 0x30], 0x161a064c
shr edx, 3
movups xmmword [ebp - 0x40], xmm0
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
push eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul ebx
shr edx, 0x16
xor ecx, ecx
push edx
nop word [eax + eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x100096e0
sub esp, 0x18
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x28]
push eax
call fcn.10031980
add esp, 0x2c
mov ecx, esi
push eax
call fcn.10007d70
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000972a
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x1000987b
mov ebx, dword [ebx + 0x48]
test ebx, ebx
je 0x1000987b
mov eax, 0x12e0be83
mov byte [ebp - 0x2c], 0
mul edi
mov eax, 0xcccccccd
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
dec edi
mul ebx
cmp edi, 2
jbe 0x100097e5
shr edx, 3
mov eax, ebx
movaps xmm0, xmmword [0x10065710]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x30], 0x606c703a
lea ecx, [edx + edx*4]
movaps xmm0, xmmword [0x100657d0]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
push eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
movups xmmword [ebp - 0x40], xmm0
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul ebx
shr edx, 0x16
xor ecx, ecx
push edx
nop
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x100097c0
sub esp, 0x18
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100017e0
lea ecx, [ebp - 0x28]
push ecx
jmp 0x10009863
mov eax, edx
movaps xmm0, xmmword [0x100657e0]
shr eax, 3
mov ecx, ebx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x30], 0x303c206a
movaps xmm0, xmmword [str._eajp_eajv_eaju_H]
lea edx, [eax + eax*4]
add edx, edx
sub ecx, edx
xor edx, edx
push ecx
mov ecx, 0x64
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
movups xmmword [ebp - 0x40], xmm0
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul ebx
shr edx, 0x16
xor ecx, ecx
push edx
nop
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x10009840
sub esp, 0x18
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x28]
push eax
call fcn.10031980
add esp, 0x2c
mov ecx, esi
push eax
call fcn.10007d70
lea ecx, [ebp - 0x28]
call fcn.10001840
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret