Function at 0x4ef380
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push 0x78
mov dword [esp + 0x18], ecx
call fcn.004edb80
mov esi, dword [esp + 0x30]
mov ebp, eax
mov eax, 0x571722
mov dword [esp + 0x24], ebp
sub eax, ebp
mov dword [esp + 0x14], 0xe
mov dword [esp + 0x1c], eax
mov edi, 0x571720
mov ebx, 0x571721
sub edi, ebp
sub ebx, ebp
mov eax, 0x571723
add esp, 4
mov edx, ebp
sub eax, ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
movzx ecx, byte [edi + edx]
lea edx, [edx + 4]
dec ecx
mov eax, ecx
and ecx, 7
sar eax, 3
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x571798], al
movzx ecx, byte [ebx + 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 + 0x571798], al
movzx ecx, byte [edx + ebp - 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 + 0x571798], al
setne al
mov byte [edx - 2], al
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + edx - 4]
dec ecx
mov eax, ecx
and ecx, 7
sar eax, 3
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x571798], al
setne al
dec dword [esp + 0x10]
mov byte [edx - 1], al
jne 0x4ef3d1
mov ebp, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x4ef470
movzx esi, byte [ebx + 0x571758]
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 0x4ef490
mov ebx, dword [esp + 0x10]
xor ecx, ecx
jmp 0x4ef4c0
movzx eax, byte [ecx + 0x571768]
cmp byte [eax + ebp + 0x37], 0
je 0x4ef4f1
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 + 0x571798]
sar eax, 2
or byte [esi + 0x70], al
inc ecx
cmp ecx, 0x30
jl 0x4ef4c0
movzx ecx, byte [ebp + 0x70]
movzx eax, byte [ebp + 0x72]
mov edx, dword [esp + 0x14]
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 + 0x10], ebx
cmp ebx, 0x10
jl 0x4ef470
cmp dword [esp + 0x28], 1
jne 0x4ef5b1
xor ebx, ebx
mov edi, 0x7c
jmp 0x4ef570
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 + 0x14]
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 + 0x14]
mov dword [esi], ecx
cmp edi, 0x3c
jg 0x4ef570
xor al, al
mov edi, ebp
mov ecx, 0x78
rep stosb byte es:[edi], al
push ebp
call fcn.00443e80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8