Function at 0x401c70
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x30
mov dword [ebp - 0xe8], eax
mov edi, ecx
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.0049b560
xorps xmm0, xmm0
lea eax, [esi + esi*2]
add eax, eax
add esp, 0xc
movups xmmword [ebp - 0x108], xmm0
movups xmmword [ebp - 0xf8], xmm0
push 0x30
movups xmm0, xmmword [edi + eax*8]
push 0
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [edi + eax*8 + 0x10]
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [edi + eax*8 + 0x20]
lea eax, [ebp - 0x38]
push eax
movups xmmword [ebp - 0x4c], xmm0
call fcn.0049b560
add esp, 0xc
xor eax, eax
nop dword [eax]
mov ecx, dword [eax*4 + 0x4d90b8]
movzx ecx, byte [ecx + ebx - 1]
mov byte [ebp + eax - 0x38], cl
mov ecx, dword [eax*4 + 0x4d90bc]
movzx ecx, byte [ecx + ebx - 1]
mov byte [ebp + eax - 0x37], cl
mov ecx, dword [eax*4 + 0x4d90c0]
movzx ecx, byte [ecx + ebx - 1]
mov byte [ebp + eax - 0x36], cl
mov ecx, dword [eax*4 + 0x4d90c4]
movzx ecx, byte [ecx + ebx - 1]
mov byte [ebp + eax - 0x35], cl
mov ecx, dword [eax*4 + 0x4d90c8]
movzx ecx, byte [ecx + ebx - 1]
mov byte [ebp + eax - 0x34], cl
mov ecx, dword [eax*4 + 0x4d90cc]
movzx ecx, byte [ecx + ebx - 1]
mov byte [ebp + eax - 0x33], cl
add eax, 6
cmp eax, 0x30
jl 0x401cf0
movups xmm0, xmmword [ebp - 0x38]
lea eax, [ebp - 0xcc]
push eax
movups xmmword [ebp - 0x9c], xmm0
push 0x30
movups xmm0, xmmword [ebp - 0x28]
lea eax, [ebp - 0x6c]
push eax
movups xmmword [ebp - 0x8c], xmm0
lea eax, [ebp - 0x9c]
movups xmm0, xmmword [ebp - 0x18]
push eax
movups xmmword [ebp - 0x7c], xmm0
call fcn.004020c0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00402170
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x54]
call fcn.00402940
mov edi, dword [ebp - 0x40]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x54]
xor edx, edx
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
nop dword [eax]
nop dword [eax + eax]
movsx eax, byte [edx + 0x4d9a78]
lea ecx, [ebp - 0x54]
cmp edi, 0x10
cmovae ecx, esi
movzx eax, byte [eax + ecx - 1]
lea ecx, [ebp - 0x54]
mov byte [ebp + edx - 0x28], al
cmovae ecx, esi
movsx eax, byte [edx + 0x4d9a79]
movzx eax, byte [eax + ecx - 1]
lea ecx, [ebp - 0x54]
mov byte [ebp + edx - 0x27], al
cmovae ecx, esi
movsx eax, byte [edx + 0x4d9a7a]
movzx eax, byte [eax + ecx - 1]
lea ecx, [ebp - 0x54]
mov byte [ebp + edx - 0x26], al
cmovae ecx, esi
movsx eax, byte [edx + 0x4d9a7b]
movzx eax, byte [eax + ecx - 1]
mov byte [ebp + edx - 0x25], al
add edx, 4
cmp edx, 0x20
jl 0x401dd0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ebp - 0x4c], xmm0
cmp edi, 0x10
jb 0x401e71
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x401e67
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401ef6
push edi
push esi
call fcn.0049789c
add esp, 8
mov esi, dword [ebp - 0xe8]
lea eax, [ebp - 0x108]
push eax
push 0x20
push esi
lea eax, [ebp - 0x5c]
push eax
call fcn.004020c0
movups xmm0, xmmword [ebx]
mov edx, dword [ebp - 0xd0]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x108]
movups xmmword [ebx], xmm0
movups xmm0, xmmword [ebp - 0xf8]
movups xmmword [ebx + 0x10], xmm0
cmp edx, 0x10
jb 0x401ee3
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401ed9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401ef6
push edx
push ecx
call fcn.0049789c
add esp, 8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049765c
mov esp, ebp
pop ebp
ret 0xc
call fcn.0049e530
int3