Function at 0x403370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x475010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
movzx edx, byte [esi + 3]
movzx ecx, byte [esi + 2]
mov eax, dword [edi + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 6]
mov dword [ebp - 0x24], edx
mov ebx, dword [eax]
xor ebx, edx
movzx edx, byte [esi + 7]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x24], ebx
movzx ecx, byte [esi + 5]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x48], ebx
movzx ecx, byte [esi + 4]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 4]
xor ecx, edx
movzx edx, byte [esi + 0xb]
shl edx, 8
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], ecx
movzx ecx, byte [esi + 0xa]
or edx, ecx
movzx ecx, byte [esi + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 8]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
xor ecx, edx
movzx edx, byte [esi + 0xf]
shl edx, 8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [esi + 0xe]
or edx, ecx
movzx ecx, byte [esi + 0xd]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0xc]
mov esi, dword [edi]
shl edx, 8
or edx, ecx
sar esi, 1
mov dword [ebp - 0x18], edx
dec esi
mov ecx, dword [eax + 0xc]
add eax, 0x10
xor ecx, edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x30]
mov edx, ecx
shr edx, 8
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x2c]
mov edi, edx
shr edi, 0x10
mov dword [ebp - 0x68], edi
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x54], ecx
shr dword [ebp - 0x54], 0x18
shr ecx, 0x10
mov dword [ebp - 0x5c], ecx
mov ecx, edx
mov dword [ebp - 0x28], edi
shr dword [ebp - 0x28], 0x18
mov dword [ebp - 0x4c], edx
shr dword [ebp - 0x4c], 8
mov dword [ebp - 0x38], edi
shr dword [ebp - 0x38], 0x10
mov dword [ebp - 0x3c], ebx
shr dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x40], edi
shr dword [ebp - 0x40], 8
mov dword [ebp - 0x50], ebx
shr dword [ebp - 0x50], 0x10
mov dword [ebp - 0x34], ebx
shr dword [ebp - 0x34], 8
shr ecx, 0x18
mov dword [ebp - 0x60], ecx
test esi, esi
jle 0x403744
mov ecx, edx
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x30]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4762e0]
xor edx, dword [ecx*4 + 0x475ee0]
mov ecx, edi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4766e0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x475ae0]
mov ecx, edi
xor edx, dword [eax]
shr ecx, 0x10
mov dword [ebp - 0x28], edx
movzx edx, cl
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4762e0]
xor edx, dword [ecx*4 + 0x475ee0]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4766e0]
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x475ae0]
mov ecx, edi
xor edx, dword [eax + 4]
shr ecx, 8
mov dword [ebp - 0x40], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x475ee0]
xor edx, dword [ecx*4 + 0x4762e0]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4766e0]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x475ae0]
xor edx, dword [eax + 8]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
mov dword [ebp - 0x38], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x4762e0]
xor ebx, dword [ecx*4 + 0x475ee0]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x4766e0]
mov ecx, dword [ebp - 0x44]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x475ae0]
mov ecx, dword [ebp - 0x38]
xor ebx, dword [eax + 0xc]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x40]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4762e0]
xor edx, dword [ecx*4 + 0x475ee0]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4766e0]
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x475ae0]
xor edx, dword [eax + 0x10]
mov ecx, edx
mov dword [ebp - 0x48], edx
shr ecx, 8
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], ecx
mov ecx, edx
shr ecx, 0x10
mov dword [ebp - 0x50], ecx
mov ecx, edx
shr ecx, 0x18
mov dword [ebp - 0x3c], ecx
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x38]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4762e0]
xor edx, dword [ecx*4 + 0x475ee0]
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4766e0]
mov ecx, dword [ebp - 0x40]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x475ae0]
xor edx, dword [eax + 0x14]
mov ecx, edx
mov dword [ebp - 0x20], edx
shr ecx, 0x10
mov dword [ebp - 0x5c], ecx
mov ecx, edx
shr ecx, 0x18
mov dword [ebp - 0x54], ecx
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x58], ecx
mov ecx, ebx
shr ecx, 8
mov dword [ebp - 0x30], edx
movzx edx, cl
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x475ee0]
xor edx, dword [ecx*4 + 0x4762e0]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x40]
mov ecx, edx
mov esi, dword [ebp - 0x2c]
shr ecx, 0x18
shr edx, 0x10
movzx edx, dl
xor esi, dword [ecx*4 + 0x4766e0]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
mov edx, dword [edx*4 + 0x4762e0]
xor esi, dword [ecx*4 + 0x475ae0]
mov ecx, esi
mov dword [ebp - 0x2c], esi
xor ecx, dword [eax + 0x18]
mov esi, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], ecx
shr esi, 0x18
mov dword [ebp - 0x60], esi
mov esi, ecx
shr ecx, 0x10
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x28]
shr ecx, 8
movzx ecx, cl
shr esi, 8
mov dword [ebp - 0x4c], esi
xor edx, dword [ecx*4 + 0x475ee0]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4766e0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x475ae0]
xor edx, dword [eax + 0x1c]
mov ecx, edx
mov dword [ebp - 0x44], edx
shr ecx, 8
mov dword [ebp - 0x40], ecx
mov ecx, edx
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 0x48]
add eax, 0x20
mov edi, dword [ebp - 0x44]
shr ecx, 0x10
mov dword [ebp - 0x38], ecx
mov ecx, edx
mov edx, dword [ebp - 0x2c]
shr ecx, 0x18
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x64]
dec ecx
mov dword [ebp - 0x64], ecx
test ecx, ecx
jg 0x4034b6
mov ecx, ebx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov ecx, edx
mov dword [ebp - 0x2c], ecx
mov ecx, edi
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x68]
movzx ecx, cl
mov edx, dword [ebp - 0x58]
movzx edx, dl
mov ebx, dword [ecx*4 + 0x4762e0]
mov ecx, dword [ebp - 0x48]
xor ebx, dword [edx*4 + 0x475ee0]
movzx ecx, cl
mov edx, dword [ebp - 0x4c]
movzx edx, dl
xor ebx, dword [ecx*4 + 0x475ae0]
mov ecx, dword [ebp - 0x28]
xor ebx, dword [ecx*4 + 0x4766e0]
xor ebx, dword [eax]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov ebx, dword [ecx*4 + 0x4762e0]
xor ebx, dword [edx*4 + 0x475ee0]
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
mov edx, dword [ebp - 0x40]
movzx edx, dl
xor ebx, dword [ecx*4 + 0x475ae0]
mov ecx, dword [ebp - 0x3c]
xor ebx, dword [ecx*4 + 0x4766e0]
xor ebx, dword [eax + 4]
mov ecx, dword [ebp - 0x50]
movzx ecx, cl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ecx*4 + 0x4762e0]
xor ebx, dword [edx*4 + 0x475ee0]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
mov edx, dword [ebp - 0x34]
movzx edx, dl
xor ebx, dword [ecx*4 + 0x475ae0]
mov ecx, dword [ebp - 0x54]
xor ebx, dword [ecx*4 + 0x4766e0]
mov ecx, dword [ebp - 0x5c]
movzx ecx, cl
xor ebx, dword [eax + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x58], ebx
mov ecx, dword [ecx*4 + 0x4762e0]
xor ecx, dword [edx*4 + 0x475ee0]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x475ae0]
mov ecx, dword [ebp - 0x60]
xor edx, dword [ecx*4 + 0x4766e0]
xor edx, dword [eax + 0xc]
mov ecx, edx
mov dword [ebp - 8], edx
shr ecx, 0x18
mov dword [ebp - 0x34], edx
movzx esi, byte [ecx + 0x4759e0]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x4759e0]
xor esi, ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 8
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x4759e0]
xor esi, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x4759e0]
xor esi, ecx
xor esi, dword [eax + 0x10]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x24], esi
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
movzx edx, byte [ecx + 0x4759e0]
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4759e0]
shl ecx, 8
xor edx, ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov ebx, dword [ebp - 0x3c]
shl edx, 8
movzx ecx, byte [ecx + 0x4759e0]
xor edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + 0x4759e0]
xor edx, ecx
mov ecx, ebx
xor edx, dword [eax + 0x14]
shr ecx, 0x18
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x58]
movzx ebx, byte [ecx + 0x4759e0]
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x4759e0]
xor ebx, ecx
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x4759e0]
xor ebx, ecx
movzx ecx, dl
shr edx, 0x18
shl ebx, 8
movzx ecx, byte [ecx + 0x4759e0]
movzx edx, byte [edx + 0x4759e0]
xor ebx, ecx
mov ecx, dword [ebp - 0x3c]
xor ebx, dword [eax + 0x18]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
mov dword [ebp - 0x1c], ebx
movzx ecx, byte [ecx + 0x4759e0]
xor edx, ecx
mov ecx, dword [ebp - 0x28]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4759e0]
xor edx, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4759e0]
xor edx, ecx
mov ecx, esi
xor edx, dword [eax + 0x1c]
mov eax, ecx
mov esi, dword [ebp - 0x6c]
shr eax, 8
mov dword [ebp - 0x18], edx
mov byte [esi + 1], al
mov eax, ecx
mov byte [esi], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 2], al
mov byte [esi + 3], cl
mov ecx, dword [ebp - 0x5c]
mov eax, ecx
mov byte [esi + 4], cl
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, ebx
shr eax, 8
mov byte [esi + 9], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xa], al
mov eax, edx
shr eax, 8
mov byte [esi + 0xd], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0xe], al
lea eax, [ebp - 0x24]
mov byte [esi + 8], bl
mov byte [esi + 0xc], dl
shr ecx, 0x18
shr edx, 0x18
push 0x20
shr ebx, 0x18
push eax
mov byte [esi + 7], cl
mov byte [esi + 0xb], bl
mov byte [esi + 0xf], dl
call fcn.0041ac10
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.00423606
mov esp, ebp
pop ebp
ret