Function at 0x101628f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x103c4120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x18]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 0x1c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0x14]
test edi, edi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x74], edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x7c], edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
jne 0x10162973
cmp dword [ebp + 0x10], 0
jbe 0x10162ebc
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
add eax, 2
movdqu xmm0, xmmword [ebp - 0x14]
movdqu xmm1, xmmword [ebp - 0x24]
movzx edx, byte [eax + 1]
shl edx, 8
movzx ecx, byte [eax]
or edx, ecx
movzx ecx, byte [eax - 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 4]
mov dword [ebp - 0x60], edx
movzx edx, byte [eax + 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 8]
mov dword [ebp - 0x68], edx
movzx edx, byte [eax + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 7]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 6]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0xc]
mov dword [ebp - 0x58], edx
movzx edx, byte [eax + 0xd]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0xb]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0xa]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x10]
mov dword [ebp - 0x54], edx
movzx edx, byte [eax + 0x11]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0xf]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0xe]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x14]
mov dword [ebp - 0x4c], edx
movzx edx, byte [eax + 0x15]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x13]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x12]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x18]
mov dword [ebp - 0x50], edx
movzx edx, byte [eax + 0x19]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x17]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x16]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x1c]
mov dword [ebp - 0x40], edx
movzx edx, byte [eax + 0x1d]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x1b]
movdqu xmm2, xmm1
shl edx, 8
movdqu xmm3, xmm0
or edx, ecx
mov dword [ebp - 0x78], 0
movzx ecx, byte [eax + 0x1a]
add eax, 0x20
shl edx, 8
or edx, ecx
mov dword [ebp - 0x88], eax
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 0x6c], edx
jb 0x10162e30
ja 0x10162ac1
test ebx, ebx
je 0x10162e30
mov eax, dword [ebp - 0x60]
mov ecx, esi
mov edx, esi
shr ecx, 0x18
mov ebx, eax
shl edx, 8
shl ebx, 8
xor edx, dword [ecx*4 + 0x103c0ac0]
mov ecx, eax
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x103c0ac0]
mov ecx, edx
shr ecx, 0x18
shl edx, 8
xor edx, dword [ecx*4 + 0x103c0ac0]
mov ecx, ebx
shr ecx, 0x18
shl ebx, 8
xor ebx, dword [ecx*4 + 0x103c0ac0]
mov ecx, edx
shr ecx, 0x18
shl edx, 8
xor edx, dword [ecx*4 + 0x103c0ac0]
mov ecx, ebx
shr ecx, 0x18
shl ebx, 8
mov dword [ebp - 0x70], edx
xor ebx, dword [ecx*4 + 0x103c0ac0]
mov dword [ebp - 0x80], ebx
mov ebx, dword [ebp - 0x3c]
mov esi, ebx
and ebx, dword [ebp - 0x34]
not esi
mov ecx, esi
and esi, dword [ebp - 0x34]
and ecx, edi
mov edi, dword [ebp - 0x34]
mov edx, ecx
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x38]
not edx
not ecx
not edi
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x2c]
not ecx
mov dword [ebp - 0x64], ecx
mov ecx, edi
and ecx, edx
and edx, dword [ebp - 0x44]
and ecx, dword [ebp - 0x44]
xor ecx, ebx
and ecx, dword [ebp - 0x38]
mov dword [ebp - 0x30], ecx
mov ecx, edi
and ecx, dword [ebp - 0x2c]
not ecx
and ecx, dword [ebp - 0x60]
xor dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
xor ecx, edx
mov edx, dword [ebp - 0x38]
xor edx, dword [ebp - 0x3c]
and edx, dword [ebp - 0x2c]
xor ecx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x48]
and edx, dword [ebp - 0x34]
xor edx, dword [ebp - 0x64]
and edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
xor edx, esi
mov ecx, dword [ebp - 0x2c]
and ecx, dword [ebp - 0x3c]
xor edx, ecx
mov ecx, dword [ebp - 0x30]
not edx
xor ecx, edx
and ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x44]
mov edx, ecx
and edx, dword [ebp - 0x2c]
and ecx, dword [ebp - 0x34]
and edx, dword [ebp - 0x34]
not ecx
and ecx, dword [ebp - 0x48]
xor edx, dword [ebp - 0x64]
and edx, dword [ebp - 0x38]
xor edx, ecx
and edi, dword [ebp - 0x48]
and edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
and ecx, dword [ebp - 0x44]
and ecx, dword [ebp - 0x2c]
and ecx, dword [ebp - 0x34]
xor edx, ecx
mov ecx, dword [ebp - 0x5c]
not ecx
and edx, ecx
mov ecx, dword [ebp - 0x48]
xor dword [ebp - 0x30], edx
mov edx, ecx
and edx, dword [ebp - 0x2c]
xor edx, dword [ebp - 0x38]
and edx, dword [ebp - 0x3c]
xor edx, ecx
not ecx
and ecx, dword [ebp - 0x38]
and edx, dword [ebp - 0x34]
xor edx, ecx
mov ecx, dword [ebp - 0x44]
not ecx
and edx, ecx
xor dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x60]
mov ecx, edx
and ecx, dword [ebp - 0x3c]
xor ecx, dword [ebp - 0x38]
and ecx, dword [ebp - 0x34]
and edx, dword [ebp - 0x48]
xor ecx, edi
and ecx, dword [ebp - 0x2c]
and edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x30]
xor edi, ecx
mov ecx, dword [ebp - 0x2c]
and ecx, dword [ebp - 0x34]
xor edx, ecx
xor edx, ebx
mov ebx, dword [ebp - 0x50]
xor edx, dword [ebp - 0x8c]
mov esi, ebx
and edx, dword [ebp - 0x44]
not esi
xor edi, edx
and ebx, eax
mov edx, dword [ebp - 0x70]
mov ecx, edx
shr ecx, 0x18
shl edx, 8
xor edi, dword [ecx*4 + 0x103c0ac0]
mov ecx, esi
and ecx, dword [ebp - 0x40]
xor edi, edx
xor edi, dword [ebp - 0x64]
mov edx, ecx
xor edi, dword [ebp - 0x28]
not edx
xor edi, dword [ebp - 0x6c]
xor edi, dword [ebp - 0x3c]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x4c]
not ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x64], ecx
mov edi, eax
mov ecx, dword [ebp - 0x40]
not edi
not ecx
mov dword [ebp - 0x60], ecx
mov ecx, edi
and ecx, edx
and ecx, dword [ebp - 0x58]
and edx, dword [ebp - 0x58]
xor ecx, ebx
and ecx, dword [ebp - 0x4c]
and esi, eax
mov dword [ebp - 0x28], ecx
mov ecx, edi
and ecx, dword [ebp - 0x40]
not ecx
and edi, dword [ebp - 0x54]
and ecx, dword [ebp - 0x64]
xor dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
xor ecx, edx
mov edx, dword [ebp - 0x4c]
xor edx, dword [ebp - 0x50]
xor ecx, eax
and ecx, dword [ebp - 0x54]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x40]
and edx, ecx
and ecx, dword [ebp - 0x50]
and edx, eax
xor edx, dword [ebp - 0x60]
and edx, dword [ebp - 0x58]
xor edx, esi
xor edx, ecx
mov ecx, dword [ebp - 0x28]
not edx
xor ecx, edx
and ecx, dword [ebp - 0x68]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x58]
mov edx, ecx
and edx, dword [ebp - 0x40]
and ecx, eax
and edx, eax
not ecx
xor edx, dword [ebp - 0x60]
and ecx, dword [ebp - 0x54]
and edx, dword [ebp - 0x4c]
xor edx, ecx
mov ecx, dword [ebp - 0x54]
and ecx, dword [ebp - 0x58]
and ecx, dword [ebp - 0x40]
and edx, dword [ebp - 0x50]
and ecx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x68]
not ecx
and edx, ecx
mov ecx, dword [ebp - 0x54]
xor dword [ebp - 0x28], edx
mov edx, ecx
and edx, dword [ebp - 0x40]
xor edx, dword [ebp - 0x4c]
and edx, dword [ebp - 0x50]
xor edx, ecx
not ecx
and ecx, dword [ebp - 0x4c]
and edx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x58]
not ecx
and edx, ecx
xor dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x64]
mov ecx, edx
and ecx, dword [ebp - 0x50]
xor ecx, dword [ebp - 0x4c]
and edx, dword [ebp - 0x54]
and ecx, eax
and edx, dword [ebp - 0x50]
xor ecx, edi
and ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x28]
xor edi, ecx
mov ecx, dword [ebp - 0x40]
and ecx, eax
xor edx, ecx
xor edx, ebx
xor edx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x58]
and edx, ebx
xor edi, edx
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x80]
mov ecx, edx
shr ecx, 0x18
shl edx, 8
mov dword [ebp - 0x24], esi
xor edi, dword [ecx*4 + 0x103c0ac0]
mov ecx, dword [ebp - 0x50]
xor edi, edx
xor edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x2c]
xor edi, ecx
xor edi, dword [ebp - 0x6c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x2c], edx
inc ecx
mov dword [ebp - 0xc], edx
xor edx, edx
mov dword [ebp - 0x68], eax
mov eax, edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x78], ecx
cmp edx, dword [ebp + 0x1c]
jb 0x10162ac4
mov ebx, dword [ebp + 0x18]
ja 0x10162e20
cmp ecx, ebx
jb 0x10162ac4
jmp 0x10162e20
movdqu xmm0, xmmword [ebp - 0x14]
mov eax, dword [ebp - 0x88]
movdqu xmm1, xmmword [ebp - 0x24]
mov ecx, dword [ebp - 0x7c]
pxor xmm1, xmm2
mov edx, dword [ebp - 0x74]
add ecx, 0xffffffff
pxor xmm0, xmm3
mov dword [ebp - 0x7c], ecx
adc edx, 0xffffffff
mov dword [ebp - 0x74], edx
movdqu xmmword [ebp - 0x24], xmm1
movdqu xmmword [ebp - 0x14], xmm0
test edx, edx
ja 0x10162e60
jb 0x10162e95
test ecx, ecx
je 0x10162e95
mov edi, edi
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x34], esi
jmp 0x10162986
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x84]
mov dword [eax], esi
mov esi, dword [ebp - 0x5c]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax + 4], esi
xor ecx, ebp
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x38]
pop esi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
pop ebx
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret