Function at 0x1008d6f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x180
mov esi, dword [ebp + 0xc]
call 0x1008d707
pop edi
movsd xmm1, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x28]
movsd xmm0, qword [esi + 0x38]
movsd qword [esp + 0xc0], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esp + 0xb8], xmm2
movsd xmm2, qword [esi + 0x18]
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [esi + 0x10]
movsd qword [esp + 0xa8], xmm2
movsd xmm2, qword [esi]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esi + 8]
movsd qword [esp + 0x90], xmm2
movsd qword [esp + 0x98], xmm1
mov eax, dword [0x1019db6c]
test eax, eax
jne 0x1008d7cd
mov ecx, 1
xor eax, eax
lock cmpxchg dword [0x1019db6c], ecx
jne 0x1008d7cd
mov dword [esp + 0xd8], 0x1019db6c
call fcn.100e76a0
mov byte [0x1019db70], 1
mov byte [esp + 0xdc], 0
mov eax, 2
xchg dword [0x1019db6c], eax
lea eax, [esp + 0xd8]
push eax
call fcn.10099100
add esp, 4
jmp 0x1008d7ea
mov eax, dword [eax*4 + 0x1008dbe4]
add eax, edi
jmp eax
movsd xmm1, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x28]
movsd xmm0, qword [esi + 0x38]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esp + 0x38], xmm2
movsd xmm2, qword [esi + 0x18]
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [esi + 0x10]
movsd qword [esp + 0x28], xmm2
movsd xmm2, qword [esi]
movsd qword [esp + 0x20], xmm1
movsd xmm1, qword [esi + 8]
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 0x18], xmm1
mov eax, dword [0x1019db6c]
test eax, eax
jne 0x1008d897
mov ecx, 1
xor eax, eax
lock cmpxchg dword [0x1019db6c], ecx
jne 0x1008d897
mov dword [esp + 0xd8], 0x1019db6c
call fcn.100e76a0
mov byte [0x1019db70], 1
mov byte [esp + 0xdc], 0
mov eax, 2
xchg dword [0x1019db6c], eax
lea eax, [esp + 0xd8]
push eax
call fcn.10099100
add esp, 4
jmp 0x1008d8b4
mov eax, dword [eax*4 + 0x1008dbf4]
add eax, edi
jmp eax
movsd xmm1, qword [esp + 0xc0]
movsd xmm2, qword [esp + 0xb8]
movsd xmm0, qword [esp + 0xc8]
movsd xmm3, qword [esp + 0x90]
mov eax, dword [ebp + 0x14]
mov ebx, dword [esi + 0x48]
mov ecx, dword [ebp + 0x10]
movsd qword [esp + 0x108], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [esp + 0x100], xmm2
movsd xmm2, qword [esp + 0xa8]
movsd qword [esp + 0x110], xmm0
movsd qword [esp + 0xd8], xmm3
cmp ebx, eax
movsd qword [esp + 0xf8], xmm1
movsd xmm1, qword [esp + 0xa0]
movsd qword [esp + 0xf0], xmm2
movsd xmm2, qword [esp + 0x48]
movsd qword [esp + 0xe8], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [esp + 0xe0], xmm1
movsd xmm1, qword [esp + 0x40]
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x120], esi
movsd qword [esp + 0x160], xmm2
movsd xmm2, qword [esp + 0x38]
movsd qword [esp + 0x158], xmm1
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0x150], xmm2
movsd xmm2, qword [esp + 0x28]
movsd qword [esp + 0x148], xmm1
movsd xmm1, qword [esp + 0x20]
movsd qword [esp + 0x140], xmm2
movsd xmm2, qword [esp + 0x10]
movsd qword [esp + 0x138], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [esp + 0x128], xmm2
movsd qword [esp + 0x130], xmm1
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], esi
jae 0x1008da2e
lea edi, [esp + 0x90]
push eax
push ecx
push esi
push edi
call fcn.1008eee0
add esp, 0x10
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0x40]
cmp eax, 0x41
jae 0x1008dbd4
mov ebx, dword [esi + 0x48]
jmp 0x1008da30
mov edi, ecx
movaps xmm0, xmmword [0x1011e430]
cmp ebx, 0x81
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
jae 0x1008dbc4
cmp ebx, eax
cmovbe eax, ebx
test eax, eax
je 0x1008daed
mov cl, byte [edi]
xor cl, 0x36
cmp eax, 1
mov byte [esp + 0x10], cl
je 0x1008daed
lea esi, [eax - 1]
mov ecx, 1
cmp esi, 0x1f
jbe 0x1008dae0
mov dword [esp + 0xc], esi
and esi, 0xffffffe0
xor edx, edx
lea ecx, [esi + 1]
nop
movups xmm0, xmmword [esp + edx + 0x11]
movups xmm2, xmmword [edi + edx + 1]
movups xmm1, xmmword [esp + edx + 0x21]
movups xmm3, xmmword [edi + edx + 0x11]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [esp + edx + 0x11], xmm2
movups xmmword [esp + edx + 0x21], xmm3
add edx, 0x20
cmp esi, edx
jne 0x1008daa0
cmp dword [esp + 0xc], esi
je 0x1008daed
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edx, byte [edi + ecx]
xor byte [esp + ecx + 0x10], dl
inc ecx
cmp ecx, eax
jb 0x1008dae0
lea edi, [esp + 0xd8]
lea esi, [esp + 0x10]
mov ecx, edi
mov edx, esi
push ebx
call fcn.1008ba70
add esp, 4
test ebx, ebx
je 0x1008db68
cmp ebx, 0x1f
jbe 0x1008db50
movaps xmm0, xmmword [0x1011e440]
mov eax, ebx
lea ecx, [esp + 0x20]
and eax, 0xffffffe0
lea esi, [esp + eax + 0x10]
mov edx, eax
nop word cs:[eax + eax]
nop
movups xmm1, xmmword [ecx - 0x10]
movups xmm2, xmmword [ecx]
xorps xmm1, xmm0
xorps xmm2, xmm0
movups xmmword [ecx - 0x10], xmm1
movups xmmword [ecx], xmm2
add ecx, 0x20
add edx, 0xffffffe0
jne 0x1008db30
cmp ebx, eax
je 0x1008db68
lea eax, [esp + ebx + 0x10]
nop word cs:[eax + eax]
nop
xor byte [esi], 0x6a
inc esi
cmp eax, esi
jne 0x1008db60
lea edx, [esp + 0x10]
lea ecx, [esp + 0x128]
push ebx
call fcn.1008ba70
add esp, 4
push 0xa0
push edi
mov esi, dword [ebp + 8]
push esi
call fcn.100f0640
add esp, 0xc
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x80
push ebx
call fcn.100e2170
add esp, 8
ud2
push 0x40
push eax
call fcn.100e2170
add esp, 8
ud2