Function at 0x41e3a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x451a14]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
mov ebp, ecx
xor eax, eax
push esi
mov esi, dword [esp + 0x40]
mov ecx, 8
push edi
mov ebx, dword [ebp + 4]
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
sub ebx, 6
mov dword [esp + 0x10], ebp
xor edi, edi
mov dword [esp + 0x14], ebx
xor esi, esi
test ebx, ebx
jle 0x41e438
jmp 0x41e3e0
cmp edi, dword [ebp + 4]
jg 0x41e5f5
cmp esi, ebx
jge 0x41e42c
lea ecx, [ecx]
cmp eax, 4
jge 0x41e42f
movzx ecx, byte [esp + esi*4 + 0x1c]
lea edx, [eax + edi*4]
mov byte [ebp + edx*4 + 0x18], cl
lea ecx, [eax + edi*4]
lea edx, [ecx*4]
inc eax
movzx ecx, byte [esp + esi*4 + 0x1d]
mov byte [edx + ebp + 0x19], cl
movzx ecx, byte [esp + esi*4 + 0x1e]
mov byte [edx + ebp + 0x1a], cl
movzx ecx, byte [esp + esi*4 + 0x1f]
inc esi
mov byte [edx + ebp + 0x1b], cl
cmp esi, ebx
jl 0x41e3f0
cmp eax, 4
jne 0x41e434
inc edi
xor eax, eax
cmp esi, ebx
jl 0x41e3e0
cmp edi, dword [ebp + 4]
jg 0x41e5f5
mov esi, 0x460560
jmp 0x41e450
movzx ecx, byte [esp + ebx*4 + 0x19]
mov dl, byte [esp + 0x1c]
xor dl, byte [ecx + 0x460360]
mov byte [esp + 0x1c], dl
movzx ecx, byte [esp + ebx*4 + 0x1a]
movzx ecx, byte [ecx + 0x460360]
xor byte [esp + 0x1d], cl
movzx ecx, byte [esp + ebx*4 + 0x1b]
movzx ecx, byte [ecx + 0x460360]
xor byte [esp + 0x1e], cl
movzx ecx, byte [esp + ebx*4 + 0x18]
movzx ecx, byte [ecx + 0x460360]
xor byte [esp + 0x1f], cl
movzx ecx, byte [esi]
inc esi
xor byte [esp + 0x1c], cl
mov dword [esp + 0x18], esi
cmp ebx, 8
je 0x41e4e0
cmp ebx, 1
jle 0x41e587
lea esi, [esp + 0x1d]
lea ebp, [ebx - 1]
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor byte [esi - 1], cl
movzx ecx, byte [esi - 4]
xor byte [esi], cl
movzx ecx, byte [esi - 3]
xor byte [esi + 1], cl
movzx ecx, byte [esi - 2]
xor byte [esi + 2], cl
sub ebp, 1
jne 0x41e4b4
mov ebp, dword [esp + 0x10]
jmp 0x41e587
lea esi, [esp + 0x1d]
mov ebp, 3
lea esp, [esp]
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor byte [esi - 1], cl
movzx ecx, byte [esi - 4]
xor byte [esi], cl
movzx ecx, byte [esi - 3]
xor byte [esi + 1], cl
movzx ecx, byte [esi - 2]
xor byte [esi + 2], cl
sub ebp, 1
jne 0x41e4f0
movzx ecx, byte [esp + 0x28]
lea ebx, [ebp + 3]
mov ebp, dword [esp + 0x10]
lea esi, [esp + 0x2d]
movzx ecx, byte [ecx + 0x460360]
xor byte [esp + 0x2c], cl
movzx ecx, byte [esp + 0x29]
movzx ecx, byte [ecx + 0x460360]
xor byte [esp + 0x2d], cl
movzx ecx, byte [esp + 0x2a]
movzx ecx, byte [ecx + 0x460360]
xor byte [esp + 0x2e], cl
movzx ecx, byte [esp + 0x2b]
movzx ecx, byte [ecx + 0x460360]
xor byte [esp + 0x2f], cl
mov edi, edi
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor byte [esi - 1], cl
movzx ecx, byte [esi - 4]
xor byte [esi], cl
movzx ecx, byte [esi - 3]
xor byte [esi + 1], cl
movzx ecx, byte [esi - 2]
xor byte [esi + 2], cl
sub ebx, 1
jne 0x41e560
mov ebx, dword [esp + 0x14]
xor esi, esi
test ebx, ebx
jle 0x41e5e8
lea ecx, [ecx]
cmp edi, dword [ebp + 4]
jg 0x41e5eb
cmp esi, ebx
jge 0x41e5dc
lea esp, [esp]
cmp eax, 4
jge 0x41e5df
movzx ecx, byte [esp + esi*4 + 0x1c]
lea edx, [eax + edi*4]
mov byte [ebp + edx*4 + 0x18], cl
lea ecx, [eax + edi*4]
lea edx, [ecx*4]
inc eax
movzx ecx, byte [esp + esi*4 + 0x1d]
mov byte [edx + ebp + 0x19], cl
movzx ecx, byte [esp + esi*4 + 0x1e]
mov byte [edx + ebp + 0x1a], cl
movzx ecx, byte [esp + esi*4 + 0x1f]
inc esi
mov byte [edx + ebp + 0x1b], cl
cmp esi, ebx
jl 0x41e5a0
cmp eax, 4
jne 0x41e5e4
inc edi
xor eax, eax
cmp esi, ebx
jl 0x41e590
cmp edi, dword [ebp + 4]
mov esi, dword [esp + 0x18]
jle 0x41e450
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042f943
add esp, 0x30
ret 4