Function at 0x1000f930
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 0x100c8821
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
push esi
push edi
mov eax, dword [0x100f2040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 1
lea edi, [esi + 4]
xorps xmm0, xmm0
mov dword [esi], 0
movups xmmword [edi], xmm0
push 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10089110
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
cmp dword [esi + 0x18], 0xf
mov dword [ebp - 0x28], 1
jbe 0x1000f9f1
mov edi, dword [edi]
mov eax, dword [ebp - 0x1c]
mov byte [edi], 0
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0x20], 0x2710
test eax, eax
je 0x1000fbef
mov ecx, dword [eax + 0x4c]
mov eax, 0xcccccccd
mul ecx
mov edi, ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub edi, eax
mov eax, edx
xor edx, edx
div dword [ebp - 0x14]
mov eax, 0x10624dd3
mov dword [ebp - 0x18], edx
mul ecx
push edi
shr edx, 6
mov eax, edx
xor edx, edx
div dword [ebp - 0x20]
push dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov eax, 0x6b5fca6b
mul ecx
push dword [ebp - 0x14]
mov ecx, edx
mov eax, 0x12e0be83
mul dword [ebx + 0xc]
mov eax, dword [ebx + 0xc]
sub eax, edx
shr ecx, 0x16
shr eax, 1
add eax, edx
shr eax, 0x1d
dec eax
push ecx
xor ecx, ecx
cmp eax, 2
jbe 0x1000fb29
movaps xmm0, xmmword [0x100e9800]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x30], 0x222e3278
movaps xmm0, xmmword [0x100e8fe0]
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x2c], cl
mov al, byte [ebp + ecx - 0x4f]
xor al, byte [ebp - 0x50]
mov byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x1000fa95
sub esp, 0x1c
mov byte [ebp - 0x2c], 0
mov edx, esp
lea ecx, [ebp - 0x4f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000fad0
sub ecx, edi
lea eax, [ebp - 0x4f]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0xe8]
push eax
call fcn.1000d650
mov edi, eax
add esp, 0x30
cmp esi, edi
je 0x1000fb09
mov ecx, esi
call fcn.10002f50
push edi
mov ecx, esi
call fcn.100082f0
lea ecx, [ebp - 0xe8]
call fcn.10002f50
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xe8], 0
jmp 0x1000fbe4
movaps xmm0, xmmword [0x100e9970]
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x58], 0x3438246e
movaps xmm0, xmmword [0x100e8e80]
movups xmmword [ebp - 0x68], xmm0
mov byte [ebp - 0x54], 0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x77]
xor al, byte [ebp - 0x78]
mov byte [ebp + ecx - 0x77], al
inc ecx
cmp ecx, 0x23
jb 0x1000fb50
sub esp, 0x1c
mov byte [ebp - 0x54], 0
mov edx, esp
lea ecx, [ebp - 0x77]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000fb90
sub ecx, edi
lea eax, [ebp - 0x77]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x104]
push eax
call fcn.1000d650
mov edi, eax
add esp, 0x30
cmp esi, edi
je 0x1000fbc9
mov ecx, esi
call fcn.10002f50
push edi
mov ecx, esi
call fcn.100082f0
lea ecx, [ebp - 0x104]
call fcn.10002f50
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x104], 0
push 8
push eax
call fcn.100891b0
add esp, 8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1000fe22
mov edi, dword [eax + 0x48]
test edi, edi
je 0x1000fe22
mov eax, 0xcccccccd
mul edi
mov eax, edi
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
mov dword [ebp - 0x14], eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
mov dword [ebp - 0x18], edx
mul edi
push dword [ebp - 0x14]
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
push dword [ebp - 0x18]
mov eax, 0x6b5fca6b
push edx
mul edi
mov edi, dword [ebx + 0xc]
mov eax, 0x12e0be83
mov ecx, edx
mul edi
shr ecx, 0x16
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
dec edi
push ecx
xor ecx, ecx
cmp edi, 2
jbe 0x1000fd46
movaps xmm0, xmmword [str.3fzozGVzP_l]
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x80], 0x474b571d
movaps xmm0, xmmword [0x100e9560]
movups xmmword [ebp - 0x90], xmm0
mov byte [ebp - 0x7c], cl
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x9f]
xor al, byte [ebp - 0xa0]
mov byte [ebp + ecx - 0x9f], al
inc ecx
cmp ecx, 0x23
jb 0x1000fca0
sub esp, 0x1c
mov byte [ebp - 0x7c], 0
mov edx, esp
lea ecx, [ebp - 0x9f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000fce7
sub ecx, edi
lea eax, [ebp - 0x9f]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x120]
push eax
call fcn.1000d650
mov edi, eax
add esp, 0x30
cmp esi, edi
je 0x1000fd23
mov ecx, esi
call fcn.10002f50
push edi
mov ecx, esi
call fcn.100082f0
lea ecx, [ebp - 0x120]
call fcn.10002f50
mov ecx, dword [ebp - 0x120]
push 8
mov dword [ebp - 0x120], 0
push ecx
jmp 0x1000fe1a
movaps xmm0, xmmword [0x100e8fd0]
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xa8], 0x777b672d
movaps xmm0, xmmword [0x100e97e0]
movups xmmword [ebp - 0xb8], xmm0
mov byte [ebp - 0xa4], 0
mov al, byte [ebp + ecx - 0xc7]
xor al, byte [ebp - 0xc8]
mov byte [ebp + ecx - 0xc7], al
inc ecx
cmp ecx, 0x23
jb 0x1000fd73
sub esp, 0x1c
mov byte [ebp - 0xa4], 0
mov edx, esp
lea ecx, [ebp - 0xc7]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000fdc0
sub ecx, edi
lea eax, [ebp - 0xc7]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x13c]
push eax
call fcn.1000d650
mov edi, eax
add esp, 0x30
cmp esi, edi
je 0x1000fdfc
mov ecx, esi
call fcn.10002f50
push edi
mov ecx, esi
call fcn.100082f0
lea ecx, [ebp - 0x13c]
call fcn.10002f50
mov eax, dword [ebp - 0x13c]
push 8
mov dword [ebp - 0x13c], 0
push eax
call fcn.100891b0
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