Function at 0x41d42c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea esi, [ecx + 0x124]
mov dword [ebp - 8], edx
lea edi, [ebp - 0x3c]
xorps xmm0, xmm0
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x3c]
push ecx
mov ecx, edx
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041c693
mov ebx, dword [ebp + 8]
pop ecx
test ebx, ebx
je 0x41d514
mov edx, dword [ebp - 8]
test edx, edx
je 0x41d514
mov ecx, ebx
shr ebx, 4
and ecx, 0xf
mov dword [ebp - 0xc], ecx
test ebx, ebx
je 0x41d4cc
mov esi, edx
lea edi, [ebp - 0x2c]
lea edx, [ebp - 0x2c]
push ecx
mov ecx, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041c693
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x3c]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
xor dword [ebp - 0x10], eax
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0041d2e9
mov edx, dword [ebp - 8]
add edx, 0x10
mov dword [ebp - 8], edx
sub ebx, 1
jne 0x41d483
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x41d514
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
push ecx
push edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042c810
pop ecx
pop ecx
lea edx, [ebp - 0x2c]
mov ecx, edx
call fcn.0041c693
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x3c]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
xor dword [ebp - 0x10], eax
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0041d2e9
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x41d5d1
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x41d5d1
mov eax, ebx
mov ecx, ebx
and ecx, 0xf
shr eax, 4
mov dword [ebp - 8], ecx
test eax, eax
je 0x41d589
mov ebx, eax
mov esi, edx
lea edi, [ebp - 0x2c]
lea edx, [ebp - 0x2c]
push ecx
mov ecx, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041c693
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x3c]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
xor dword [ebp - 0x10], eax
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0041d2e9
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp + 0xc], edx
sub ebx, 1
jne 0x41d53d
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x41d5d1
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
push ecx
push edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042c810
pop ecx
pop ecx
lea edx, [ebp - 0x2c]
mov ecx, edx
call fcn.0041c693
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x3c]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
xor dword [ebp - 0x10], eax
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0041d2e9
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, ecx
shld eax, edx, 3
shld ecx, ebx, 3
xor dword [ebp - 0x18], eax
xor dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x1c]
shl edx, 3
xor dword [ebp - 0x1c], edx
lea edx, [ebp - 0x3c]
shl ebx, 3
xor dword [ebp - 0x14], ebx
call fcn.0041d2e9
lea edx, [ebp - 0x1c]
push ecx
mov ecx, edx
call fcn.0041c693
pop ecx
push dword [ebp + 0x18]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x14]
call fcn.0042c810
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret