Function at 0x410770
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x24
mov eax, dword [0x447648]
push ebx
mov dword [esp + 0x24], eax
push ebp
xor eax, eax
push esi
mov dword [esp + 0x1c], eax
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 5
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 3
mov ebx, 2
mov esi, 1
movzx eax, byte [esi + 0x440ec7]
mov edi, dword [esp + 0x38]
add eax, 0x1f
mov edx, eax
shr edx, 3
mov dl, byte [edx + edi]
and eax, 7
test byte [eax + 0x440f60], dl
je 0x4107ee
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ebp, 6
div ebp
mov ebp, edx
mov dl, byte [ebp + 0x440f60]
or byte [esp + eax + 0x20], dl
lea eax, [esp + eax + 0x20]
movzx eax, byte [esi + 0x440ec8]
add eax, 0x1f
mov edx, eax
shr edx, 3
mov dl, byte [edx + edi]
and eax, 7
test byte [eax + 0x440f60], dl
je 0x410826
xor edx, edx
mov ebp, 6
mov eax, esi
div ebp
mov ebp, edx
mov dl, byte [ebp + 0x440f60]
or byte [esp + eax + 0x20], dl
lea eax, [esp + eax + 0x20]
movzx eax, byte [ebx + 0x440ec8]
add eax, 0x1f
mov edx, eax
shr edx, 3
mov dl, byte [edx + edi]
and eax, 7
test byte [eax + 0x440f60], dl
je 0x41085e
xor edx, edx
mov ebp, 6
mov eax, ebx
div ebp
mov ebp, edx
mov dl, byte [ebp + 0x440f60]
or byte [esp + eax + 0x20], dl
lea eax, [esp + eax + 0x20]
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0x440ec8]
add eax, 0x1f
mov edx, eax
shr edx, 3
mov dl, byte [edx + edi]
and eax, 7
test byte [eax + 0x440f60], dl
je 0x41089c
mov eax, dword [esp + 0x14]
xor edx, edx
mov ebp, 6
div ebp
mov ebp, edx
mov dl, byte [ebp + 0x440f60]
or byte [esp + eax + 0x20], dl
lea eax, [esp + eax + 0x20]
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0x440ec8]
add eax, 0x1f
mov edx, eax
shr edx, 3
mov dl, byte [edx + edi]
and eax, 7
test byte [eax + 0x440f60], dl
je 0x4108da
mov eax, dword [esp + 0x18]
xor edx, edx
mov ebp, 6
div ebp
mov ebp, edx
mov dl, byte [ebp + 0x440f60]
or byte [esp + eax + 0x20], dl
lea eax, [esp + eax + 0x20]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x440ec8]
add eax, 0x1f
mov edx, eax
shr edx, 3
mov dl, byte [edx + edi]
and eax, 7
test byte [eax + 0x440f60], dl
je 0x410918
mov eax, dword [esp + 0x10]
xor edx, edx
mov edi, 6
div edi
mov edi, edx
mov dl, byte [edi + 0x440f60]
or byte [esp + eax + 0x20], dl
lea eax, [esp + eax + 0x20]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, 6
add ebp, eax
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
add esi, eax
add ebp, eax
add edi, eax
add edx, eax
add ebx, eax
cmp esi, 0x31
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edx
jb 0x4107b0
mov dl, byte [ecx]
mov bl, byte [ecx + 1]
mov al, byte [esp + 0x20]
xor al, dl
mov dl, byte [esp + 0x21]
xor dl, bl
mov bl, byte [ecx + 2]
xor byte [esp + 0x22], bl
mov bl, byte [ecx + 3]
xor byte [esp + 0x23], bl
mov bl, byte [ecx + 4]
xor byte [esp + 0x24], bl
mov bl, byte [ecx + 5]
xor byte [esp + 0x25], bl
mov bl, byte [ecx + 6]
xor byte [esp + 0x26], bl
mov bl, byte [esp + 0x27]
xor bl, byte [ecx + 7]
movzx eax, al
xor ecx, ecx
mov dword [esp + 0x28], ecx
shr eax, 2
mov al, byte [eax + 0x440c98]
mov dword [esp + 0x2c], ecx
movzx ecx, dl
shl al, 4
shr ecx, 2
mov dl, byte [ecx + 0x440cd8]
movzx ecx, byte [esp + 0x23]
add al, dl
movzx edx, byte [esp + 0x22]
shr edx, 2
mov byte [esp + 0x28], al
mov al, byte [edx + 0x440d18]
shl al, 4
shr ecx, 2
mov dl, byte [ecx + 0x440d58]
movzx ecx, byte [esp + 0x25]
add al, dl
movzx edx, byte [esp + 0x24]
shr edx, 2
mov byte [esp + 0x29], al
mov al, byte [edx + 0x440d98]
shl al, 4
shr ecx, 2
add al, byte [ecx + 0x440dd8]
movzx edx, byte [esp + 0x26]
shr edx, 2
mov byte [esp + 0x2a], al
mov al, byte [edx + 0x440e18]
movzx ecx, bl
shr ecx, 2
mov dl, byte [ecx + 0x440e58]
shl al, 4
add al, dl
xor edx, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x2b], al
mov dword [esp + 0x24], edx
xor ebp, ebp
mov edi, 3
mov esi, 2
mov eax, 1
mov edi, edi
movzx ecx, byte [eax + 0x440ef7]
dec ecx
mov edx, ecx
shr edx, 3
mov dl, byte [esp + edx + 0x28]
and ecx, 7
test byte [ecx + 0x440f60], dl
je 0x410a78
mov ecx, ebp
shr ecx, 3
mov bl, byte [esp + ecx + 0x20]
mov edx, ebp
lea ecx, [esp + ecx + 0x20]
and edx, 7
mov dl, byte [edx + 0x440f60]
or bl, dl
mov byte [ecx], bl
movzx ecx, byte [eax + 0x440ef8]
dec ecx
mov edx, ecx
shr edx, 3
mov dl, byte [esp + edx + 0x28]
and ecx, 7
test byte [ecx + 0x440f60], dl
je 0x410ab0
mov ecx, eax
shr ecx, 3
mov bl, byte [esp + ecx + 0x20]
mov edx, eax
lea ecx, [esp + ecx + 0x20]
and edx, 7
mov dl, byte [edx + 0x440f60]
or bl, dl
mov byte [ecx], bl
movzx ecx, byte [esi + 0x440ef8]
dec ecx
mov edx, ecx
shr edx, 3
mov dl, byte [esp + edx + 0x28]
and ecx, 7
test byte [ecx + 0x440f60], dl
je 0x410ae8
mov ecx, esi
shr ecx, 3
mov bl, byte [esp + ecx + 0x20]
mov edx, esi
lea ecx, [esp + ecx + 0x20]
and edx, 7
mov dl, byte [edx + 0x440f60]
or bl, dl
mov byte [ecx], bl
movzx ecx, byte [edi + 0x440ef8]
dec ecx
mov edx, ecx
shr edx, 3
mov dl, byte [esp + edx + 0x28]
and ecx, 7
test byte [ecx + 0x440f60], dl
je 0x410b20
mov ecx, edi
shr ecx, 3
mov bl, byte [esp + ecx + 0x20]
mov edx, edi
lea ecx, [esp + ecx + 0x20]
and edx, 7
mov dl, byte [edx + 0x440f60]
or bl, dl
mov byte [ecx], bl
add eax, 4
add ebp, 4
add esi, 4
add edi, 4
cmp eax, 0x21
jb 0x410a40
mov eax, dword [esp + 0x38]
mov cl, byte [esp + 0x20]
mov dl, byte [eax]
mov bl, byte [eax + 1]
xor dl, cl
mov cl, byte [esp + 0x22]
mov byte [eax], dl
mov dl, byte [esp + 0x21]
xor bl, dl
mov dl, byte [eax + 2]
xor dl, cl
mov cl, byte [eax + 3]
pop edi
mov byte [eax + 2], dl
mov dl, byte [esp + 0x1f]
xor cl, dl
pop esi
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x28]
pop ebp
mov byte [eax + 1], bl
pop ebx
call fcn.0042b7bd
add esp, 0x24
ret 4