Function at 0x103eb9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], eax
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [edi + 0x9b0]
lea ebx, [esi + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [edi + 0x44]
nop dword [eax]
cmp dword [eax + 0x38], 0
jne 0x103eba4b
mov ecx, dword [eax - 4]
cmp ecx, 1
je 0x103eba33
cmp dword [eax], 1
jne 0x103eba3a
cmp byte [eax + 0x4c], 0
jne 0x103eba3a
inc esi
cmp ecx, 2
je 0x103eba44
cmp dword [eax], 2
jne 0x103eba4b
cmp byte [eax + 0x4c], 0
jne 0x103eba4b
inc edx
add eax, 0x70
sub ebx, 1
jne 0x103eba20
lea eax, [edx + esi]
cmp eax, 1
je 0x103ebc72
mov ecx, dword [edi]
mov dword [ebp - 0x20], ebx
mov eax, dword [ecx + 0x478]
dec eax
test eax, eax
jle 0x103ebb2d
xor esi, esi
or ebx, 0xffffffff
cmp dword [ebp + 8], esi
jbe 0x103ebb15
mov edx, dword [ebp - 0x24]
add edx, 4
mov eax, dword [edx]
cmp eax, 0xffffffff
jle 0x103ebaae
imul ecx, eax, 0x70
mov ecx, dword [ecx + edi + 0x58]
cmp ecx, ebx
jle 0x103ebaa5
cmp byte [ebp + eax - 0x14], 0
jne 0x103ebaa5
mov ebx, ecx
mov dword [ebp - 0x1c], eax
inc esi
add edx, 8
cmp esi, dword [ebp + 8]
jb 0x103eba87
cmp ebx, 0xffffffff
je 0x103ebb15
mov eax, dword [edi]
xor ecx, ecx
mov ebx, dword [ebp - 0x1c]
mov dword [eax + 0x26c0], 1
mov edx, dword [edi]
imul eax, ebx, 0x70
mov byte [ebp + ebx - 0x14], 1
mov eax, dword [eax + edi + 0x48]
mov esi, eax
sub esi, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
test esi, esi
mov eax, dword [edx + 0x26c8]
setg cl
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 0x26d0], ecx
mov eax, esi
mov edx, dword [edi]
sar eax, 0x1f
mov ecx, eax
xor ecx, esi
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 [edi]
inc dword [eax + 0x26c8]
mov ecx, dword [edi]
mov ebx, dword [ebp - 0x20]
inc ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [ecx + 0x478]
dec eax
cmp ebx, eax
jl 0x103eba73
mov eax, dword [ecx + 0x26c8]
mov dword [ebp - 0x20], 0
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 + 0x26d0], 3
mov eax, dword [edi]
inc dword [eax + 0x26c8]
mov ecx, dword [edi]
cmp dword [ecx + 0x731c], 0
jle 0x103ebc72
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
nop dword [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 [edi]
mov dword [ebp - 0x18], ecx
mov eax, dword [edx + ebx + 0x3e70]
and eax, 0xf
sub eax, 1
je 0x103ebc2f
xor esi, esi
add ebx, 0x3e74
nop dword [eax]
mov eax, dword [esi + edx + 0x26d0]
lea esi, [esi + 0x14]
xor eax, dword [ebx + edx]
and eax, 7
xor dword [ebx + edx], eax
mov eax, dword [edi]
lea ecx, [eax + ebx]
mov eax, dword [eax + esi + 0x26c4]
shl eax, 3
xor eax, dword [ecx]
and eax, 0xffff8
xor dword [ecx], eax
mov eax, dword [edi]
lea ecx, [eax + ebx]
mov eax, dword [eax + esi + 0x26c8]
shl eax, 0x14
xor eax, dword [ecx]
and eax, 0xf00000
xor dword [ecx], eax
mov eax, dword [edi]
lea ecx, [eax + ebx]
mov eax, dword [eax + esi + 0x26cc]
shl eax, 0x18
lea ebx, [ebx + 4]
xor eax, dword [ecx]
and eax, 0xf000000
xor dword [ecx], eax
mov edx, dword [edi]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [edx + eax + 0x3e70]
and eax, 0xf
dec eax
cmp ecx, eax
jb 0x103ebbb0
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
lea eax, [esi + ecx]
sub ebx, 0xffffff80
lea ecx, [edx + eax*4]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x18]
add esi, 0x20
mov dword [ebp - 0x24], esi
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 - 0x20]
mov ecx, dword [edi]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ecx + 0x731c]
jl 0x103ebb70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8