Function at 0x10008a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100910f6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x100bb084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 0x10]
lea eax, [ecx + 1]
cmp eax, edx
jbe 0x10008a51
xor bl, bl
jmp 0x10008a57
mov eax, dword [esi + 0x10]
mov bl, byte [ecx + eax]
lea edx, [ecx + 1]
mov dword [esi + 8], edx
lea eax, [edx + 4]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
cmp eax, ecx
jbe 0x10008a73
mov dword [ebp - 0x10], 0
jmp 0x10008a7c
mov eax, dword [esi + 0x10]
mov eax, dword [edx + eax]
mov dword [ebp - 0x10], eax
add edx, 4
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 4]
cmp eax, ecx
jbe 0x10008a93
xor edi, edi
jmp 0x10008a99
mov eax, dword [esi + 0x10]
mov edi, dword [edx + eax]
lea eax, [edx + 4]
mov dword [esi + 8], eax
cmp bl, 1
je 0x10008ab6
cmp bl, 2
je 0x10008ab6
mov ecx, dword [0x100bfa5c]
mov eax, dword [0x100bfa48]
jmp 0x10008ae1
mov ecx, dword [0x100bfa5c]
test ecx, ecx
je 0x10008ad5
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x10008ad5
push edi
mov ecx, eax
call fcn.1004e270
mov ecx, dword [0x100bfa5c]
mov eax, dword [0x100bfa48]
test eax, eax
je 0x10008ae1
mov dword [eax + 0x4c], edi
cmp bl, 3
je 0x10008aeb
cmp bl, 4
jne 0x10008b08
test ecx, ecx
je 0x10008b01
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x10008b01
push edi
call fcn.1004e370
mov eax, dword [0x100bfa48]
test eax, eax
je 0x10008b08
mov dword [eax + 0x50], edi
movzx eax, bl
dec eax
cmp eax, 3
ja case.default.0x10008b15
jmp dword [eax*4 + 0x10008dc4]
movaps xmm0, xmmword [0x100af580]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x7b2f333c
mov dword [ebp - 0x18], 0x33283a18
mov word [ebp - 0x14], 0x75
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x18
jb 0x10008b40
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10004e00
lea eax, [ebp - 0x80]
push eax
call fcn.10004670
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x10008b7a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.10004e00
mov ecx, 0x10b81f8
mov byte [ebp - 4], 1
call fcn.10012080
test eax, eax
je 0x10008bb2
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10008bb2
push 0
push 0
push 0xff6565ff
lea eax, [ebp - 0x44]
push eax
call dword [0x100ada28]
lea ecx, [ebp - 0x44]
call fcn.10004790
lea ecx, [ebp - 0x80]
jmp 0x10008dac
movaps xmm0, xmmword [0x100af980]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x110a183a
mov word [ebp - 0x30], 0x57
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x14
jb 0x10008be0
sub esp, 0x18
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x43]
mov ecx, esp
push eax
call fcn.10004e00
lea eax, [ebp - 0x2c]
push eax
call fcn.10004670
add esp, 0x20
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x10008c1a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004e00
mov ecx, 0x10b81f8
mov byte [ebp - 4], 3
call fcn.10012080
test eax, eax
je 0x10008c52
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10008c52
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x80]
push eax
call dword [0x100ada28]
lea ecx, [ebp - 0x80]
call fcn.10004790
lea ecx, [ebp - 0x2c]
jmp 0x10008dac
movaps xmm0, xmmword [0x100afa50]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [str.fjThasEfkfidb_]
movups xmmword [ebp - 0x3c], xmm0
nop dword [eax]
mov al, byte [ebp - 0x4c]
xor byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0x1e
jb 0x10008c80
sub esp, 0x18
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x4b]
mov ecx, esp
push eax
call fcn.10004e00
lea eax, [ebp - 0x2c]
push eax
call fcn.10004670
add esp, 0x20
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x10008cba
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004e00
mov ecx, 0x10b81f8
mov byte [ebp - 4], 5
call fcn.10012080
test eax, eax
je 0x10008c52
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10008c52
push 0
push 0
push 0xff6565ff
jmp 0x10008c48
movaps xmm0, xmmword [0x100af240]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x22401406
mov dword [ebp - 0x54], 0xe010c01
mov dword [ebp - 0x50], 0x4e0503
nop word [eax + eax]
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x1a
jb 0x10008d20
sub esp, 0x18
mov byte [ebp - 0x4d], 0
lea eax, [ebp - 0x67]
mov ecx, esp
push eax
call fcn.10004e00
lea eax, [ebp - 0xb0]
push eax
call fcn.10004670
add esp, 0x20
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x10008d5d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x98]
call fcn.10004e00
mov ecx, 0x10b81f8
mov byte [ebp - 4], 7
call fcn.10012080
test eax, eax
je 0x10008d9b
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10008d9b
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x98]
push eax
call dword [0x100ada28]
lea ecx, [ebp - 0x98]
call fcn.10004790
lea ecx, [ebp - 0xb0]
call fcn.10004790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret