Function at 0x401e70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x78
mov eax, dword [0x774fa4]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
mov dword [esp + 0x38], esi
xor ecx, ecx
lea edx, [eax + 0xe94]
lea esp, [esp]
mov edi, dword [esi]
xor edi, dword [edx]
inc ecx
mov dword [esp + ecx*4 + 0x40], edi
add edx, 4
add esi, 4
cmp ecx, 4
jl 0x401ea0
movzx edi, byte [eax + 0xc9e]
add edi, edi
add edi, edi
mov dword [esp + 0x1c], edi
movzx edi, byte [eax + 0xca0]
add edi, edi
add edi, edi
mov dword [esp + 0x40], edi
movzx edi, byte [eax + 0xc9f]
add edi, edi
add edi, edi
mov dword [esp + 0x34], edi
movzx edi, byte [eax + 0xca1]
add edi, edi
add edi, edi
mov dword [esp + 0x24], edi
movzx edi, byte [eax + 0xca3]
add edi, edi
add edi, edi
mov dword [esp + 0x18], edi
movzx edi, byte [eax + 0xca2]
add edi, edi
add edi, edi
mov dword [esp + 0x2c], edi
movzx edi, byte [eax + 0xca4]
movzx edx, byte [eax + 0xc9d]
movzx ebp, byte [eax + 0xc9c]
add edi, edi
add edi, edi
mov dword [esp + 0x14], edi
movzx edi, byte [eax + 0xca6]
add edi, edi
add edi, edi
mov dword [esp + 0x30], edi
movzx edi, byte [eax + 0xca5]
add edi, edi
add edi, edi
mov dword [esp + 0x20], edi
movzx edi, byte [eax + 0xca7]
add edx, edx
add ebp, ebp
add edi, edi
add ebp, ebp
add edx, edx
add edi, edi
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x44]
lea esi, [esp + 0x64]
mov dword [esp + 0x3c], ebp
lea edi, [eax + 0xea8]
mov dword [esp + 0x10], 0xd
jmp 0x401f84
mov ebp, dword [esp + 0x3c]
mov ebx, dword [ecx + ebp]
shr ebx, 8
movzx ebp, byte [edx + ecx + 2]
mov ebp, dword [eax + ebp*4 + 0x800]
movzx ebx, bl
mov ebx, dword [eax + ebx*4 + 0x800]
rol ebx, 8
rol ebp, 0x10
xor ebx, ebp
mov ebp, dword [esp + 0x1c]
movzx ebp, byte [ecx + ebp + 3]
mov ebp, dword [eax + ebp*4 + 0x800]
ror ebp, 8
xor ebx, ebp
movzx ebp, byte [ecx]
xor ebx, dword [eax + ebp*4 + 0x800]
mov ebp, dword [esp + 0x24]
xor ebx, dword [edi - 4]
mov dword [esi], ebx
movzx ebp, byte [ecx + ebp + 3]
mov ebp, dword [eax + ebp*4 + 0x800]
mov ebx, dword [esp + 0x34]
mov ebx, dword [ebx + ecx]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [eax + ebx*4 + 0x800]
rol ebx, 8
ror ebp, 8
xor ebx, ebp
mov ebp, dword [esp + 0x40]
movzx ebp, byte [ecx + ebp + 2]
mov ebp, dword [eax + ebp*4 + 0x800]
rol ebp, 0x10
xor ebx, ebp
movzx ebp, byte [ecx + 4]
xor ebx, dword [eax + ebp*4 + 0x800]
mov ebp, dword [esp + 0x14]
xor ebx, dword [edi]
mov dword [esi + 4], ebx
movzx ebp, byte [ecx + ebp + 3]
mov ebp, dword [eax + ebp*4 + 0x800]
mov ebx, dword [esp + 0x2c]
mov ebx, dword [ebx + ecx]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [eax + ebx*4 + 0x800]
rol ebx, 8
ror ebp, 8
xor ebx, ebp
mov ebp, dword [esp + 0x18]
movzx ebp, byte [ecx + ebp + 2]
mov ebp, dword [eax + ebp*4 + 0x800]
rol ebp, 0x10
xor ebx, ebp
movzx ebp, byte [ecx + 8]
xor ebx, dword [eax + ebp*4 + 0x800]
mov ebp, dword [esp + 0x28]
xor ebx, dword [edi + 4]
mov dword [esi + 8], ebx
movzx ebp, byte [ecx + ebp + 3]
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + ecx]
mov ebp, dword [eax + ebp*4 + 0x800]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [eax + ebx*4 + 0x800]
rol ebx, 8
ror ebp, 8
xor ebx, ebp
mov ebp, dword [esp + 0x30]
movzx ebp, byte [ecx + ebp + 2]
mov ebp, dword [eax + ebp*4 + 0x800]
rol ebp, 0x10
xor ebx, ebp
movzx ebp, byte [ecx + 0xc]
xor ebx, dword [eax + ebp*4 + 0x800]
mov ebp, ecx
xor ebx, dword [edi + 8]
add edi, 0x10
mov dword [esi + 0xc], ebx
mov ecx, esi
dec dword [esp + 0x10]
mov esi, ebp
jne 0x401f80
movzx edx, byte [eax + 0xc9c]
mov edx, dword [ecx + edx*4]
shr edx, 8
movzx esi, byte [eax + 0xc9d]
movzx esi, byte [ecx + esi*4 + 2]
movzx esi, byte [esi + eax + 0x100]
movzx edx, dl
movzx edx, byte [edx + eax + 0x100]
rol edx, 8
rol esi, 0x10
xor edx, esi
movzx esi, byte [eax + 0xc9e]
movzx esi, byte [ecx + esi*4 + 3]
movzx esi, byte [esi + eax + 0x100]
ror esi, 8
xor edx, esi
movzx esi, byte [ecx]
movzx esi, byte [esi + eax + 0x100]
xor edx, esi
xor edx, dword [eax + 0xf74]
movzx esi, byte [eax + 0xca0]
mov dword [ebp], edx
movzx esi, byte [ecx + esi*4 + 2]
movzx esi, byte [esi + eax + 0x100]
movzx edx, byte [eax + 0xc9f]
mov edx, dword [ecx + edx*4]
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + eax + 0x100]
rol edx, 8
rol esi, 0x10
xor edx, esi
movzx esi, byte [eax + 0xca1]
movzx esi, byte [ecx + esi*4 + 3]
movzx esi, byte [esi + eax + 0x100]
ror esi, 8
xor edx, esi
movzx esi, byte [ecx + 4]
movzx esi, byte [esi + eax + 0x100]
xor edx, esi
xor edx, dword [eax + 0xf78]
movzx esi, byte [eax + 0xca4]
mov dword [ebp + 4], edx
movzx esi, byte [ecx + esi*4 + 3]
movzx esi, byte [esi + eax + 0x100]
movzx edx, byte [eax + 0xca2]
mov edx, dword [ecx + edx*4]
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + eax + 0x100]
rol edx, 8
ror esi, 8
xor edx, esi
movzx esi, byte [eax + 0xca3]
movzx esi, byte [ecx + esi*4 + 2]
movzx esi, byte [esi + eax + 0x100]
rol esi, 0x10
xor edx, esi
movzx esi, byte [ecx + 8]
movzx esi, byte [esi + eax + 0x100]
xor edx, esi
xor edx, dword [eax + 0xf7c]
movzx esi, byte [eax + 0xca7]
mov dword [ebp + 8], edx
movzx edx, byte [eax + 0xca5]
mov edx, dword [ecx + edx*4]
movzx esi, byte [ecx + esi*4 + 3]
movzx esi, byte [esi + eax + 0x100]
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + eax + 0x100]
rol edx, 8
ror esi, 8
xor edx, esi
movzx esi, byte [eax + 0xca6]
movzx esi, byte [ecx + esi*4 + 2]
movzx esi, byte [esi + eax + 0x100]
rol esi, 0x10
xor edx, esi
movzx esi, byte [ecx + 0xc]
movzx esi, byte [esi + eax + 0x100]
xor edx, esi
xor edx, dword [eax + 0xf80]
mov eax, dword [esp + 0x38]
mov dword [ebp + 0xc], edx
sub ecx, ebp
mov edx, 4
mov edi, edi
mov esi, dword [ebp]
mov dword [ebp], 0
mov dword [eax], esi
mov dword [ecx + ebp], 0
add ebp, 4
add eax, 4
dec edx
jne 0x402270
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0075399d
add esp, 0x78
ret