Function at 0x103eb6c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xorps xmm0, xmm0
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x38], edi
mov eax, dword [esi + 0x9b0]
mov ecx, dword [esi]
mov dword [ebp - 0x34], ebx
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [eax]
movups xmmword [ebp - 0x14], xmm0
lea eax, [eax*2 + 1]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
jne 0x103eb9c2
mov ecx, 0x10
mov dword [ebp - 0x28], ebx
xor edx, edx
mov dword [ebp - 0x2c], ecx
lea eax, [esi + 0x44]
nop dword [eax]
cmp dword [eax + 0x38], ebx
jne 0x103eb752
mov ecx, dword [eax - 4]
cmp ecx, 1
je 0x103eb732
cmp dword [eax], 1
jne 0x103eb73a
cmp byte [eax + 0x4c], bl
jne 0x103eb73a
inc dword [ebp - 0x28]
cmp ecx, 2
je 0x103eb744
cmp dword [eax], 2
jne 0x103eb74f
mov ecx, dword [ebp - 0x2c]
cmp byte [eax + 0x4c], bl
jne 0x103eb752
inc edx
jmp 0x103eb752
mov ecx, dword [ebp - 0x2c]
add eax, 0x70
sub ecx, 1
mov dword [ebp - 0x2c], ecx
jne 0x103eb720
mov eax, dword [ebp - 0x28]
add eax, edx
cmp eax, 1
je 0x103eb9c2
xor edx, edx
mov dword [ebp - 0x2c], 7
mov ecx, dword [esi]
mov dword [ebp - 0x28], edx
mov eax, dword [ecx + 0x478]
cmp eax, 7
cmovg eax, dword [ebp - 0x2c]
cmp edx, eax
jge 0x103eb877
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
xor eax, eax
test ecx, ecx
je 0x103eb86b
nop
cmp byte [ebp + eax - 0x24], 0
jne 0x103eb7f3
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + eax*8]
mov edi, dword [ecx + eax*8 + 4]
imul ecx, edi, 0x70
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x103eb7d6
mov ebx, dword [ecx + esi + 0x54]
cmp ebx, edx
jle 0x103eb7cf
mov edx, ebx
mov dword [ebp - 0x38], edi
mov ebx, eax
mov dword [ebp - 0x34], ebx
jmp 0x103eb7f0
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
jne 0x103eb7ea
mov ecx, dword [ecx + esi + 0x50]
cmp ecx, edx
jle 0x103eb7ea
mov ebx, eax
mov dword [ebp - 0x38], edi
mov edx, ecx
mov dword [ebp - 0x34], ebx
jmp 0x103eb7f0
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
inc eax
cmp eax, ecx
jb 0x103eb7a0
cmp edx, 0xffffffff
je 0x103eb86b
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x26c0], 1
imul eax, edi, 0x70
cmp dword [ecx + ebx*8], 0
je 0x103eb81b
mov eax, dword [eax + esi + 0x68]
jmp 0x103eb81f
mov eax, dword [eax + esi + 0x64]
mov edx, dword [esi]
mov edi, eax
sub edi, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x30], eax
test edi, edi
mov byte [ebp + ebx - 0x24], 1
mov eax, dword [edx + 0x26c8]
setg cl
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 0x26d0], ecx
mov eax, edi
mov edx, dword [esi]
sar eax, 0x1f
mov ecx, eax
xor ecx, edi
sub ecx, eax
mov eax, dword [edx + 0x26c8]
dec ecx
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 0x26d8], ecx
mov eax, dword [esi]
inc dword [eax + 0x26c8]
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
inc edx
jmp 0x103eb774
mov eax, dword [ecx + 0x26c8]
mov dword [ebp - 0x34], 0
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 + 0x26d0], 3
mov eax, dword [esi]
inc dword [eax + 0x26c8]
mov ecx, dword [esi]
cmp dword [ecx + 0x731c], 0
jle 0x103eb9c2
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ecx + 0x26c8]
xor eax, dword [ebx + ecx + 0x3e70]
and eax, 0xf
xor dword [ebx + ecx + 0x3e70], eax
xor ecx, ecx
mov edx, dword [esi]
mov dword [ebp - 0x28], ecx
mov eax, dword [edx + ebx + 0x3e70]
and eax, 0xf
sub eax, 1
je 0x103eb97f
xor edi, edi
add ebx, 0x3e74
nop dword [eax]
mov eax, dword [edi + edx + 0x26d0]
lea edi, [edi + 0x14]
xor eax, dword [ebx + edx]
and eax, 7
xor dword [ebx + edx], eax
mov eax, dword [esi]
lea ecx, [eax + ebx]
mov eax, dword [eax + edi + 0x26c4]
shl eax, 3
xor eax, dword [ecx]
and eax, 0xffff8
xor dword [ecx], eax
mov eax, dword [esi]
lea ecx, [eax + ebx]
mov eax, dword [eax + edi + 0x26c8]
shl eax, 0x14
xor eax, dword [ecx]
and eax, 0xf00000
xor dword [ecx], eax
mov eax, dword [esi]
lea ecx, [eax + ebx]
mov eax, dword [eax + edi + 0x26cc]
shl eax, 0x18
lea ebx, [ebx + 4]
xor eax, dword [ecx]
and eax, 0xf000000
xor dword [ecx], eax
mov edx, dword [esi]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [edx + eax + 0x3e70]
and eax, 0xf
dec eax
cmp ecx, eax
jb 0x103eb900
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
lea eax, [edi + ecx]
sub ebx, 0xffffff80
lea ecx, [edx + eax*4]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x28]
add edi, 0x20
mov dword [ebp - 0x2c], edi
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 0x26d0]
xor eax, dword [ecx + 0x3e74]
and eax, 7
xor dword [ecx + 0x3e74], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [esi]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ecx + 0x731c]
jl 0x103eb8c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8