Function at 0x10009110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058176
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x1006f014]
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 0x10009151
xor bl, bl
jmp 0x10009157
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 0x10009173
mov dword [ebp - 0x10], 0
jmp 0x1000917c
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 0x10009193
xor edi, edi
jmp 0x10009199
mov eax, dword [esi + 0x10]
mov edi, dword [edx + eax]
lea eax, [edx + 4]
mov dword [esi + 8], eax
cmp bl, 1
je 0x100091b6
cmp bl, 2
je 0x100091b6
mov ecx, dword [0x100713bc]
mov eax, dword [0x100713a8]
jmp 0x100091e1
mov ecx, dword [0x100713bc]
test ecx, ecx
je 0x100091d5
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x100091d5
push edi
mov ecx, eax
call fcn.1004a900
mov ecx, dword [0x100713bc]
mov eax, dword [0x100713a8]
test eax, eax
je 0x100091e1
mov dword [eax + 0x4c], edi
cmp bl, 3
je 0x100091eb
cmp bl, 4
jne 0x10009208
test ecx, ecx
je 0x10009201
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x10009201
push edi
call fcn.1004a9f0
mov eax, dword [0x100713a8]
test eax, eax
je 0x10009208
mov dword [eax + 0x50], edi
movzx eax, bl
dec eax
cmp eax, 3
ja case.default.0x10009215
jmp dword [eax*4 + 0x100094c4]
movaps xmm0, xmmword [0x100672a0]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0xc58444b
mov dword [ebp - 0x18], 0x445f4d6f
mov word [ebp - 0x14], 2
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x18
jb 0x10009240
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.100055b0
lea eax, [ebp - 0x80]
push eax
call fcn.10009da0
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x1000927a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.100055b0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 1
call fcn.10010fa0
test eax, eax
je 0x100092b2
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x100092b2
push 0
push 0
push 0xff6565ff
lea eax, [ebp - 0x44]
push eax
call dword [0x100654fc]
lea ecx, [ebp - 0x44]
call fcn.10004f70
lea ecx, [ebp - 0x80]
jmp 0x100094ac
movaps xmm0, xmmword [0x10067470]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x1d061436
mov word [ebp - 0x30], 0x5b
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x14
jb 0x100092e0
sub esp, 0x18
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x43]
mov ecx, esp
push eax
call fcn.100055b0
lea eax, [ebp - 0x2c]
push eax
call fcn.10009da0
add esp, 0x20
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1000931a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.100055b0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 3
call fcn.10010fa0
test eax, eax
je 0x10009352
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10009352
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x80]
push eax
call dword [0x100654fc]
lea ecx, [ebp - 0x80]
call fcn.10004f70
lea ecx, [ebp - 0x2c]
jmp 0x100094ac
movaps xmm0, xmmword [0x10066c10]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [0x10066920]
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 0x10009380
sub esp, 0x18
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x4b]
mov ecx, esp
push eax
call fcn.100055b0
lea eax, [ebp - 0x2c]
push eax
call fcn.10009da0
add esp, 0x20
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x100093ba
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.100055b0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 5
call fcn.10010fa0
test eax, eax
je 0x10009352
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10009352
push 0
push 0
push 0xff6565ff
jmp 0x10009348
movaps xmm0, xmmword [0x10067920]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x52306476
mov dword [ebp - 0x54], 0x7e717c71
mov dword [ebp - 0x50], 0x3e7573
nop word [eax + eax]
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x1a
jb 0x10009420
sub esp, 0x18
mov byte [ebp - 0x4d], 0
lea eax, [ebp - 0x67]
mov ecx, esp
push eax
call fcn.100055b0
lea eax, [ebp - 0xb0]
push eax
call fcn.10009da0
add esp, 0x20
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x1000945d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x98]
call fcn.100055b0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 7
call fcn.10010fa0
test eax, eax
je 0x1000949b
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000949b
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x98]
push eax
call dword [0x100654fc]
lea ecx, [ebp - 0x98]
call fcn.10004f70
lea ecx, [ebp - 0xb0]
call fcn.10004f70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret