Function at 0x100091b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100583b6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x10070014]
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 0x100091f1
xor bl, bl
jmp 0x100091f7
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 0x10009213
mov dword [ebp - 0x10], 0
jmp 0x1000921c
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 0x10009233
xor edi, edi
jmp 0x10009239
mov eax, dword [esi + 0x10]
mov edi, dword [edx + eax]
lea eax, [edx + 4]
mov dword [esi + 8], eax
cmp bl, 1
je 0x10009256
cmp bl, 2
je 0x10009256
mov ecx, dword [0x100723bc]
mov eax, dword [0x100723a8]
jmp 0x10009281
mov ecx, dword [0x100723bc]
test ecx, ecx
je 0x10009275
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x10009275
push edi
mov ecx, eax
call fcn.1004ab30
mov ecx, dword [0x100723bc]
mov eax, dword [0x100723a8]
test eax, eax
je 0x10009281
mov dword [eax + 0x4c], edi
cmp bl, 3
je 0x1000928b
cmp bl, 4
jne 0x100092a8
test ecx, ecx
je 0x100092a1
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x100092a1
push edi
call fcn.1004ac20
mov eax, dword [0x100723a8]
test eax, eax
je 0x100092a8
mov dword [eax + 0x50], edi
movzx eax, bl
dec eax
cmp eax, 3
ja case.default.0x100092b5
jmp dword [eax*4 + 0x10009564]
movaps xmm0, xmmword [0x10067d00]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x5e0a1619
mov dword [ebp - 0x18], 0x160d1f3d
mov word [ebp - 0x14], 0x50
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x18
jb 0x100092e0
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10005650
lea eax, [ebp - 0x80]
push eax
call fcn.10009e40
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x1000931a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.10005650
mov ecx, 0x10b81f8
mov byte [ebp - 4], 1
call fcn.10011160
test eax, eax
je 0x10009352
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10009352
push 0
push 0
push 0xff6565ff
lea eax, [ebp - 0x44]
push eax
call dword [0x1006650c]
lea ecx, [ebp - 0x44]
call fcn.10005010
lea ecx, [ebp - 0x80]
jmp 0x1000954c
movaps xmm0, xmmword [0x10068340]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x2190b29
mov word [ebp - 0x30], 0x44
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x14
jb 0x10009380
sub esp, 0x18
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x43]
mov ecx, esp
push eax
call fcn.10005650
lea eax, [ebp - 0x2c]
push eax
call fcn.10009e40
add esp, 0x20
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x100093ba
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10005650
mov ecx, 0x10b81f8
mov byte [ebp - 4], 3
call fcn.10011160
test eax, eax
je 0x100093f2
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x100093f2
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x80]
push eax
call dword [0x1006650c]
lea ecx, [ebp - 0x80]
call fcn.10005010
lea ecx, [ebp - 0x2c]
jmp 0x1000954c
movaps xmm0, xmmword [0x10068520]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [str._SmQXJ]
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 0x10009420
sub esp, 0x18
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x4b]
mov ecx, esp
push eax
call fcn.10005650
lea eax, [ebp - 0x2c]
push eax
call fcn.10009e40
add esp, 0x20
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x1000945a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10005650
mov ecx, 0x10b81f8
mov byte [ebp - 4], 5
call fcn.10011160
test eax, eax
je 0x100093f2
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x100093f2
push 0
push 0
push 0xff6565ff
jmp 0x100093e8
movaps xmm0, xmmword [0x10068280]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x6e0c584a
mov dword [ebp - 0x54], 0x424d404d
mov dword [ebp - 0x50], 0x2494f
nop word [eax + eax]
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x1a
jb 0x100094c0
sub esp, 0x18
mov byte [ebp - 0x4d], 0
lea eax, [ebp - 0x67]
mov ecx, esp
push eax
call fcn.10005650
lea eax, [ebp - 0xb0]
push eax
call fcn.10009e40
add esp, 0x20
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x100094fd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x98]
call fcn.10005650
mov ecx, 0x10b81f8
mov byte [ebp - 4], 7
call fcn.10011160
test eax, eax
je 0x1000953b
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000953b
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x98]
push eax
call dword [0x1006650c]
lea ecx, [ebp - 0x98]
call fcn.10005010
lea ecx, [ebp - 0xb0]
call fcn.10005010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret