Function at 0x1000d730
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x103dda04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x64], edi
push 0x400
mov dword [ebp - 0x6c], edi
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [ebp - 0x68], 0xffffffff
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.100aaf30
mov esi, eax
mov dword [ebp - 0x64], 0
mov dword [edi], esi
lea ecx, [ebp - 0x64]
mov dword [edi + 4], esi
add esp, 4
lea eax, [esi + 0x400]
mov dword [edi + 8], eax
lea eax, [ebp - 0x68]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x1000d7d1
push 0x400
push 0
push esi
call fcn.100b8700
add esp, 0xc
mov eax, 0x400
jmp 0x1000d7e7
or eax, 0xffffffff
mov edi, esi
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x6c]
mov eax, esi
mov esi, 0x400
add eax, esi
xor esi, esi
mov dword [edi + 4], eax
nop
mov ecx, dword [edi]
mov dword [ebp - 0xc0], 0x92e8c2c4
mov dword [ebp - 0xbc], 0xbfb11ad8
mov dword [ebp - 0xb8], 0x9cb339db
mov dword [ebp - 0xb4], 0x91c0dde5
movaps xmm1, xmmword [ebp - 0xc0]
mov dword [ebp - 0x60], 0xd6ab8085
mov dword [ebp - 0x5c], 0xf7f65c9d
mov dword [ebp - 0x58], 0xd0f87392
mov dword [ebp - 0x54], 0xc18f93a8
pxor xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0xc0], xmm1
mov dword [ebp - 0xb0], 0xc2be06d6
mov dword [ebp - 0xac], 0xa083f882
mov dword [ebp - 0xa8], 0x64e3c81d
mov dword [ebp - 0xa4], 0x85e91891
movaps xmm1, xmmword [ebp - 0xb0]
mov dword [ebp - 0x50], 0x96ed5487
mov dword [ebp - 0x4c], 0xf8d4aed7
mov dword [ebp - 0x48], 0x6829244
mov dword [ebp - 0x44], 0xe38c7cf2
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0xb0], xmm1
mov dword [ebp - 0xa0], 0x8567390e
mov dword [ebp - 0x9c], 0xa785ccfa
mov dword [ebp - 0x98], 0x67a204b9
mov dword [ebp - 0x94], 0x2bbc535f
movaps xmm1, xmmword [ebp - 0xa0]
mov dword [ebp - 0x40], 0xef0e5169
mov dword [ebp - 0x3c], 0xc9e8a091
mov dword [ebp - 0x38], 0x15d374d6
mov dword [ebp - 0x34], 0x5dc9272c
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0xa0], xmm1
mov dword [ebp - 0x90], 0x18516ffc
mov dword [ebp - 0x8c], 0x31cc0e0b
mov dword [ebp - 0x88], 0x8f07cd4c
mov dword [ebp - 0x84], 0xa2a5ed0e
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x30], 0x6228178b
mov dword [ebp - 0x2c], 0x2fe3f3b
mov dword [ebp - 0x28], 0xb831f878
mov dword [ebp - 0x24], 0x8d8ed436
pxor xmm1, xmmword [ebp - 0x30]
mov dword [ebp - 0x80], 0xa51bf28d
mov dword [ebp - 0x7c], 0xd6984595
mov dword [ebp - 0x78], 0xb51ca47a
mov dword [ebp - 0x74], 0x3bb3660
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
mov dword [ebp - 0x20], 0xa51bf28d
mov dword [ebp - 0x1c], 0xd6984595
mov dword [ebp - 0x18], 0xb51ca47a
mov dword [ebp - 0x14], 0x3bb3660
pxor xmm1, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x80], xmm1
movsx edx, byte [ebp + esi - 0xc0]
mov dword [ecx + edx*4], esi
inc esi
cmp esi, 0x40
jl 0x1000d7f0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100b684e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4