Function at 0x493810
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push 0x78
mov dword [esp + 0x14], ecx
call fcn.0045f290
push 0x78
call fcn.00462360
mov ebp, eax
mov dword [esp + 0x1c], 0xe
mov esi, str.91__
mov dword [esp + 0x28], ebp
sub esi, ebp
mov edi, 0x712291
mov ebx, 0x712292
mov dword [esp + 0x24], esi
sub edi, ebp
sub ebx, ebp
mov eax, 0x712293
add esp, 8
sub eax, ebp
mov edx, ebp
mov ebp, eax
mov edi, edi
movzx ecx, byte [esi + edx]
lea edx, [edx + 4]
mov esi, dword [esp + 0x2c]
dec ecx
mov eax, ecx
and ecx, 7
sar eax, 3
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x712230], al
movzx ecx, byte [edi + edx - 4]
setne al
dec ecx
mov byte [edx - 4], al
mov eax, ecx
sar eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x712230], al
movzx ecx, byte [ebx + edx - 4]
setne al
dec ecx
mov byte [edx - 3], al
mov eax, ecx
sar eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x712230], al
movzx ecx, byte [edx + ebp - 4]
setne al
dec ecx
mov byte [edx - 2], al
mov eax, ecx
sar eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x712230], al
mov esi, dword [esp + 0x1c]
setne al
dec dword [esp + 0x14]
mov byte [edx - 1], al
jne 0x493860
mov ebp, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
lea ebx, [ebx]
movzx esi, byte [ebx + 0x712280]
xorps xmm0, xmm0
movq qword [ebp + 0x70], xmm0
xor edx, edx
mov ebx, 0x1c
lea edi, [esi - 0x1c]
lea esp, [esp]
cmp edx, ebx
mov ecx, 0x38
mov eax, edi
cmovl ecx, ebx
cmp esi, ecx
cmovl eax, esi
inc esi
inc edi
mov al, byte [eax + ebp]
mov byte [edx + ebp + 0x38], al
inc edx
cmp edx, 0x38
jl 0x493920
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
jmp 0x493950
movzx eax, byte [ecx + 0x712250]
cmp byte [eax + ebp + 0x37], 0
je 0x493981
mov eax, 0xaaaaaaab
mul ecx
mov eax, ecx
shr edx, 2
lea esi, [edx + ebp]
lea edx, [edx + edx*2]
add edx, edx
sub eax, edx
mov eax, dword [eax*4 + 0x712230]
sar eax, 2
or byte [esi + 0x70], al
inc ecx
cmp ecx, 0x30
jl 0x493950
movzx ecx, byte [ebp + 0x70]
movzx eax, byte [ebp + 0x72]
mov edx, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x74]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x76]
shl ecx, 8
or ecx, eax
mov eax, dword [edx + 0x8c]
mov dword [eax + ebx*8], ecx
movzx ecx, byte [ebp + 0x71]
movzx eax, byte [ebp + 0x73]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x75]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x77]
shl ecx, 8
or ecx, eax
mov eax, dword [edx + 0x8c]
mov dword [eax + ebx*8 + 4], ecx
inc ebx
mov dword [esp + 0x2c], ebx
cmp ebx, 0x10
jl 0x493900
cmp dword [esp + 0x28], 1
jne 0x493a41
xor ebx, ebx
mov edi, 0x7c
jmp 0x493a00
mov eax, dword [edx + 0x8c]
mov ecx, dword [eax + ebx]
lea edx, [eax + ebx]
lea esi, [eax + edi]
mov eax, dword [esi - 4]
mov dword [edx], eax
mov dword [esi - 4], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x8c]
mov ecx, dword [eax + ebx + 4]
lea edx, [eax + ebx]
lea esi, [eax + edi]
sub edi, 8
mov eax, dword [esi]
lea ebx, [ebx + 8]
mov dword [edx + 4], eax
mov edx, dword [esp + 0x10]
mov dword [esi], ecx
cmp edi, 0x3c
jg 0x493a00
xor al, al
mov edi, ebp
mov ecx, 0x78
rep stosb byte es:[edi], al
push ebp
call fcn.0065cb97
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8