Function at 0x101ad170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x103c4120]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x7a879d8a
movdqa xmm0, xmmword [0x101e0b00]
mov ecx, 0x30
push ebx
push esi
push edi
lea edi, [ebp - 0x1d4]
mov ebx, dword [ebp + 8]
movdqu xmmword [ebp - 0x214], xmm0
mov dword [ebp - 0x338], ebx
movdqu xmmword [ebp - 0x204], xmm0
movdqu xmmword [ebp - 0x1f4], xmm0
movdqu xmmword [ebp - 0x1e4], xmm0
rep stosd dword es:[edi], eax
movzx ecx, byte [edx]
shl ecx, 8
movzx eax, byte [edx + 1]
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 0x114], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
mov dword [ebp - 0x110], ecx
movzx ecx, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
mov dword [ebp - 0x10c], ecx
movzx ecx, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
mov dword [ebp - 0x108], ecx
movzx ecx, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
mov dword [ebp - 0x104], ecx
movzx ecx, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x100], ecx
movzx ecx, byte [edx + 0x18]
shl ecx, 8
movzx eax, byte [edx + 0x19]
or ecx, eax
movzx eax, byte [edx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
mov dword [ebp - 0xfc], ecx
movzx ecx, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x21]
mov dword [ebp - 0xf8], ecx
movzx ecx, byte [edx + 0x20]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x22]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x23]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x25]
mov dword [ebp - 0xf4], ecx
movzx ecx, byte [edx + 0x24]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x27]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x29]
mov dword [ebp - 0xf0], ecx
movzx ecx, byte [edx + 0x28]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2d]
mov dword [ebp - 0xec], ecx
movzx ecx, byte [edx + 0x2c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2f]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x31]
mov dword [ebp - 0xe8], ecx
movzx ecx, byte [edx + 0x30]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x33]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x35]
mov dword [ebp - 0xe4], ecx
movzx ecx, byte [edx + 0x34]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x36]
lea esi, [ebp - 0x114]
shl ecx, 8
mov edi, 0x34
or ecx, eax
movzx eax, byte [edx + 0x37]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x39]
mov dword [ebp - 0xe0], ecx
movzx ecx, byte [edx + 0x38]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3d]
mov dword [ebp - 0xdc], ecx
movzx ecx, byte [edx + 0x3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3f]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0xd8], ecx
mov edx, dword [esi + 0x34]
lea esi, [esi + 4]
mov ecx, dword [esi + 8]
rol edx, 0xf
xor edx, dword [esi + 0x18]
xor edx, dword [esi - 4]
rol ecx, 7
mov eax, edx
rol eax, 0xf
xor ecx, eax
mov eax, edx
ror eax, 9
xor ecx, eax
xor ecx, dword [esi + 0x24]
xor ecx, edx
mov dword [esi + 0x3c], ecx
dec edi
jne 0x101ad426
xor eax, eax
movdqu xmm0, xmmword [ebp + eax - 0x104]
movdqu xmm1, xmmword [ebp + eax - 0x114]
pxor xmm1, xmm0
movdqu xmm0, xmmword [ebp + eax - 0x104]
movdqu xmmword [ebp + eax - 0x314], xmm1
movdqu xmm1, xmmword [ebp + eax - 0xf4]
pxor xmm1, xmm0
movdqu xmmword [ebp + eax - 0x304], xmm1
add eax, 0x20
cmp eax, 0x100
jl 0x101ad456
mov eax, dword [ebx + 8]
xor ecx, ecx
mov dword [ebp - 0x348], eax
mov edx, eax
mov dword [ebp - 0x32c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x31c], eax
mov eax, dword [ebx + 0x10]
mov esi, eax
mov dword [ebp - 0x358], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x328], eax
mov eax, dword [ebx + 0x18]
mov edi, eax
mov dword [ebp - 0x344], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x320], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x334], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x318], ecx
jmp 0x101ad520
mov eax, edx
mov ebx, esi
mov edx, dword [ebp + ecx*4 - 0x214]
xor ebx, dword [ebp - 0x31c]
xor ebx, dword [ebp - 0x32c]
rol edx, cl
rol eax, 0xc
add edx, eax
add edx, edi
rol edx, 7
xor eax, edx
add ebx, eax
mov eax, dword [ebp - 0x334]
add ebx, dword [ebp + ecx*4 - 0x314]
mov ecx, eax
add ebx, dword [ebp - 0x328]
xor ecx, dword [ebp - 0x320]
xor ecx, edi
mov dword [ebp - 0x330], ebx
mov ebx, dword [ebp - 0x318]
mov dword [ebp - 0x328], esi
mov esi, dword [ebp - 0x31c]
rol esi, 9
add ecx, dword [ebp + ebx*4 - 0x114]
mov ebx, dword [ebp - 0x330]
add ecx, edx
add ecx, dword [ebp - 0x324]
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x320]
ror eax, 0xd
mov dword [ebp - 0x320], edi
mov edi, ecx
mov dword [ebp - 0x334], eax
mov eax, ecx
ror edi, 0xf
rol eax, 9
xor edi, eax
mov dword [ebp - 0x31c], edx
xor edi, ecx
mov edx, ebx
mov ecx, dword [ebp - 0x318]
inc ecx
mov dword [ebp - 0x32c], edx
mov dword [ebp - 0x318], ecx
cmp ecx, 0x10
jl 0x101ad520
mov eax, 0x10
mov dword [ebp - 0x318], esi
mov dword [ebp - 0x330], eax
jmp 0x101ad600
mov esi, dword [ebp + eax*4 - 0x214]
mov ecx, eax
rol esi, cl
mov edx, ebx
rol edx, 0xc
mov eax, ebx
or eax, dword [ebp - 0x31c]
add esi, edx
and eax, dword [ebp - 0x318]
add esi, edi
and ebx, dword [ebp - 0x31c]
mov ecx, edi
or ebx, eax
rol esi, 7
mov eax, dword [ebp - 0x320]
xor edx, esi
and eax, edi
add ebx, edx
mov edx, dword [ebp - 0x330]
not ecx
and ecx, dword [ebp - 0x334]
or ecx, eax
mov eax, dword [ebp - 0x318]
add ebx, dword [ebp + edx*4 - 0x314]
add ecx, dword [ebp + edx*4 - 0x114]
add ebx, dword [ebp - 0x328]
add ecx, esi
add ecx, dword [ebp - 0x324]
mov edx, dword [ebp - 0x31c]
mov esi, dword [ebp - 0x320]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x324], eax
mov eax, ecx
mov dword [ebp - 0x320], edi
mov edi, ecx
rol eax, 9
ror edi, 0xf
xor edi, eax
rol edx, 9
mov eax, dword [ebp - 0x330]
xor edi, ecx
inc eax
ror esi, 0xd
mov dword [ebp - 0x318], edx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x334], esi
mov dword [ebp - 0x330], eax
cmp eax, 0x40
jl 0x101ad600
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x348]
xor ecx, ebx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x350]
xor ecx, dword [ebp - 0x31c]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x358]
xor ecx, edx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x34c]
xor ecx, dword [ebp - 0x328]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x344]
xor ecx, edi
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x354]
xor ecx, dword [ebp - 0x320]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x33c]
xor ecx, esi
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x340]
xor ecx, dword [ebp - 0x324]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret