Function at 0x41f970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x49611c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 4]
lea eax, [ecx + eax*4]
mov ecx, dword [ecx]
push ebx
mov ebx, dword [eax + 8]
xor ebx, dword [edx]
push esi
mov esi, dword [eax + 0xc]
xor esi, dword [edx + 4]
mov dword [ebp - 0x30], ebx
mov ebx, dword [eax + 0x14]
xor ebx, dword [edx + 0xc]
push edi
mov edi, dword [eax + 0x10]
add eax, 0x18
xor edi, dword [edx + 8]
sar ecx, 1
dec ecx
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x44], ecx
test ecx, ecx
jle 0x41fbe7
nop dword [eax + eax]
mov ecx, edx
shr ecx, 8
movzx edx, cl
mov ecx, edi
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x49b5f0]
xor edx, dword [ecx*4 + 0x49c5f0]
mov ecx, esi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x49a8f0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x49b9f0]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x40], edx
mov edx, edi
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x49c5f0]
mov ecx, dword [ebp - 0x30]
xor ebx, dword [edx*4 + 0x49a8f0]
shr ecx, 8
movzx ecx, cl
mov edx, dword [ebp - 0x38]
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x49b5f0]
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
mov edx, dword [edx*4 + 0x49a8f0]
xor ebx, dword [ecx*4 + 0x49b9f0]
xor ebx, dword [eax + 4]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x34]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shr ebx, 0x10
xor edx, dword [ecx*4 + 0x49b5f0]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x49c5f0]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x49b9f0]
xor edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
mov dword [ebp - 0x48], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x49b5f0]
xor ebx, dword [ecx*4 + 0x49c5f0]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x49a8f0]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x49b9f0]
xor ebx, dword [eax + 0xc]
mov ecx, ebx
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x48]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x49b5f0]
xor edx, dword [ecx*4 + 0x49c5f0]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x49a8f0]
mov ecx, dword [ebp - 0x40]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x49b9f0]
mov ecx, ebx
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov dword [ebp - 0x30], edx
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x49c5f0]
mov edx, dword [ebp - 0x48]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x49a8f0]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x49b5f0]
mov ecx, dword [ebp - 0x3c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x49b9f0]
xor edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], edx
mov edx, ebx
shr ecx, 8
movzx ecx, cl
shr edx, 0x18
mov esi, dword [ebp - 0x34]
mov edx, dword [edx*4 + 0x49a8f0]
xor edx, dword [ecx*4 + 0x49b5f0]
mov ecx, dword [ebp - 0x40]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x49c5f0]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x2c]
movzx ecx, dl
shr edx, 8
movzx edx, dl
xor edi, dword [ecx*4 + 0x49b9f0]
mov ecx, edi
mov dword [ebp - 0x2c], edi
xor ecx, dword [eax + 0x18]
mov edx, dword [edx*4 + 0x49b5f0]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
mov edi, dword [ebp - 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x49c5f0]
mov ecx, dword [ebp - 0x40]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x49a8f0]
movzx ecx, bl
mov ebx, dword [ebp - 0x30]
xor edx, dword [ecx*4 + 0x49b9f0]
mov ecx, dword [ebp - 0x44]
xor edx, dword [eax + 0x1c]
dec ecx
add eax, 0x20
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x44], ecx
test ecx, ecx
jg 0x41f9d0
mov ecx, edx
mov esi, dword [ebp - 0x30]
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x49b5f0]
xor edx, dword [ecx*4 + 0x49c5f0]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x49a8f0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x49b9f0]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ecx*4 + 0x49c5f0]
mov ecx, esi
shr ecx, 8
movzx ecx, cl
shr edx, 0x18
xor ebx, dword [edx*4 + 0x49a8f0]
xor ebx, dword [ecx*4 + 0x49b5f0]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
movzx ecx, cl
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x49b9f0]
mov edx, dword [edx*4 + 0x49a8f0]
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [eax + 4]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x14], ebx
xor edx, dword [ecx*4 + 0x49b5f0]
mov ecx, esi
shr ecx, 0x10
movzx ecx, cl
shr esi, 0x18
xor edx, dword [ecx*4 + 0x49c5f0]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x49b9f0]
xor edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], edx
movzx edx, cl
mov ecx, dword [ebp - 0x34]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x49b5f0]
xor edx, dword [ecx*4 + 0x49c5f0]
mov ecx, dword [ebp - 0x38]
xor edx, dword [esi*4 + 0x49a8f0]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x49b9f0]
mov ecx, ebx
xor edx, dword [eax + 0xc]
shr ecx, 0x18
mov dword [ebp - 0x44], edx
mov dword [ebp - 0xc], edx
movzx ebx, byte [ecx + 0x49acf0]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x49acf0]
xor ebx, ecx
mov ecx, edx
shl ebx, 8
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x49acf0]
xor ebx, ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x49acf0]
xor ebx, ecx
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
xor ebx, dword [eax + 0x10]
mov dword [ebp - 0x28], ebx
movzx edi, byte [ecx + 0x49acf0]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x49acf0]
xor edi, ecx
mov ecx, dword [ebp - 0x40]
shr ecx, 8
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x49acf0]
xor edi, ecx
mov ecx, dword [ebp - 0x3c]
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x49acf0]
xor edi, ecx
mov ecx, edx
mov edx, dword [ebp - 0x40]
shr ecx, 0x18
xor edi, dword [eax + 0x14]
mov dword [ebp - 0x24], edi
movzx esi, byte [ecx + 0x49acf0]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
shl esi, 8
shr edx, 0x18
movzx ecx, byte [ecx + 0x49acf0]
xor esi, ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 8
movzx ecx, cl
movzx edx, byte [edx + 0x49acf0]
shl esi, 8
shl edx, 8
movzx ecx, byte [ecx + 0x49acf0]
xor esi, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x49acf0]
xor esi, ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
xor esi, dword [eax + 0x18]
movzx ecx, cl
mov dword [ebp - 0x20], esi
movzx ecx, byte [ecx + 0x49acf0]
xor edx, ecx
mov ecx, dword [ebp - 0x30]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x49acf0]
xor edx, ecx
mov ecx, dword [ebp - 0x44]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x49acf0]
xor edx, ecx
mov ecx, 0x20
xor edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], edx
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x28]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41fe40
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448a58
mov esp, ebp
pop ebp
ret