Function at 0x402100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
shl eax, 5
push ebx
mov ebx, dword [eax + ecx + 0x1c]
push esi
lea esi, [eax + ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
push edi
xor ecx, dword [eax]
lea edi, [esi - 0x10]
xor edx, dword [eax + 8]
xor ebx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x14]
xor ecx, dword [eax + 4]
mov eax, ebx
shr eax, 8
mov dword [ebp + 8], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4774d8]
xor ecx, dword [eax*4 + 0x4778d8]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x4770d8]
mov eax, ebx
xor ecx, dword [esi]
shr eax, 0x10
mov dword [ebp - 0x18], ecx
movzx ecx, al
mov eax, dword [ebp - 8]
sar eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4778d8]
xor ecx, dword [eax*4 + 0x4774d8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x4770d8]
xor ecx, dword [esi + 4]
mov eax, dword [ebp - 8]
sar eax, 0x10
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4778d8]
xor ecx, dword [eax*4 + 0x4774d8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x4770d8]
xor ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
shr eax, 0x10
movzx eax, al
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x4774d8]
xor ecx, dword [eax*4 + 0x4778d8]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x4770d8]
xor ecx, dword [esi + 0xc]
mov dword [ebp + 8], ecx
sub dword [ebp - 0x10], 1
je 0x402439
mov dword [ebp - 0x1c], edi
nop dword [eax]
mov eax, ecx
mov ebx, dword [ebp - 0x14]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4774d8]
mov edx, dword [ebp - 0x18]
xor ecx, dword [eax*4 + 0x4778d8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
movzx eax, dl
xor ecx, dword [eax*4 + 0x4770d8]
xor ecx, dword [edi]
mov eax, dword [ebp + 8]
shr eax, 0x10
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ecx*4 + 0x4778d8]
xor ecx, dword [eax*4 + 0x4774d8]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x4770d8]
mov eax, dword [ebp - 0x1c]
xor ecx, dword [eax + 4]
mov eax, ebx
shr eax, 8
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x4774d8]
mov ecx, dword [ebp - 4]
xor ebx, dword [eax*4 + 0x4778d8]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x477cd8]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor ebx, dword [eax*4 + 0x4770d8]
mov eax, dword [ebp - 0x14]
mov edx, dword [ecx*4 + 0x4774d8]
shr eax, 0x10
movzx eax, al
xor ebx, dword [edi + 8]
xor edx, dword [eax*4 + 0x4778d8]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor edx, dword [eax*4 + 0x477cd8]
mov eax, dword [ebp + 8]
movzx eax, al
xor edx, dword [eax*4 + 0x4770d8]
xor edx, dword [edi + 0xc]
sub edi, 0x20
mov eax, edx
mov dword [ebp - 0x1c], edi
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4774d8]
xor ecx, dword [eax*4 + 0x4778d8]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x4770d8]
xor ecx, dword [edi + 0x10]
mov dword [ebp - 0x18], ecx
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4778d8]
xor ecx, dword [eax*4 + 0x4774d8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x4770d8]
xor ecx, dword [edi + 0x14]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4778d8]
xor ecx, dword [eax*4 + 0x4774d8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x4770d8]
xor ecx, dword [edi + 0x18]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
shr eax, 0x10
movzx eax, al
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x4774d8]
xor ecx, dword [eax*4 + 0x4778d8]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x477cd8]
movzx eax, dl
xor ecx, dword [eax*4 + 0x4770d8]
xor ecx, dword [edi + 0x1c]
sub dword [ebp - 0x10], 1
mov dword [ebp + 8], ecx
jne 0x402240
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x475fd8]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x475fd8]
shl eax, 8
or ecx, eax
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x475fd8]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + 0x475fd8]
or ecx, eax
mov eax, dword [ebp - 0x20]
xor ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + 0x475fd8]
mov eax, dword [ebp - 4]
shr eax, 0x18
movzx eax, byte [eax + 0x475fd8]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x475fd8]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x475fd8]
or ecx, eax
mov eax, dword [ebp + 8]
xor ecx, dword [edi + 4]
shr eax, 0x18
mov dword [esi + 4], ecx
movzx ecx, byte [eax + 0x475fd8]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
shr edx, 0x18
movzx eax, byte [eax + 0x475fd8]
or ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
shr ebx, 0x10
movzx eax, byte [eax + 0x475fd8]
or ecx, eax
mov eax, dword [ebp - 4]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x475fd8]
or ecx, eax
movzx eax, bl
xor ecx, dword [edi + 8]
mov dword [esi + 8], ecx
movzx ecx, byte [eax + 0x475fd8]
movzx eax, byte [edx + 0x475fd8]
shl eax, 8
or ecx, eax
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x475fd8]
or ecx, eax
mov eax, dword [ebp + 8]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x475fd8]
or ecx, eax
xor ecx, dword [edi + 0xc]
pop edi
mov dword [esi + 0xc], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4