Function at 0x10254c20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, ecx
push ebx
mov ebx, edx
mov dword [esp + 0x18], eax
push ebp
mov eax, dword [eax + 4]
push esi
push edi
mov edi, dword [esp + 0x2c]
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 [esp + 0x14], ecx
movzx ecx, byte [edi]
mov edx, dword [esp + 0x14]
or edx, ecx
movzx ecx, byte [edi + 6]
xor edx, dword [eax]
mov dword [esp + 0x14], 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 [esp + 0x18], 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 [esp + 0x2c], ecx
movzx ecx, byte [edi + 0xe]
or dword [esp + 0x2c], ecx
movzx ecx, byte [edi + 0xd]
shl dword [esp + 0x2c], 8
or dword [esp + 0x2c], ecx
movzx ecx, byte [edi + 0xc]
shl dword [esp + 0x2c], 8
mov edi, dword [esp + 0x24]
or dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
xor ecx, dword [eax + 0xc]
add eax, 0x10
mov edi, dword [edi]
sar edi, 1
dec edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], ecx
test ebx, ebx
jne 0x102551d1
mov edx, ecx
test edi, edi
jle 0x10254f69
mov ecx, dword [esp + 0x10]
shr edx, 8
shr ecx, 0x10
and edx, 0xff
and ecx, 0xff
mov ebx, dword [esp + 0x18]
mov edx, dword [edx*4 + 0x105e6fd0]
xor edx, dword [ecx*4 + 0x105e7400]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
mov ecx, dword [esp + 0x14]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e6bd0]
xor edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x2c]
shr edx, 0x10
shr ecx, 8
and edx, 0xff
and ecx, 0xff
mov edx, dword [edx*4 + 0x105e7400]
xor edx, dword [ecx*4 + 0x105e6fd0]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x105e6bd0]
xor edx, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov edx, ebx
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
and edx, 0xff
shr ebx, 0x10
and ebx, 0xff
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x18]
mov edx, dword [edx*4 + 0x105e6fd0]
xor edx, dword [ecx*4 + 0x105e7400]
mov ecx, dword [esp + 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
mov ecx, dword [esp + 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e6bd0]
mov ecx, dword [esp + 0x10]
xor edx, dword [eax + 8]
shr ecx, 8
and ecx, 0xff
mov dword [esp + 0x24], edx
mov ebx, dword [ecx*4 + 0x105e6fd0]
mov ecx, dword [esp + 0x14]
xor ebx, dword [esi*4 + 0x105e7400]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x105e7800]
mov ecx, dword [esp + 0x2c]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x105e6bd0]
xor ebx, dword [eax + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, ebx
shr edx, 8
and edx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [edx*4 + 0x105e6fd0]
xor edx, dword [ecx*4 + 0x105e7400]
mov ecx, dword [esp + 0x20]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
mov ecx, dword [esp + 0x1c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e6bd0]
xor edx, dword [eax + 0x10]
mov dword [esp + 0x14], edx
mov edx, ebx
shr edx, 0x10
mov ecx, dword [esp + 0x1c]
and edx, 0xff
shr ecx, 8
dec edi
and ecx, 0xff
mov edx, dword [edx*4 + 0x105e7400]
xor edx, dword [ecx*4 + 0x105e6fd0]
mov ecx, dword [esp + 0x24]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
movzx ecx, dl
shr edx, 8
and edx, 0xff
xor esi, dword [ecx*4 + 0x105e6bd0]
mov ecx, esi
mov dword [esp + 0x18], esi
xor ecx, dword [eax + 0x14]
mov edx, dword [edx*4 + 0x105e6fd0]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x105e7400]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
movzx ecx, dl
shr edx, 8
and edx, 0xff
xor esi, dword [ecx*4 + 0x105e6bd0]
mov ecx, esi
mov dword [esp + 0x10], esi
xor ecx, dword [eax + 0x18]
mov edx, dword [edx*4 + 0x105e6fd0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x105e7400]
mov ecx, dword [esp + 0x1c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x105e6bd0]
xor edx, dword [eax + 0x1c]
add eax, 0x20
mov dword [esp + 0x2c], edx
test edi, edi
jg 0x10254d04
mov ecx, dword [esp + 0x10]
shr ecx, 0x10
and ecx, 0xff
mov ebx, dword [esp + 0x18]
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x105e6fd0]
xor edx, dword [ecx*4 + 0x105e7400]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
mov ecx, dword [esp + 0x14]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e6bd0]
xor edx, dword [eax]
mov ecx, dword [esp + 0x14]
shr ecx, 8
and ecx, 0xff
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x105e7400]
xor edx, dword [ecx*4 + 0x105e6fd0]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x105e6bd0]
xor edx, dword [eax + 4]
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x1c], edx
mov edx, ebx
shr edx, 8
and edx, 0xff
mov ebx, dword [edx*4 + 0x105e6fd0]
xor ebx, dword [ecx*4 + 0x105e7400]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x105e7800]
movzx ecx, dl
shr edx, 8
and edx, 0xff
xor ebx, dword [ecx*4 + 0x105e6bd0]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx*4 + 0x105e6fd0]
shr ecx, 0x10
and ecx, 0xff
xor ebx, dword [eax + 8]
xor edx, dword [ecx*4 + 0x105e7400]
mov ecx, dword [esp + 0x14]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e7800]
mov ecx, dword [esp + 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e6bd0]
mov ecx, ebx
xor edx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
movzx esi, byte [ecx + 0x105e5ad0]
mov ecx, dword [esp + 0x1c]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x105e5ad0]
shl ecx, 8
xor esi, ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x105e5ad0]
xor esi, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x105e5ad0]
xor esi, ecx
xor esi, dword [eax + 0x10]
mov dword [esp + 0x24], esi
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
movzx esi, byte [ecx + 0x105e5ad0]
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x105e5ad0]
shl ecx, 8
xor esi, ecx
mov ecx, dword [esp + 0x20]
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x105e5ad0]
xor esi, ecx
mov ecx, dword [esp + 0x1c]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x105e5ad0]
xor esi, ecx
mov ecx, dword [esp + 0x20]
xor esi, dword [eax + 0x14]
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x18], esi
movzx esi, byte [ecx + 0x105e5ad0]
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x105e5ad0]
shl ecx, 8
xor esi, ecx
mov ecx, dword [esp + 0x1c]
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x105e5ad0]
xor esi, ecx
movzx ecx, bl
shl esi, 8
shr ebx, 8
and ebx, 0xff
movzx ecx, byte [ecx + 0x105e5ad0]
xor esi, ecx
mov ecx, dword [esp + 0x1c]
xor esi, dword [eax + 0x18]
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x14], esi
movzx esi, byte [ecx + 0x105e5ad0]
mov ecx, dword [esp + 0x20]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x105e5ad0]
shl ecx, 8
xor esi, ecx
movzx ecx, byte [ebx + 0x105e5ad0]
shl esi, 8
mov ebx, esi
mov dword [esp + 0x2c], esi
xor ebx, ecx
movzx ecx, dl
movzx ecx, byte [ecx + 0x105e5ad0]
jmp 0x102556b6
test edi, edi
jle 0x1025544f
lea esp, [esp]
mov ebx, dword [esp + 0x18]
mov ecx, ebx
shr edx, 0x10
shr ecx, 8
and edx, 0xff
and ecx, 0xff
mov edx, dword [edx*4 + 0x105e63d0]
xor edx, dword [ecx*4 + 0x105e5fd0]
mov ecx, dword [esp + 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e67d0]
mov ecx, dword [esp + 0x14]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e5bd0]
xor edx, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x2c]
shr edx, 0x10
shr ecx, 8
and edx, 0xff
and ecx, 0xff
mov edx, dword [edx*4 + 0x105e63d0]
xor edx, dword [ecx*4 + 0x105e5fd0]
mov ecx, dword [esp + 0x14]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e67d0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x105e5bd0]
xor edx, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
and edx, 0xff
mov edx, dword [edx*4 + 0x105e5fd0]
xor edx, dword [ecx*4 + 0x105e63d0]
mov ecx, ebx
shr ecx, 0x18
shr ebx, 0x10
and ebx, 0xff
xor edx, dword [ecx*4 + 0x105e67d0]
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebx*4 + 0x105e63d0]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e5bd0]
mov ecx, dword [esp + 0x14]
xor edx, dword [eax + 8]
shr ecx, 8
and ecx, 0xff
mov dword [esp + 0x24], edx
shr edx, 0x10
and edx, 0xff
xor ebx, dword [ecx*4 + 0x105e5fd0]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx*4 + 0x105e63d0]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x105e67d0]
mov ecx, dword [esp + 0x2c]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x105e5bd0]
mov ecx, dword [esp + 0x20]
xor ebx, dword [eax + 0xc]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x105e5fd0]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e67d0]
mov ecx, dword [esp + 0x1c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e5bd0]
xor edx, dword [eax + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov edx, ebx
shr edx, 0x10
and edx, 0xff
shr ecx, 8
mov edx, dword [edx*4 + 0x105e63d0]
and ecx, 0xff
dec edi
xor edx, dword [ecx*4 + 0x105e5fd0]
mov ecx, dword [esp + 0x1c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e67d0]
mov ecx, dword [esp + 0x20]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e5bd0]
xor edx, dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov edx, ebx
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
and edx, 0xff
mov edx, dword [edx*4 + 0x105e5fd0]
xor edx, dword [ecx*4 + 0x105e63d0]
mov ecx, dword [esp + 0x20]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e67d0]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
movzx ecx, dl
shr edx, 0x18
xor esi, dword [ecx*4 + 0x105e5bd0]
mov ecx, esi
mov dword [esp + 0x10], esi
xor ecx, dword [eax + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
shr ecx, 0x10
and ecx, 0xff
shr esi, 8
and esi, 0xff
mov dword [esp + 0x1c], esi
mov ecx, dword [ecx*4 + 0x105e63d0]
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov ebp, dword [esp + 0x2c]
xor ebp, dword [ecx*4 + 0x105e5fd0]
mov ecx, ebp
mov dword [esp + 0x2c], ebp
xor ecx, dword [edx*4 + 0x105e67d0]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2c]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x105e5bd0]
xor edx, dword [eax + 0x1c]
add eax, 0x20
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
test edi, edi
jg 0x102551e0
mov ebx, dword [esp + 0x18]
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x105e63d0]
xor edx, dword [ecx*4 + 0x105e5fd0]
mov ecx, dword [esp + 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e67d0]
mov ecx, dword [esp + 0x14]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e5bd0]
xor edx, dword [eax]
mov ecx, dword [esp + 0x10]
shr ecx, 8
and ecx, 0xff
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x2c]
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x105e63d0]
xor edx, dword [ecx*4 + 0x105e5fd0]
mov ecx, dword [esp + 0x14]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e67d0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x105e5bd0]
xor edx, dword [eax + 4]
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
shr edx, 8
and edx, 0xff
mov ebx, dword [edx*4 + 0x105e5fd0]
xor ebx, dword [ecx*4 + 0x105e63d0]
mov edx, dword [esp + 0x18]
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
and edx, 0xff
xor ebx, dword [ecx*4 + 0x105e67d0]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx*4 + 0x105e63d0]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x105e5bd0]
mov ecx, dword [esp + 0x14]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [eax + 8]
xor edx, dword [ecx*4 + 0x105e5fd0]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x105e67d0]
mov ecx, dword [esp + 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x105e5bd0]
mov ecx, ebx
xor edx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
movzx esi, byte [ecx + 0x105e7c00]
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x105e7c00]
shl ecx, 8
xor esi, ecx
mov ecx, dword [esp + 0x20]
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x105e7c00]
xor esi, ecx
mov ecx, dword [esp + 0x1c]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x105e7c00]
xor esi, ecx
xor esi, dword [eax + 0x10]
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x24], esi
movzx esi, byte [ecx + 0x105e7c00]
mov ecx, dword [esp + 0x1c]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x105e7c00]
shl ecx, 8
xor esi, ecx
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x105e7c00]
xor esi, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x105e7c00]
xor esi, ecx
mov ecx, dword [esp + 0x1c]
xor esi, dword [eax + 0x14]
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x18], esi
movzx esi, byte [ecx + 0x105e7c00]
mov ecx, dword [esp + 0x20]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x105e7c00]
shl ecx, 8
xor esi, ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xff
shl esi, 8
movzx ecx, byte [ecx + 0x105e7c00]
xor esi, ecx
movzx ecx, bl
shl esi, 8
shr ebx, 0x18
movzx ecx, byte [ecx + 0x105e7c00]
xor esi, ecx
mov ecx, dword [esp + 0x20]
xor esi, dword [eax + 0x18]
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x14], esi
movzx esi, byte [ecx + 0x105e7c00]
movzx ecx, byte [ebx + 0x105e7c00]
mov ebx, esi
shl ecx, 8
xor ebx, ecx
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x1c]
shr ecx, 8
and ecx, 0xff
shl ebx, 8
movzx ecx, byte [ecx + 0x105e7c00]
xor ebx, ecx
movzx ecx, dl
movzx ecx, byte [ecx + 0x105e7c00]
mov edx, dword [esp + 0x24]
shl ebx, 8
xor ebx, ecx
mov ecx, dword [esp + 0x30]
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 [esp + 0x14]
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 [esp + 0x10]
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 + 8], dl
shr edx, 0x18
mov byte [ecx + 0xc], bl
shr eax, 0x10
pop esi
shr ebx, 0x18
pop ebp
mov byte [ecx + 0xf], bl
mov byte [ecx + 0xb], dl
mov byte [ecx + 0xe], al
pop ebx
add esp, 0x18
ret