Function at 0x3b5e970
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push ebx
push ebp
mov ecx, dword [eax]
mov eax, dword [eax + 4]
ror ecx, 0x1d
ror eax, 0x1d
push esi
push edi
test edx, edx
mov edx, dword [esp + 0x18]
je 0x3b5ebc9
lea esi, [edx + 8]
mov dword [esp + 0x18], 4
mov edx, dword [esi - 4]
mov edi, dword [esi - 8]
xor edx, ecx
xor edi, ecx
ror edx, 4
mov ebx, edx
mov ebp, edx
shr ebx, 0x12
shr ebp, 0xa
and ebx, 0x3f
and ebp, 0x3f
mov ebx, dword [ebx*4 + 0x3b6e814]
xor ebx, dword [ebp*4 + 0x3b6e614]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
shr edx, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e414]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e714]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e514]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
shr edi, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e314]
mov ebp, dword [edx*4 + 0x3b6ea14]
mov edx, dword [esi]
xor ebx, ebp
mov ebp, dword [edi*4 + 0x3b6e914]
xor ebx, ebp
xor eax, ebx
mov edi, eax
xor edi, edx
mov edx, dword [esi + 4]
xor edx, eax
ror edx, 4
mov ebx, edx
mov ebp, edx
shr ebx, 0x12
and ebx, 0x3f
shr ebp, 0xa
mov ebx, dword [ebx*4 + 0x3b6e814]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e614]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
shr edx, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e414]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e714]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e514]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
shr edi, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e314]
mov ebp, dword [edx*4 + 0x3b6ea14]
mov edx, dword [esi + 0xc]
xor ebx, ebp
mov ebp, dword [edi*4 + 0x3b6e914]
mov edi, dword [esi + 8]
xor ebx, ebp
xor ecx, ebx
xor edx, ecx
xor edi, ecx
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x3b6e814]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
add esi, 0x20
xor ebx, dword [ebp*4 + 0x3b6e614]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
shr edx, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e414]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e714]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e514]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
shr edi, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e314]
mov ebp, dword [edx*4 + 0x3b6ea14]
mov edx, dword [esi - 0xc]
xor ebx, ebp
mov ebp, dword [edi*4 + 0x3b6e914]
mov edi, dword [esi - 0x10]
xor ebx, ebp
xor eax, ebx
xor edx, eax
xor edi, eax
ror edx, 4
mov ebx, edx
mov ebp, edx
shr ebx, 0x12
and ebx, 0x3f
shr ebp, 0xa
mov ebx, dword [ebx*4 + 0x3b6e814]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e614]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
shr edx, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e414]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e714]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e514]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
shr edi, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e314]
mov ebp, dword [edx*4 + 0x3b6ea14]
mov edx, dword [edi*4 + 0x3b6e914]
xor ebx, ebp
xor ebx, edx
mov edx, dword [esp + 0x18]
xor ecx, ebx
dec edx
mov dword [esp + 0x18], edx
jne 0x3b5e99e
mov edx, dword [esp + 0x14]
pop edi
ror eax, 3
ror ecx, 3
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
ret
lea esi, [edx + 0x70]
mov dword [esp + 0x18], 4
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
xor edx, ecx
xor edi, ecx
ror edx, 4
mov ebx, edx
mov ebp, edx
shr ebx, 0x12
shr ebp, 0xa
and ebx, 0x3f
and ebp, 0x3f
mov ebx, dword [ebx*4 + 0x3b6e814]
xor ebx, dword [ebp*4 + 0x3b6e614]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
shr edx, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e414]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e714]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e514]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
shr edi, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e314]
mov ebp, dword [edx*4 + 0x3b6ea14]
mov edx, dword [esi + 4]
xor ebx, ebp
mov ebp, dword [edi*4 + 0x3b6e914]
mov edi, dword [esi]
xor ebx, ebp
xor eax, ebx
xor edx, eax
xor edi, eax
ror edx, 4
mov ebx, edx
mov ebp, edx
shr ebx, 0x12
and ebx, 0x3f
shr ebp, 0xa
mov ebx, dword [ebx*4 + 0x3b6e814]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e614]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
shr edx, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e414]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e714]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e514]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
shr edi, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e314]
mov ebp, dword [edx*4 + 0x3b6ea14]
mov edx, dword [esi - 4]
xor ebx, ebp
mov ebp, dword [edi*4 + 0x3b6e914]
mov edi, dword [esi - 8]
xor ebx, ebp
xor ecx, ebx
xor edx, ecx
xor edi, ecx
ror edx, 4
mov ebx, edx
mov ebp, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x3b6e814]
sub esi, 0x20
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e614]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
shr edx, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e414]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e714]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e514]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
shr edi, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e314]
mov ebp, dword [edx*4 + 0x3b6ea14]
mov edx, dword [esi + 0x14]
xor ebx, ebp
mov ebp, dword [edi*4 + 0x3b6e914]
mov edi, dword [esi + 0x10]
xor ebx, ebp
xor eax, ebx
xor edx, eax
xor edi, eax
ror edx, 4
mov ebx, edx
mov ebp, edx
shr ebx, 0x12
and ebx, 0x3f
shr ebp, 0xa
mov ebx, dword [ebx*4 + 0x3b6e814]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e614]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
shr edx, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e414]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e714]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x3b6e514]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
shr edi, 0x1a
xor ebx, dword [ebp*4 + 0x3b6e314]
mov ebp, dword [edx*4 + 0x3b6ea14]
mov edx, dword [edi*4 + 0x3b6e914]
xor ebx, ebp
xor ebx, edx
mov edx, dword [esp + 0x18]
xor ecx, ebx
dec edx
mov dword [esp + 0x18], edx
jne 0x3b5ebd4
mov edx, dword [esp + 0x14]
pop edi
ror eax, 3
ror ecx, 3
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
ret