Function at 0x1000d630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
push ebx
mov ebx, edx
mov dword [ebp - 0x1c], eax
push esi
mov eax, dword [eax + 4]
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [edi + 3]
movzx esi, byte [edi + 2]
movzx edx, byte [edi + 1]
shl ecx, 8
or ecx, esi
shl ecx, 8
or ecx, edx
shl ecx, 8
mov dword [ebp - 8], ecx
movzx ecx, byte [edi]
mov edx, dword [ebp - 8]
or edx, ecx
movzx ecx, byte [edi + 6]
xor edx, dword [eax]
mov dword [ebp - 8], edx
movzx edx, byte [edi + 7]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0xa]
xor edx, dword [eax + 4]
mov dword [ebp - 0xc], edx
movzx edx, byte [edi + 0xb]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 8]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0xf]
xor edx, dword [eax + 8]
shl ecx, 8
mov dword [ebp + 8], ecx
movzx ecx, byte [edi + 0xe]
or dword [ebp + 8], ecx
shl dword [ebp + 8], 8
movzx ecx, byte [edi + 0xd]
or dword [ebp + 8], ecx
shl dword [ebp + 8], 8
movzx ecx, byte [edi + 0xc]
or dword [ebp + 8], ecx
mov ecx, dword [ebp + 8]
xor ecx, dword [eax + 0xc]
add eax, 0x10
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
test ebx, ebx
jne 0x1000dba4
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
sar ecx, 1
dec ecx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jle 0x1000d956
lea ebx, [ebx]
mov ecx, dword [ebp - 4]
shr edx, 8
shr ecx, 0x10
and edx, 0xff
and ecx, 0xff
mov ebx, dword [ebp - 0xc]
mov edx, dword [edx*4 + 0x1003a260]
xor edx, dword [ecx*4 + 0x1003a690]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10039e60]
xor edx, dword [eax]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
shr edx, 0x10
shr ecx, 8
and edx, 0xff
and ecx, 0xff
mov edx, dword [edx*4 + 0x1003a690]
xor edx, dword [ecx*4 + 0x1003a260]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10039e60]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov edx, ebx
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
and edx, 0xff
shr ebx, 0x10
and ebx, 0xff
mov dword [ebp - 0xc], ebx
mov esi, dword [ebp - 0xc]
mov edx, dword [edx*4 + 0x1003a260]
xor edx, dword [ecx*4 + 0x1003a690]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
mov ecx, dword [ebp - 4]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10039e60]
mov ecx, dword [ebp - 4]
xor edx, dword [eax + 8]
shr ecx, 8
and ecx, 0xff
mov dword [ebp - 0x18], edx
mov ebx, dword [ecx*4 + 0x1003a260]
mov ecx, dword [ebp - 8]
xor ebx, dword [esi*4 + 0x1003a690]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x1003aa90]
mov ecx, dword [ebp + 8]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x10039e60]
xor ebx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, ebx
shr edx, 8
and edx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [edx*4 + 0x1003a260]
xor edx, dword [ecx*4 + 0x1003a690]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10039e60]
xor edx, dword [eax + 0x10]
mov dword [ebp - 8], edx
mov edx, ebx
shr edx, 0x10
mov ecx, dword [ebp - 0x10]
and edx, 0xff
shr ecx, 8
and ecx, 0xff
mov edx, dword [edx*4 + 0x1003a690]
xor edx, dword [ecx*4 + 0x1003a260]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0xc]
movzx ecx, dl
shr edx, 8
and edx, 0xff
xor esi, dword [ecx*4 + 0x10039e60]
mov ecx, esi
mov dword [ebp - 0xc], esi
xor ecx, dword [eax + 0x14]
mov edx, dword [edx*4 + 0x1003a260]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x1003a690]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
movzx ecx, dl
shr edx, 8
and edx, 0xff
xor esi, dword [ecx*4 + 0x10039e60]
mov ecx, esi
mov dword [ebp - 4], esi
xor ecx, dword [eax + 0x18]
mov edx, dword [edx*4 + 0x1003a260]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x1003a690]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10039e60]
mov ecx, dword [ebp - 0x1c]
xor edx, dword [eax + 0x1c]
dec ecx
add eax, 0x20
mov dword [ebp + 8], edx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jg 0x1000d710
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
mov ebx, dword [ebp - 0xc]
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x1003a260]
xor edx, dword [ecx*4 + 0x1003a690]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10039e60]
xor edx, dword [eax]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x1003a690]
xor edx, dword [ecx*4 + 0x1003a260]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10039e60]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x10], edx
mov edx, ebx
shr edx, 8
and edx, 0xff
mov ebx, dword [edx*4 + 0x1003a260]
xor ebx, dword [ecx*4 + 0x1003a690]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x1003aa90]
movzx ecx, dl
shr edx, 8
and edx, 0xff
xor ebx, dword [ecx*4 + 0x10039e60]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx*4 + 0x1003a260]
shr ecx, 0x10
and ecx, 0xff
xor ebx, dword [eax + 8]
xor edx, dword [ecx*4 + 0x1003a690]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003aa90]
mov ecx, dword [ebp + 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10039e60]
mov ecx, ebx
xor edx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
movzx esi, byte [ecx + 0x10038d60]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x10038d60]
shl ecx, 8
xor esi, ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x10038d60]
xor esi, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x10038d60]
xor esi, ecx
xor esi, dword [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
movzx esi, byte [ecx + 0x10038d60]
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x10038d60]
shl ecx, 8
xor esi, ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x10038d60]
xor esi, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x10038d60]
xor esi, ecx
mov ecx, dword [ebp - 0x14]
xor esi, dword [eax + 0x14]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x18], esi
movzx esi, byte [ecx + 0x10038d60]
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x10038d60]
shl ecx, 8
xor esi, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x10038d60]
xor esi, ecx
movzx ecx, bl
shl esi, 8
shr ebx, 8
and ebx, 0xff
movzx ecx, byte [ecx + 0x10038d60]
xor esi, ecx
mov ecx, dword [ebp - 0x10]
xor esi, dword [eax + 0x18]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0xc], esi
movzx esi, byte [ecx + 0x10038d60]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x10038d60]
shl ecx, 8
xor esi, ecx
movzx ecx, byte [ebx + 0x10038d60]
shl esi, 8
mov ebx, esi
mov dword [ebp + 8], esi
xor ebx, ecx
movzx ecx, dl
movzx ecx, byte [ecx + 0x10038d60]
jmp 0x1000e045
mov edi, dword [edi]
sar edi, 1
dec edi
test edi, edi
jle 0x1000ddf9
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
shr edx, 0x10
shr ecx, 8
and edx, 0xff
and ecx, 0xff
mov edx, dword [edx*4 + 0x10039660]
xor edx, dword [ecx*4 + 0x10039260]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10039a60]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10038e60]
xor edx, dword [eax]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
shr edx, 0x10
shr ecx, 8
and edx, 0xff
and ecx, 0xff
mov edx, dword [edx*4 + 0x10039660]
xor edx, dword [ecx*4 + 0x10039260]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10039a60]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10038e60]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
and edx, 0xff
mov edx, dword [edx*4 + 0x10039260]
xor edx, dword [ecx*4 + 0x10039660]
mov ecx, ebx
shr ecx, 0x18
shr ebx, 0x10
and ebx, 0xff
xor edx, dword [ecx*4 + 0x10039a60]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebx*4 + 0x10039660]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10038e60]
mov ecx, dword [ebp - 8]
xor edx, dword [eax + 8]
shr ecx, 8
and ecx, 0xff
mov dword [ebp - 0x1c], edx
shr edx, 0x10
and edx, 0xff
xor ebx, dword [ecx*4 + 0x10039260]
mov ecx, dword [ebp - 4]
mov edx, dword [edx*4 + 0x10039660]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x10039a60]
mov ecx, dword [ebp + 8]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x10038e60]
mov ecx, dword [ebp - 0x14]
xor ebx, dword [eax + 0xc]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10039260]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10039a60]
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10038e60]
xor edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
mov edx, ebx
shr edx, 0x10
and edx, 0xff
shr ecx, 8
mov edx, dword [edx*4 + 0x10039660]
and ecx, 0xff
dec edi
xor edx, dword [ecx*4 + 0x10039260]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10039a60]
mov ecx, dword [ebp - 0x14]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10038e60]
xor edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov edx, ebx
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
and edx, 0xff
mov edx, dword [edx*4 + 0x10039260]
xor edx, dword [ecx*4 + 0x10039660]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10039a60]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
movzx ecx, dl
shr edx, 0x18
xor esi, dword [ecx*4 + 0x10038e60]
mov ecx, esi
mov dword [ebp - 4], esi
xor ecx, dword [eax + 0x18]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
and ecx, 0xff
shr esi, 8
and esi, 0xff
mov dword [ebp - 0x10], esi
mov ecx, dword [ecx*4 + 0x10039660]
mov dword [ebp + 8], ecx
mov ecx, esi
mov esi, dword [ebp + 8]
xor esi, dword [ecx*4 + 0x10039260]
mov ecx, esi
mov dword [ebp + 8], esi
xor ecx, dword [edx*4 + 0x10039a60]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10038e60]
xor edx, dword [eax + 0x1c]
add eax, 0x20
mov dword [ebp + 8], edx
mov edx, dword [ebp - 4]
test edi, edi
jg 0x1000dbb1
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x10039660]
xor edx, dword [ecx*4 + 0x10039260]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10039a60]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10038e60]
xor edx, dword [eax]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x10039660]
xor edx, dword [ecx*4 + 0x10039260]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10039a60]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10038e60]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
shr edx, 8
and edx, 0xff
mov ebx, dword [edx*4 + 0x10039260]
xor ebx, dword [ecx*4 + 0x10039660]
mov edx, dword [ebp - 0xc]
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
and edx, 0xff
xor ebx, dword [ecx*4 + 0x10039a60]
mov ecx, dword [ebp - 4]
mov edx, dword [edx*4 + 0x10039660]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x10038e60]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [eax + 8]
xor edx, dword [ecx*4 + 0x10039260]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10039a60]
mov ecx, dword [ebp + 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10038e60]
mov ecx, ebx
xor edx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
movzx esi, byte [ecx + 0x1003ae90]
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x1003ae90]
shl ecx, 8
xor esi, ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x1003ae90]
xor esi, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x1003ae90]
xor esi, ecx
xor esi, dword [eax + 0x10]
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x1c], esi
movzx esi, byte [ecx + 0x1003ae90]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x1003ae90]
shl ecx, 8
xor esi, ecx
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x1003ae90]
xor esi, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x1003ae90]
xor esi, ecx
mov ecx, dword [ebp - 0x10]
xor esi, dword [eax + 0x14]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x18], esi
movzx esi, byte [ecx + 0x1003ae90]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x1003ae90]
shl ecx, 8
xor esi, ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x1003ae90]
xor esi, ecx
movzx ecx, bl
shl esi, 8
shr ebx, 0x18
movzx ecx, byte [ecx + 0x1003ae90]
xor esi, ecx
mov ecx, dword [ebp - 0x14]
xor esi, dword [eax + 0x18]
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0xc], esi
movzx esi, byte [ecx + 0x1003ae90]
movzx ecx, byte [ebx + 0x1003ae90]
mov ebx, esi
shl ecx, 8
xor ebx, ecx
mov dword [ebp + 8], esi
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
shl ebx, 8
movzx ecx, byte [ecx + 0x1003ae90]
xor ebx, ecx
movzx ecx, dl
movzx ecx, byte [ecx + 0x1003ae90]
mov edx, dword [ebp - 0x1c]
shl ebx, 8
xor ebx, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, dword [eax + 0x1c]
mov eax, edx
shr eax, 8
pop edi
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov byte [ecx], dl
shr edx, 0x18
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x18]
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 6], al
mov byte [ecx + 4], dl
shr edx, 0x18
mov byte [ecx + 7], dl
mov edx, dword [ebp - 0xc]
mov eax, edx
shr eax, 8
mov byte [ecx + 9], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xa], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0xd], al
mov eax, ebx
mov byte [ecx + 0xc], bl
shr ebx, 0x18
shr eax, 0x10
mov byte [ecx + 8], dl
shr edx, 0x18
pop esi
mov byte [ecx + 0xe], al
xor eax, eax
mov byte [ecx + 0xf], bl
mov byte [ecx + 0xb], dl
pop ebx
mov esp, ebp
pop ebp
ret