Function at 0x412d80
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
xor eax, eax
jmp 0x412d90
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
mov cl, al
and cl, 7
sar dl, cl
and dl, 1
mov byte [eax + 0x44d7b8], dl
inc eax
cmp eax, 0x40
jl 0x412d90
xor eax, eax
movsx ecx, byte [eax + 0x437d48]
mov dl, byte [ecx + 0x44d7b7]
movsx ecx, byte [eax + 0x437d49]
mov byte [eax + 0x44cbe0], dl
mov dl, byte [ecx + 0x44d7b7]
movsx ecx, byte [eax + 0x437d4a]
mov byte [eax + 0x44cbe1], dl
mov dl, byte [ecx + 0x44d7b7]
movsx ecx, byte [eax + 0x437d4b]
mov byte [eax + 0x44cbe2], dl
mov dl, byte [ecx + 0x44d7b7]
mov byte [eax + 0x44cbe3], dl
add eax, 4
cmp eax, 0x40
jl 0x412db0
mov al, byte [esp + 0x24]
test al, al
mov ebx, dword [esp + 0x20]
mov edx, 0x10
mov ecx, edx
mov esi, 0x44cbe0
mov edi, 0x44d7b8
rep movsd dword es:[edi], dword [esi]
jne 0x412eb8
mov eax, dword [0x449cb4]
mov ebp, dword [0x449cb0]
sub eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
lea esp, [esp]
push ebx
mov ecx, 8
mov esi, ebp
mov edi, 0x44d798
push ebp
rep movsd dword es:[edi], dword [esi]
call fcn.00412bf0
mov ecx, dword [0x449cb4]
add esp, 8
add ecx, 2
mov eax, ebp
mov esi, 8
jmp 0x412e70
mov edx, dword [esp + 0x10]
mov dl, byte [edx + eax]
xor byte [eax], dl
mov dl, byte [ecx - 1]
xor byte [eax + 1], dl
mov dl, byte [ecx]
xor byte [eax + 2], dl
mov dl, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
dec esi
jne 0x412e70
mov eax, dword [esp + 0x24]
mov edi, dword [0x449cb4]
add ebx, 0x30
mov ecx, 8
mov esi, 0x44d798
dec eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], eax
jne 0x412e40
jmp 0x412f43
mov eax, dword [0x449cb0]
mov ebp, dword [0x449cb4]
sub eax, ebp
mov dword [esp + 0x10], eax
add ebx, 0x2d0
mov dword [esp + 0x24], edx
push ebx
mov ecx, 8
mov esi, ebp
mov edi, 0x44d798
push ebp
rep movsd dword es:[edi], dword [esi]
call fcn.00412bf0
mov ecx, dword [0x449cb0]
add esp, 8
add ecx, 2
mov eax, ebp
mov esi, 8
jmp 0x412f00
mov edx, dword [esp + 0x10]
mov dl, byte [edx + eax]
xor byte [eax], dl
mov dl, byte [ecx - 1]
xor byte [eax + 1], dl
mov dl, byte [ecx]
xor byte [eax + 2], dl
mov dl, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
dec esi
jne 0x412f00
mov eax, dword [esp + 0x24]
mov edi, dword [0x449cb0]
sub ebx, 0x30
mov ecx, 8
mov esi, 0x44d798
dec eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], eax
jne 0x412ed3
xor eax, eax
jmp 0x412f50
movsx ecx, byte [eax + 0x437d88]
mov dl, byte [ecx + 0x44d7b7]
movsx ecx, byte [eax + 0x437d89]
mov byte [eax + 0x44cbe0], dl
mov dl, byte [ecx + 0x44d7b7]
movsx ecx, byte [eax + 0x437d8a]
mov byte [eax + 0x44cbe1], dl
mov dl, byte [ecx + 0x44d7b7]
movsx ecx, byte [eax + 0x437d8b]
mov byte [eax + 0x44cbe2], dl
mov dl, byte [ecx + 0x44d7b7]
mov byte [eax + 0x44cbe3], dl
add eax, 4
cmp eax, 0x40
jl 0x412f50
mov ebp, dword [esp + 0x18]
mov ecx, 0x10
mov esi, 0x44cbe0
mov edi, 0x44d7b8
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
xor edx, edx
mov edi, 3
mov esi, 2
mov eax, 1
mov bl, byte [eax + 0x44d7b7]
mov ecx, edx
sar ecx, 3
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, edx
and ecx, 7
shl bl, cl
mov ecx, dword [esp + 0x24]
add edx, 4
or byte [ecx], bl
mov bl, byte [eax + 0x44d7b8]
mov ecx, eax
sar ecx, 3
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, eax
and ecx, 7
shl bl, cl
mov ecx, dword [esp + 0x24]
add eax, 4
or byte [ecx], bl
mov bl, byte [esi + 0x44d7b8]
mov ecx, esi
sar ecx, 3
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, esi
and ecx, 7
shl bl, cl
mov ecx, dword [esp + 0x24]
add esi, 4
or byte [ecx], bl
mov bl, byte [edi + 0x44d7b8]
mov ecx, edi
sar ecx, 3
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, edi
and ecx, 7
shl bl, cl
mov ecx, dword [esp + 0x24]
add edi, 4
or byte [ecx], bl
cmp eax, 0x41
jl 0x412fd3
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret